/* ==========================================================================
   J&V Appliance — styles
   Palette: Italian tricolore, kept refined (deep basil green, Roman red,
   warm marble white) with a touch of flagpole gold.
   Type: Titillium Web (designed at the Accademia di Belle Arti, Urbino,
         Italy) for headings; Atkinson Hyperlegible Next (Braille Institute,
         built for low-vision readers) for body text, prices and phone numbers.
   ========================================================================== */

:root {
  --green-900: #0f2d1e;
  --green-800: #153c28;
  --green-700: #1d4d33;
  --green-600: #2a6544;
  --green-100: #e6efe8;
  --red-700:   #a3241d;
  --red-600:   #bf2f25;
  --red-100:   #f8e6e3;
  --gold:      #c9a24a;
  --marble:    #faf7f1;
  --paper:     #ffffff;
  --stone:     #efe9df;
  --line:      #e3dccf;
  --ink:       #171a17;
  --ink-2:     #4a4f49;
  --ink-3:     #5d625c;

  --f-display: "Titillium Web", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(20,25,20,.05), 0 4px 14px rgba(20,25,20,.06);
  --shadow-2: 0 2px 6px rgba(20,25,20,.06), 0 18px 48px rgba(20,25,20,.12);
  --ease: cubic-bezier(.22,.8,.24,1);
  --header-h: 76px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--marble);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.08; }
p { margin: 0 0 1em; }
em { font-style: italic; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-lg { width: 40px; height: 40px; color: var(--green-700); }

/* ---------- Tricolore rule ---------- */
.tricolore { display: flex; height: 4px; }
.tricolore i { flex: 1; transform-origin: left; }
.tricolore i:nth-child(1) { background: var(--green-600); }
.tricolore i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tricolore i:nth-child(3) { background: var(--red-600); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-green { --bg: var(--green-700); }
.btn-green:hover { --bg: var(--green-800); }
.btn-red { --bg: var(--red-600); }
.btn-red:hover { --bg: var(--red-700); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); --bd: var(--line); }
.btn-light:hover { --bd: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250,247,241,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand-sub { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-600); margin-top: 3px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px;
  font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink-2);
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--stone); }
.nav a.is-current { color: var(--green-700); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px;
  background: linear-gradient(90deg, var(--green-600) 33%, #d9d3c7 33% 66%, var(--red-600) 66%);
  border-radius: 2px;
}
.nav-mobile-call { display: none; }
.header-call { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer;
}
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before { /* soft marble wash */
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(42,101,68,.10), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(191,47,37,.07), transparent 70%);
  pointer-events: none;
}
/* American-Italian texture: Florentine quatrefoil tiles with small stars.
   Kept faint and faded away from the headline so text stays easy to read. */
.hero-texture {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="88" height="88" viewBox="0 0 88 88"%3E%3Cg fill="none" stroke="%231d4d33" stroke-width="1.1"%3E%3Ccircle cx="0" cy="-7" r="7"/%3E%3Ccircle cx="7" cy="0" r="7"/%3E%3Ccircle cx="0" cy="7" r="7"/%3E%3Ccircle cx="-7" cy="0" r="7"/%3E%3Ccircle cx="88" cy="-7" r="7"/%3E%3Ccircle cx="95" cy="0" r="7"/%3E%3Ccircle cx="88" cy="7" r="7"/%3E%3Ccircle cx="81" cy="0" r="7"/%3E%3Ccircle cx="0" cy="81" r="7"/%3E%3Ccircle cx="7" cy="88" r="7"/%3E%3Ccircle cx="0" cy="95" r="7"/%3E%3Ccircle cx="-7" cy="88" r="7"/%3E%3Ccircle cx="88" cy="81" r="7"/%3E%3Ccircle cx="95" cy="88" r="7"/%3E%3Ccircle cx="88" cy="95" r="7"/%3E%3Ccircle cx="81" cy="88" r="7"/%3E%3C/g%3E%3Cpolygon points="44.00,38.50 45.29,42.22 49.23,42.30 46.09,44.68 47.23,48.45 44.00,46.20 40.77,48.45 41.91,44.68 38.77,42.30 42.71,42.22" fill="%23bf2f25"/%3E%3Cg fill="%23c9a24a"%3E%3Ccircle cx="44.0" cy="0" r="1.3"/%3E%3Ccircle cx="0" cy="44.0" r="1.3"/%3E%3Ccircle cx="88" cy="44.0" r="1.3"/%3E%3Ccircle cx="44.0" cy="88" r="1.3"/%3E%3C/g%3E%3C/svg%3E');
  background-size: 88px 88px;
  background-position: center top;
  opacity: .11;
  -webkit-mask-image: radial-gradient(120% 95% at 100% 0%, #000 0%, rgba(0,0,0,.65) 38%, transparent 72%);
          mask-image: radial-gradient(120% 95% at 100% 0%, #000 0%, rgba(0,0,0,.65) 38%, transparent 72%);
}
/* Seasonal: snowflakes replace the stars in the hero texture at Christmas / New Year */
[data-season="christmas"] .hero-texture,
[data-season="winter"] .hero-texture { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="88" height="88" viewBox="0 0 88 88"%3E%3Cpath d="M44.0,44.0L44.0,35.0 M44.0,39.0L42.2,37.0 M44.0,39.0L45.8,37.0 M44.0,44.0L51.8,39.5 M48.3,41.5L49.1,39.0 M48.3,41.5L50.9,42.1 M44.0,44.0L51.8,48.5 M48.3,46.5L50.9,45.9 M48.3,46.5L49.1,49.0 M44.0,44.0L44.0,53.0 M44.0,49.0L45.8,51.0 M44.0,49.0L42.2,51.0 M44.0,44.0L36.2,48.5 M39.7,46.5L38.9,49.0 M39.7,46.5L37.1,45.9 M44.0,44.0L36.2,39.5 M39.7,41.5L37.1,42.1 M39.7,41.5L38.9,39.0 M0.0,0.0L0.0,-6.0 M0.0,-3.3L-1.2,-4.6 M0.0,-3.3L1.2,-4.6 M0.0,0.0L5.2,-3.0 M2.9,-1.6L3.4,-3.4 M2.9,-1.6L4.6,-1.3 M0.0,0.0L5.2,3.0 M2.9,1.6L4.6,1.3 M2.9,1.6L3.4,3.4 M0.0,0.0L0.0,6.0 M0.0,3.3L1.2,4.6 M0.0,3.3L-1.2,4.6 M0.0,0.0L-5.2,3.0 M-2.9,1.6L-3.4,3.4 M-2.9,1.6L-4.6,1.3 M0.0,0.0L-5.2,-3.0 M-2.9,-1.7L-4.6,-1.3 M-2.9,-1.7L-3.4,-3.4 M88.0,0.0L88.0,-6.0 M88.0,-3.3L86.8,-4.6 M88.0,-3.3L89.2,-4.6 M88.0,0.0L93.2,-3.0 M90.9,-1.6L91.4,-3.4 M90.9,-1.6L92.6,-1.3 M88.0,0.0L93.2,3.0 M90.9,1.6L92.6,1.3 M90.9,1.6L91.4,3.4 M88.0,0.0L88.0,6.0 M88.0,3.3L89.2,4.6 M88.0,3.3L86.8,4.6 M88.0,0.0L82.8,3.0 M85.1,1.6L84.6,3.4 M85.1,1.6L83.4,1.3 M88.0,0.0L82.8,-3.0 M85.1,-1.7L83.4,-1.3 M85.1,-1.7L84.6,-3.4 M0.0,88.0L0.0,82.0 M0.0,84.7L-1.2,83.4 M0.0,84.7L1.2,83.4 M0.0,88.0L5.2,85.0 M2.9,86.3L3.4,84.6 M2.9,86.3L4.6,86.7 M0.0,88.0L5.2,91.0 M2.9,89.7L4.6,89.3 M2.9,89.7L3.4,91.4 M0.0,88.0L0.0,94.0 M0.0,91.3L1.2,92.6 M0.0,91.3L-1.2,92.6 M0.0,88.0L-5.2,91.0 M-2.9,89.7L-3.4,91.4 M-2.9,89.7L-4.6,89.3 M0.0,88.0L-5.2,85.0 M-2.9,86.3L-4.6,86.7 M-2.9,86.3L-3.4,84.6 M88.0,88.0L88.0,82.0 M88.0,84.7L86.8,83.4 M88.0,84.7L89.2,83.4 M88.0,88.0L93.2,85.0 M90.9,86.3L91.4,84.6 M90.9,86.3L92.6,86.7 M88.0,88.0L93.2,91.0 M90.9,89.7L92.6,89.3 M90.9,89.7L91.4,91.4 M88.0,88.0L88.0,94.0 M88.0,91.3L89.2,92.6 M88.0,91.3L86.8,92.6 M88.0,88.0L82.8,91.0 M85.1,89.7L84.6,91.4 M85.1,89.7L83.4,89.3 M88.0,88.0L82.8,85.0 M85.1,86.3L83.4,86.7 M85.1,86.3L84.6,84.6" fill="none" stroke="%232f5d8a" stroke-width="1.3" stroke-linecap="round"/%3E%3Cg fill="%232f5d8a"%3E%3Ccircle cx="44.0" cy="2" r="1.4"/%3E%3Ccircle cx="2" cy="44.0" r="1.4"/%3E%3Ccircle cx="86" cy="44.0" r="1.4"/%3E%3Ccircle cx="44.0" cy="86" r="1.4"/%3E%3C/g%3E%3C/svg%3E'); }
/* Seasonal greeting under the name in the header */
.brand-sub.is-greeting { letter-spacing: .08em; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px var(--red-100); }
.hero h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 26px;
}
.hero h1 em { color: var(--red-600); font-weight: 700; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-offer { font-size: 15px; color: var(--ink-2); margin: 0; padding-left: 14px; border-left: 3px solid var(--gold); }
.hero-offer strong { color: var(--ink); }

.hero-media { position: relative; margin: 0; }
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
  background: var(--stone);
  outline: 1px solid rgba(0,0,0,.04);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero-media.is-in .arch img { transform: scale(1); }

.trust {
  position: relative; z-index: 1; list-style: none; margin-top: clamp(40px, 6vw, 72px) !important;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.trust li { display: flex; align-items: flex-start; gap: 14px; padding: 4px 24px 4px 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.trust li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trust .ic { width: 26px; height: 26px; color: var(--green-700); margin-top: 1px; }
.trust b { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px; }
.section h2 { font-family: var(--f-display); font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 18px; }
.section h2 em { color: var(--green-700); font-weight: 600; }
.section-lede { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 40em; }
.section-head.center .section-lede { margin: 0 auto; }

/* ---------- Shop ---------- */
.shop { background: var(--paper); }
.filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: 15px;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  display: flex; flex-direction: column;
  background: var(--marble); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .35s, border-color .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.product.is-hiding { opacity: 0; transform: scale(.97); }
.p-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--stone)); }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.p-media .ai { width: 38%; height: 60%; color: var(--green-700); opacity: .9; }
.p-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--green-700); color: #fff;
}
.p-badge.used { background: #fff; color: var(--red-700); box-shadow: inset 0 0 0 1.5px var(--red-600); }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.p-brand { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.p-name { font-family: var(--f-display); font-size: 24px; font-weight: 700; line-height: 1.15; margin-bottom: 8px; }
.p-note { font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-price { font-family: var(--f-body); font-size: 22px; font-weight: 800; }
.p-price.call { font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--ink-2); }
.p-foot .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.products-empty {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: clamp(36px, 6vw, 64px) 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--marble);
}
.products-empty .ai { width: 56px; height: 56px; color: var(--green-700); opacity: .75; margin-bottom: 6px; }
.products-empty h3 { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); }
.products-empty p { color: var(--ink-2); max-width: 30em; margin: 0 0 12px; }

.order-any {
  margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: var(--radius); background: var(--green-100);
}
.order-any h3 { font-family: var(--f-display); font-size: 26px; margin-bottom: 6px; }
.order-any p { margin: 0; color: var(--ink-2); }

/* ---------- Repairs ---------- */
.repairs { background: var(--green-800); color: #eef3ef; overflow: hidden; }
.repairs::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(0,0,0,.18), transparent 60%);
  pointer-events: none;
}
.repairs .wrap { position: relative; }
.repairs .kicker { color: #f1b3ad; }
.repairs h2 { color: #fff; }
.repairs h2 em { color: #d8c48f; }
.repairs .section-lede { color: rgba(238,243,239,.78); }
.repairs-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.services li {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 600; font-size: 16.5px;
  transition: background-color .3s, transform .35s var(--ease), opacity .7s var(--ease);
}
.services li:hover { background: rgba(255,255,255,.1); }
.services .ai { width: 36px; height: 36px; color: #d8c48f; flex: none; }

.offer {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px 28px 28px;
  text-align: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--green-600) 33.3%, #fff 33.3% 66.6%, var(--red-600) 66.6%); }
.offer-tag { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red-600); margin-bottom: 4px; }
.offer-price { font-family: var(--f-body); font-weight: 800; font-size: 64px; line-height: 1; margin: 6px 0 4px; color: var(--red-600); letter-spacing: -.03em; }
.offer-price .cur { font-size: .5em; vertical-align: .7em; margin-right: 2px; }
.offer-label { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; margin-bottom: 6px; }
.offer-small { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.offer-actions { display: grid; gap: 10px; }

.review {
  margin: clamp(40px, 6vw, 72px) 0 0; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
}
.stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.stars svg { width: 22px; height: 22px; }
.review blockquote { margin: 0; }
.review blockquote p { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; font-weight: 400; color: #fff; margin-bottom: 18px; }
.review blockquote em { color: #d8c48f; }
.review figcaption { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,243,239,.6); }

/* ---------- Brands ---------- */
.brands { background: var(--paper); }
.logo-wall {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.logo-wall li {
  --s: 1;
  flex: 0 1 calc((100% - 4 * 14px) / 5); min-width: 150px; height: 112px;
  display: grid; place-items: center; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.logo-wall img {
  width: calc(var(--w) * var(--s)); height: calc(var(--h) * var(--s)); max-width: 100%; object-fit: contain;
  filter: grayscale(1) contrast(1.15); opacity: .72;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.logo-wall li:hover { border-color: transparent; box-shadow: var(--shadow-1); transform: translateY(-2px); }
.logo-wall li:hover img { filter: none; opacity: 1; }
/* Touch screens have no hover: show logos in full colour so they're instantly recognisable */
@media (hover: none) { .logo-wall img { filter: none; opacity: 1; } }
.brand-more { max-width: 780px; margin: 28px auto 0; text-align: center; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.brand-more span { font-weight: 800; color: var(--ink); }

/* ---------- Story ---------- */
.story { background: var(--marble); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius); box-shadow: var(--shadow-2); aspect-ratio: 4/3; object-fit: cover; }
.story-media::after {
  content: ""; position: absolute; right: -16px; bottom: -16px; width: 45%; height: 45%; z-index: -1;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--green-100) 0 10px, transparent 10px 20px);
}
.story-copy p { color: var(--ink-2); font-size: 17.5px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); order: 2; }
.stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { margin: 0; font-family: var(--f-body); font-weight: 800; letter-spacing: -.03em; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--green-700); }

/* ---------- Pay ---------- */
.pay { background: var(--stone); }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pay-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .7s var(--ease);
}
.pay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pay-card h3 { font-family: var(--f-display); font-size: 26px; margin-top: 8px; }
.pay-card p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; margin: 28px 0 0; font-size: 14px; color: var(--ink-3); }

/* ---------- Visit ---------- */
.visit { background: var(--marble); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.call-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.call-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px;
  border-radius: var(--radius); background: var(--green-700); color: #fff; text-decoration: none;
  transition: transform .35s var(--ease), background-color .3s;
}
.call-card.alt { background: var(--red-600); }
.call-card:hover { transform: translateY(-3px); background: var(--green-800); }
.call-card.alt:hover { background: var(--red-700); }
.cc-label { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cc-num { font-family: var(--f-body); font-weight: 800; font-size: clamp(21px, 2vw, 25px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.call-card .ic { position: absolute; top: 18px; right: 18px; opacity: .8; }

.contact-col h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.contact-col h3 .ic { color: var(--red-600); width: 18px; height: 18px; }
.locations { display: grid; gap: 12px; margin-bottom: 28px; }
.loc { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); }
.loc .ic { color: var(--red-600); margin-top: 3px; }
.loc-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.loc-addr { display: block; font-weight: 700; font-size: 17px; line-height: 1.4; }
.loc a { font-size: 14.5px; font-weight: 700; color: var(--green-700); text-underline-offset: 3px; }
.hours { margin-bottom: 28px; }
.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: 16px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--ink-2); }
.hours .call-hours { grid-column: 1 / -1; color: var(--ink-2); }
.areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 8px 14px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 14.5px; }

.request, .request-fallback {
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-2); position: relative; overflow: hidden;
}
.request::before, .request-fallback::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--green-600) 33.3%, #e9e4da 33.3% 66.6%, var(--red-600) 66.6%); }
.request h3, .request-fallback h3 { font-family: var(--f-display); font-size: 32px; margin-bottom: 6px; }
.form-note { color: var(--ink-2); margin-bottom: 22px; }
.request-fallback { display: grid; gap: 12px; }
.request-fallback p { color: var(--ink-2); margin: 0 0 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--marble); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171a17' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(42,101,68,.14); }
.field.has-error input, .field.has-error select { border-color: var(--red-600); }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: var(--red-600); }



/* ---------- Hero guide link ---------- */
.hero-guide {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 16px; color: var(--ink-2); text-decoration: none;
}
.hero-guide b { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-guide .ic { color: var(--green-700); width: 18px; height: 18px; transition: transform .25s var(--ease); }
.hero-guide:hover .ic { transform: translateX(3px); }

/* ---------- Repair or Replace ---------- */
.decide { background: var(--marble); }
.decide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.decide .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.decide-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.decide-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.decide-points .ic { color: var(--green-700); margin-top: 3px; }

.decider {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-2); overflow: hidden; min-height: 460px;
}
.decider::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--green-600) 33.3%, #e9e4da 33.3% 66.6%, var(--red-600) 66.6%); }
.d-progress { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: step; }
.d-progress li {
  counter-increment: step; position: relative; padding-top: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.d-progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: var(--stone); transition: background-color .4s var(--ease); }
.d-progress li.is-on { color: var(--green-700); }
.d-progress li.is-on::before { background: var(--green-600); }

.d-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.d-q { padding: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin-bottom: 20px; }
.d-hint { margin: -10px 0 18px; color: var(--ink-2); }
.d-options { display: grid; gap: 10px; }
.d-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.d-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 112px; padding: 16px 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--marble);
  font-weight: 700; font-size: 16.5px; color: var(--ink); text-align: center;
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.d-opt .ai { width: 42px; height: 42px; color: var(--green-700); }
.d-opt:hover { border-color: var(--green-600); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-1); }
.d-opt[aria-pressed="true"] { border-color: var(--green-700); background: var(--green-100); }
.d-opt-row { flex-direction: row; justify-content: space-between; min-height: 64px; padding: 14px 20px; font-size: 18px; text-align: left; }
.d-opt-row .ic { color: var(--green-700); }
.d-back, .d-restart {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 4px; min-height: 44px;
  border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink-2);
}
.d-back:hover, .d-restart:hover { color: var(--ink); }
.is-entering { animation: stepIn .45s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.d-result { outline: none; }
.d-tag {
  display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.d-result.is-repair .d-tag { background: var(--green-100); color: var(--green-800); }
.d-result.is-maybe .d-tag { background: #f6edd6; color: #6b5214; }
.d-result.is-replace .d-tag { background: var(--red-100); color: var(--red-700); }
.d-verdict { font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.1; margin-bottom: 14px; }
.d-why { font-size: 18px; color: var(--ink-2); margin-bottom: 22px; }
.d-actions { display: grid; gap: 10px; }
.d-small { margin: 18px 0 0; font-size: 14.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-call { margin-top: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary .ic {
  flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--green-700); color: #fff; }
.faq-a { padding: 0 52px 22px 4px; color: var(--ink-2); font-size: 17.5px; }
.faq-item[open] .faq-a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-a ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq-a li { margin-bottom: 6px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--green-700); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Brands trademark note ---------- */
.brand-tm { text-align: center; margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Map ---------- */
.map {
  position: relative; margin-top: clamp(48px, 7vw, 88px); height: 380px;
  border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(42,101,68,.08), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,0,0,.035) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,0,0,.035) 39px 40px),
    var(--stone);
}
.map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.map-cover .ic-lg { color: var(--red-600); }
.map-addr { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.map-note { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }
.map-note a { color: inherit; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
.map.is-loaded .map-cover { visibility: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); }
.site-footer a { color: inherit; }
.footer-top {
  display: grid; grid-template-columns: 1.35fr 1fr .9fr .75fr; gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(40px, 5vw, 56px);
}
.f-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 16px; }
.f-logo img { width: 64px; height: 64px; }
.f-logo b { display: block; font-family: var(--f-display); font-size: 24px; color: #fff; line-height: 1.1; }
.f-logo small { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin-top: 2px; }
.f-brand > p { font-size: 16px; max-width: 30em; margin-bottom: 20px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: background-color .25s, transform .25s var(--ease);
}
.socials a:hover { background: #fff; color: var(--green-900); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }

.f-head { font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #d8c48f; margin: 6px 0 18px; }
.f-phone {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.f-phone:first-of-type { padding-top: 0; }
.f-phone .ic { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--red-600); color: #fff; transition: transform .25s var(--ease); }
.f-phone span { display: flex; flex-direction: column; }
.f-phone small { font-size: 14px; color: rgba(255,255,255,.7); }
.f-phone b { font-size: 20px; color: #fff; letter-spacing: .01em; }
.f-phone:hover .ic { transform: scale(1.08); }
.f-phone:hover b { text-decoration: underline; text-underline-offset: 4px; }
.f-locs p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: #fff; }
.f-locs small { display: block; font-size: 14px; color: rgba(255,255,255,.7); }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-links a { text-decoration: none; font-size: 16px; font-weight: 600; transition: color .2s; }
.f-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer-base {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px;
  position: relative; padding-top: 22px; padding-bottom: 28px;
  font-size: 14.5px; color: rgba(255,255,255,.65);
}
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.12); }
.footer-base p { margin: 0; }
.fb-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.f-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.f-legal a { text-decoration: none; }
.f-legal a:hover, .fb-credit a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fb-credit { margin-left: auto; text-align: right; display: inline-flex; align-items: center; gap: 6px; }
.fb-credit .heart { width: 16px; height: 16px; color: var(--red-600); animation: beat 2.4s ease-in-out infinite; }
.fb-credit a { color: #fff; font-weight: 700; text-decoration: none; }
@keyframes beat { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.2); } 90% { transform: scale(.95); } }

/* ---------- Legal pages ---------- */
.legal-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 36px); }
.legal-hero h1 { font-family: var(--f-display); font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 14px; }
.legal-hero p { color: var(--ink-2); margin: 0; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal-tabs a { text-decoration: none; }
.legal-body { padding-bottom: clamp(72px, 10vw, 120px); }
.legal-card { max-width: 820px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: clamp(24px, 4.5vw, 56px); }
.legal-card h2 { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 30px); margin: 40px 0 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--green-700); font-weight: 700; text-underline-offset: 3px; }
.legal-card a.btn { color: var(--fg); text-decoration: none; }
.legal-card .contact-box { margin-top: 32px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--ink); }
.legal-card .contact-box p { color: var(--ink); margin: 0; }

/* ---------- Square checkout buttons & bill form ---------- */
.buy-form { margin: 0; }
.p-foot .buy-form .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.pay-card .buy-form .btn { width: 100%; }
.btn:disabled { opacity: .75; cursor: progress; transform: none; box-shadow: none; }
.bill-form { display: grid; gap: 4px; }
.bill-form .field { margin-bottom: 10px; }
.bill-form .field input { min-height: 50px; }
.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink-2); pointer-events: none; }
.money input { padding-left: 32px !important; font-size: 18px !important; font-weight: 700; }
.bill-error { margin: 8px 0 0; color: var(--red-600); font-weight: 700; font-size: 15px; }
.bill-form input[aria-invalid="true"] { border-color: var(--red-600); }
.spinner {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.products-loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 56px 0; color: var(--ink-2); font-weight: 600; }

/* ---------- Thank-you page ---------- */
.thanks-card { max-width: 680px; text-align: center; margin: 0 auto; }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.thanks-icon.err { background: var(--red-100); color: var(--red-600); }
.thanks-icon .ic { width: 38px; height: 38px; }
.dev-detail { margin: 18px auto 0 !important; max-width: 560px; padding: 12px 16px; border-radius: 10px; background: #fff6d6; border: 1px solid #ecd58a; color: #5c4a10 !important; font: 600 14px/1.5 ui-monospace, Consolas, monospace; text-align: left; word-break: break-word; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------- Error pages (404 / 403 / 500) ---------- */
.error-card { max-width: 760px; margin: 0 auto; text-align: center; }
.legal-card .error-code {
  margin: 0 0 6px; font-family: var(--f-display); font-weight: 900; line-height: 1;
  font-size: clamp(88px, 16vw, 150px); letter-spacing: -.03em;
  display: inline-block; padding: 0 .04em;
  background: linear-gradient(90deg, var(--green-600) 0 34%, #a99d86 34% 66%, var(--red-600) 66%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.error-card h1 { font-family: var(--f-display); font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.error-text { color: var(--ink-2); font-size: 18px; max-width: 34em; margin: 0 auto; }
.legal-card .error-links {
  list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-left: 0;
}
.error-links li { margin: 0; }
.error-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: 999px; background: var(--marble); border: 1px solid var(--line);
  color: var(--ink) !important; font-weight: 700; text-decoration: none !important; transition: border-color .2s, background-color .2s;
}
.error-links a:hover { border-color: var(--green-600); background: var(--green-100); }
.error-links .ic { color: var(--green-700); width: 18px; height: 18px; }

/* ---------- Mobile quick bar ---------- */
.quickbar { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.tricolore i { animation: draw 1.2s var(--ease) both; }
.tricolore i:nth-child(2) { animation-delay: .12s; }
.tricolore i:nth-child(3) { animation-delay: .24s; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Section change: a soft fade when jumping between sections via the menu */
main.is-jumping { animation: dip .7s var(--ease); }
@keyframes dip { 0% { opacity: 1 } 35% { opacity: .35 } 100% { opacity: 1 } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .header-call { display: none; }
  .nav a:not(.btn) { padding: 10px 11px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 32px;
    padding: 96px var(--gutter) 40px;
    background: var(--marble);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .menu-open .nav li { opacity: 1; transform: none; }
  .menu-open .nav li:nth-child(2) { transition-delay: .04s } .menu-open .nav li:nth-child(3) { transition-delay: .08s }
  .menu-open .nav li:nth-child(4) { transition-delay: .12s } .menu-open .nav li:nth-child(5) { transition-delay: .16s }
  .menu-open .nav li:nth-child(6) { transition-delay: .2s }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: 34px; font-weight: 600; color: var(--ink); padding: 14px 0; border-radius: 0; }
  .nav a:not(.btn):hover { background: none; color: var(--green-700); }
  .nav a.is-current::after { display: none; }
  .nav-mobile-call { display: inline-flex; min-height: 60px; font-size: 18px; }
  .menu-open { overflow: hidden; }
  .site-header .brand { position: relative; z-index: 2; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; width: 100%; margin: 8px auto 0; }
  .arch { aspect-ratio: 5 / 4; border-radius: 240px 240px var(--radius) var(--radius); }
  .hero-texture { opacity: .09; background-size: 72px 72px; -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.4) 70px, transparent 135px); mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.4) 70px, transparent 135px); }
  .trust { grid-template-columns: 1fr; gap: 14px; }
  .trust li, .trust li + li { padding: 0; border: 0; }

  .products { grid-template-columns: repeat(2, 1fr); }
  .repairs-grid { grid-template-columns: 1fr; }
  .offer { max-width: 440px; }
  .story-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .decide-grid, .faq-grid { grid-template-columns: 1fr; }
  .decide .section-head, .faq .section-head { position: static; }
  .decider { min-height: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  .quickbar {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .quickbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
    border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 15px;
    background: var(--stone); color: var(--ink);
    -webkit-tap-highlight-color: transparent;
  }
  .quickbar a:first-child { background: var(--red-600); color: #fff; }
  .quickbar .qb-main { background: var(--green-700); color: #fff; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .brand-name { font-size: 20px; }
  .hero h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-actions .btn { width: 100%; }
  .products { grid-template-columns: 1fr; }
  .p-media { aspect-ratio: 16 / 8; }
  .p-media .ai { height: 70%; }
  .services { grid-template-columns: 1fr; }
  .order-any { flex-direction: column; align-items: stretch; padding: 24px; }
  .call-cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats { gap: 10px; }
  .stats dt { font-size: 10.5px; letter-spacing: .08em; }
  .logo-wall { gap: 10px; }
  .logo-wall li { --s: .78; flex-basis: calc(50% - 5px); min-width: 0; height: 78px; padding: 12px; }
  .map { height: 340px; }
  .d-grid { grid-template-columns: 1fr 1fr; }
  .d-opt { min-height: 100px; font-size: 16px; }
  .faq-a { padding-right: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  .fb-credit { margin-left: 0; align-self: flex-end; }
}

/* Times and years in the review/headings: keep upright for clarity. */
.num { font-style: normal; }

/* ==========================================================================
   Blog, articles & area pages (generated by tools/build.py)
   ========================================================================== */
.wrap.narrow { max-width: 820px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin: 0 10px; color: var(--ink-3); }
.crumbs a { color: var(--green-700); font-weight: 700; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); }

.post-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.post-hero h1 { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin-bottom: 14px; }
.post-meta { color: var(--ink-3); font-size: 15.5px; margin: 0; }
.post-body { padding-bottom: clamp(56px, 8vw, 96px); }

.quick-answer {
  margin: 8px 0 34px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--green-100); border-left: 5px solid var(--green-600);
}
.quick-answer h2 { display: flex; align-items: center; gap: 8px; font-family: var(--f-body); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); margin: 0 0 8px; }
.quick-answer h2 .ic { width: 18px; height: 18px; }
.quick-answer p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); }

.prose { font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose > * { max-width: 70ch; }
.prose h2 { font-family: var(--f-display); font-size: clamp(25px, 2.8vw, 31px); line-height: 1.2; margin: 42px 0 12px; }
.prose h3 { font-family: var(--f-display); font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--green-700); font-weight: 700; text-underline-offset: 3px; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff6d6; border: 1px solid #ecd58a; color: #4d3d0c; }
.prose blockquote p { margin: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 17.5px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--stone); font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }

.post-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin: 44px 0; padding: clamp(22px, 3.5vw, 34px); border-radius: var(--radius);
  background: var(--green-800); color: #fff;
}
.post-cta .kicker { color: #f1b3ad; margin-bottom: 8px; }
.post-cta h2 { font-family: var(--f-display); font-size: clamp(23px, 2.6vw, 29px); line-height: 1.2; margin-bottom: 8px; color: #fff; }
.post-cta p { margin: 0; color: rgba(255,255,255,.82); }
.post-cta p b { color: #fff; }
.post-cta-actions { display: grid; gap: 10px; }
.post-faq { margin-top: 12px; }
.post-faq h2 { font-family: var(--f-display); font-size: clamp(25px, 2.8vw, 31px); margin-bottom: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 24px; text-decoration: none; color: inherit; }
.post-card-cat { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }
.post-card h3 { font-family: var(--f-display); font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); font-size: 16px; margin: 0 0 18px; flex: 1; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--green-700); }
.post-card-more .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.post-card:hover .post-card-more .ic { transform: translateX(3px); }
.related { background: var(--marble); }
.related h2 { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 24px; }
.related-all { text-align: center; margin: 28px 0 0; }
.related .post-cta { margin: 0; }
.blog-hero { background: var(--marble); }
.blog-hero h1 { max-width: 16em; }
.blog-list { padding-top: clamp(32px, 4vw, 48px); background: var(--marble); }
.advice { background: var(--marble); }

.town-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { margin: 0; padding: 7px 14px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 15.5px; }
.town-note { font-size: 16px; color: var(--ink-3) !important; }
.f-head-sub { margin-top: 26px !important; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .prose, .quick-answer p { font-size: 18px; }
  .prose table { font-size: 16px; }
  .prose th, .prose td { padding: 10px 12px; }
}
