/* ═══════════════════════════════════════════════════════════
   DESIGN SYSTEM
   Concept: "the service bench" — calm, clean surfaces on a
   cool mineral ground, a deep ink band for authority, and one
   instrument-teal accent for action. Mono type carries the
   technical details (SKUs, job steps, diagnostics).
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Colour — neutrals carry a slight teal bias */
  --ink: #0c1517;          /* primary text            15.9:1 on white */
  --ink-2: #3c4b4e;        /* secondary text           9.0:1 */
  --ink-3: #5b6a6d;        /* tertiary / captions      5.6:1 */
  --bg: #f4f7f7;           /* page ground */
  --surface: #ffffff;      /* cards, panels */
  --surface-2: #ecf1f1;    /* recessed areas, chips */
  --line: #dbe3e3;         /* hairlines */
  --line-strong: #bfcccc;  /* input borders            ≥3:1 for UI */

  --primary: #0d6b66;      /* instrument teal — actions, links   6.4:1 */
  --primary-strong: #08514d;
  --primary-soft: #e2f0ee;
  --secondary: #10201f;    /* deep ink — authority bands, footer */
  --secondary-2: #182c2b;
  --on-dark: #e8f0ef;
  --on-dark-2: #a8b9b7;    /* 7.7:1 on --secondary */
  --accent: #a3560a;       /* amber indicator — sparing use      5.4:1 */
  --accent-soft: #fbefe1;

  --success: #187a44;      /* WhatsApp action — white text 5.6:1 */
  --success-strong: #116035;
  --success-soft: #e3f3e9;
  --danger: #b42318;
  --danger-soft: #fdecea;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-3xl: clamp(2.3rem, 1.6rem + 3vw, 4rem);

  /* Space (4px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --max: 1200px;

  /* Shape */
  --r-sm: 8px;      /* chips, inputs */
  --r-md: 12px;     /* buttons, small cards */
  --r-lg: 18px;     /* cards, panels */
  --r-xl: 26px;     /* feature panels */
  --shadow-1: 0 1px 2px rgba(12, 21, 23, 0.06);
  --shadow-2: 0 1px 2px rgba(12, 21, 23, 0.05), 0 8px 24px -8px rgba(12, 21, 23, 0.12);
  --shadow-3: 0 2px 4px rgba(12, 21, 23, 0.06), 0 24px 48px -16px rgba(12, 21, 23, 0.22);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 68px;
  --mobilebar-h: 0px;
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--mobilebar-h);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #6fd1c7; }
::selection { background: var(--primary-soft); color: var(--ink); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.on-dark { background: var(--secondary); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0; }
.muted { color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* ── Section heading ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 500 var(--fs-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow { color: #7fd6cc; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 680px; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { color: var(--ink-2); font-size: var(--fs-md); max-width: 60ch; }
.on-dark .section-head p { color: var(--on-dark-2); }
.section-head--row { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) { .section-head--row { grid-template-columns: 1fr auto; } .section-head--row > div { max-width: 640px; display: grid; gap: var(--s3); } }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r-md);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn:hover { color: var(--btn-fg); background: var(--primary-strong); border-color: var(--primary-strong); }
.btn:active { transform: translateY(1px); }
.btn--wa { --btn-bg: var(--success); --btn-bd: var(--success); }
.btn--wa:hover { background: var(--success-strong); border-color: var(--success-strong); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }
.on-dark .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--secondary); --btn-bd: #fff; }
.btn--light:hover { background: #dff0ed; border-color: #dff0ed; color: var(--secondary); }
.btn--sm { min-height: 40px; padding: .5rem .9rem; font-size: .875rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ── Badges & chips ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .55rem; border-radius: 999px;
  font: 500 .72rem/1.3 var(--font-body); letter-spacing: .01em;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--plain::before { display: none; }
.badge--in_stock { background: var(--success-soft); color: var(--success); border-color: #c4e5d0; }
.badge--low_stock { background: var(--accent-soft); color: var(--accent); border-color: #f0d6b8; }
.badge--on_order { background: var(--primary-soft); color: var(--primary); border-color: #c5e0dc; }
.badge--out_of_stock { background: var(--surface-2); color: var(--ink-3); }
.badge--sample { background: var(--accent-soft); color: var(--accent); border-color: #f0d6b8; font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; }
.badge--sample::before { display: none; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px;
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-2); font-weight: 500; font-size: .9rem; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.chip .count { font: 500 .72rem var(--font-mono); opacity: .7; }

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: var(--s5); }
@media (min-width: 720px) { .card-pad { padding: var(--s6); } }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); flex: none;
}
.icon-tile .icon { width: 22px; height: 22px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none; position: relative;
  background: var(--secondary); color: #fff; display: grid; place-items: center;
  font: 700 .82rem/1 var(--font-display); letter-spacing: .02em;
}
.logo-mark::after { content: ""; position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #3fc1b3; }
.logo-text { display: grid; line-height: 1.15; min-width: 0; }
.logo-name { font: 600 1rem var(--font-display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-sub { font: 500 .66rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: none; margin-left: auto; }
.nav ul { display: flex; list-style: none; gap: .15rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .8rem; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .94rem;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-cta { display: none; gap: var(--s2); }
.menu-btn {
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer;
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .header-cta { display: flex; }
  .menu-btn { display: none; }
}

/* Mobile menu (drawer) */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; overflow: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(12,21,23,.45); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--surface); display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + var(--s4)) var(--s5) calc(env(safe-area-inset-bottom, 0px) + var(--s5));
  transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.drawer nav ul { list-style: none; display: grid; }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center; padding: .95rem .25rem;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 1.15rem var(--font-display);
}
.drawer nav a[aria-current="page"] { color: var(--primary); }
.drawer-cta { display: grid; gap: var(--s3); margin-top: auto; padding-top: var(--s5); }
.drawer-meta { font-size: .85rem; color: var(--ink-3); margin-top: var(--s4); }

/* Persistent mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(12,21,23,.18);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; border-radius: 12px; text-decoration: none; color: var(--ink);
  font: 600 .74rem var(--font-body); background: var(--surface-2);
}
.mobile-bar a .icon { width: 21px; height: 21px; }
.mobile-bar a.is-wa { background: var(--success); color: #fff; }
.mobile-bar a.is-book { background: var(--primary); color: #fff; }
body.has-mobile-bar { --mobilebar-h: 76px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } body.has-mobile-bar { --mobilebar-h: 0px; } }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--secondary); color: var(--on-dark); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(32, 160, 148, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(32, 160, 148, 0.10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; gap: var(--s7); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--s7); align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--s8); } }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .8rem .4rem .45rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--on-dark);
  font-size: .82rem; font-weight: 500; margin-bottom: var(--s5);
}
.hero-kicker .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(63,193,179,.18); color: #6fd1c7; }
.hero-kicker .dot .icon { width: 14px; height: 14px; }
.hero h1 { font-size: var(--fs-3xl); color: #fff; letter-spacing: -0.035em; line-height: 1.04; max-width: 14ch; }
.hero h1 em { font-style: normal; color: #7fd6cc; }
.hero-lead { margin-top: var(--s5); font-size: var(--fs-md); color: var(--on-dark-2); max-width: 52ch; }
.hero .btn-row { margin-top: var(--s6); }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s6); list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { width: 16px; height: 16px; color: #6fd1c7; }

/* Hero visual: diagnostic job card */
.diag { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.diag-card {
  position: relative; background: #f9fbfb; color: var(--ink); border-radius: var(--r-xl);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  padding: var(--s5); display: grid; gap: var(--s4);
}
.diag-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.diag-head .label { font: 500 .7rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.diag-head strong { display: block; font: 600 1.05rem var(--font-display); }
.diag-status { font: 500 .72rem var(--font-mono); color: var(--primary); background: var(--primary-soft); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.diag-body { display: grid; grid-template-columns: 92px 1fr; gap: var(--s4); align-items: center; }
.diag-phone { width: 92px; aspect-ratio: 9 / 18.5; border-radius: 18px; border: 2px solid var(--secondary); position: relative; background: linear-gradient(160deg, #e6efee, #cfdedd); }
.diag-phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); transform: translateX(-50%); }
.diag-phone::after { content: ""; position: absolute; left: 10%; right: 10%; height: 2px; top: 30%; background: rgba(13,107,102,.55); box-shadow: 0 0 12px 2px rgba(13,107,102,.35); animation: scan 3.2s var(--ease) infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 80%; } }
@media (prefers-reduced-motion: reduce) { .diag-phone::after { animation: none; top: 50%; } }
.diag-list { list-style: none; display: grid; gap: 7px; font-size: .86rem; }
.diag-list li { display: flex; justify-content: space-between; gap: var(--s3); padding-bottom: 7px; border-bottom: 1px dashed var(--line); }
.diag-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.diag-list span:last-child { font: 500 .74rem var(--font-mono); color: var(--success); white-space: nowrap; }
.diag-list .pending { color: var(--accent) !important; }
.diag-foot { display: flex; justify-content: space-between; gap: var(--s3); align-items: center; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); }
.diag-foot .mono { color: var(--ink-2); }
.diag-chip {
  position: absolute; left: -18px; bottom: 26px; background: var(--surface); color: var(--ink);
  border-radius: 14px; padding: .65rem .85rem; box-shadow: var(--shadow-3); display: flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 600;
}
.diag-chip .icon-tile { width: 32px; height: 32px; border-radius: 9px; }
.diag-chip .icon-tile .icon { width: 17px; height: 17px; }
.diag-chip small { display: block; font-weight: 400; color: var(--ink-3); font-size: .72rem; }
@media (max-width: 520px) { .diag-chip { left: 8px; bottom: -18px; } }

/* Authorised brands ribbon */
.authorised { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); }
.authorised-inner { display: grid; gap: var(--s4); padding-block: var(--s5); align-items: center; }
@media (min-width: 860px) { .authorised-inner { grid-template-columns: auto 1fr; gap: var(--s7); } }
.authorised-label { font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.authorised-label strong { display: block; color: #fff; font: 600 1rem var(--font-body); letter-spacing: 0; text-transform: none; margin-top: 4px; }
.brand-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.brand-cell { background: var(--secondary); display: grid; place-items: center; padding: var(--s4) var(--s2); min-height: 64px; }
.wordmark { font: 600 clamp(1rem, .85rem + .8vw, 1.45rem)/1 var(--font-display); letter-spacing: -0.01em; color: #fff; }
.wordmark--motorola { text-transform: lowercase; letter-spacing: -0.02em; }
.wordmark--nothing { text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.85rem, .75rem + .6vw, 1.15rem); }
.brand-logo { max-height: 28px; width: auto; }

/* ── Brand panels (Authorised brands section) ─────────────── */
.brand-panels { display: grid; gap: var(--s4); }
@media (min-width: 860px) { .brand-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-panel { padding: var(--s6) var(--s5); display: grid; gap: var(--s4); align-content: start; position: relative; }
.brand-panel .wordmark { color: var(--ink); font-size: 1.9rem; }
.brand-panel .wordmark--nothing { font-size: 1.35rem; }
.brand-panel .tag { font: 500 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--primary); display: inline-flex; gap: .4rem; align-items: center; }
.brand-panel .tag .icon { width: 15px; height: 15px; }
.brand-panel ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.brand-panel p { color: var(--ink-2); font-size: .95rem; }
.legal-note { font-size: .8rem; color: var(--ink-3); margin-top: var(--s5); max-width: 80ch; }
.on-dark .legal-note { color: var(--on-dark-2); }

/* ── Feature list (Why choose us) ─────────────────────────── */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { background: var(--surface); padding: var(--s6) var(--s5); display: grid; gap: var(--s3); align-content: start; }
.pillar h3 { font-size: 1.12rem; }
.pillar p { color: var(--ink-2); font-size: .95rem; }

/* ── Service cards ────────────────────────────────────────── */
.service-card {
  display: grid; gap: var(--s3); align-content: start; padding: var(--s5); text-decoration: none; color: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
a.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); color: inherit; }
.service-card h3 { font-size: 1.08rem; }
.service-card p { color: var(--ink-2); font-size: .93rem; }
.service-card .link-arrow { margin-top: auto; font-size: .9rem; }
.fineprint { font-size: .85rem; color: var(--ink-3); display: flex; gap: .5rem; align-items: flex-start; }
.fineprint .icon { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* ── Process steps ────────────────────────────────────────── */
.steps { list-style: none; display: grid; gap: var(--s4); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.step { position: relative; padding: var(--s5); display: grid; gap: var(--s3); align-content: start; counter-increment: step; }
.step-num {
  font: 500 .74rem var(--font-mono); letter-spacing: .06em; color: #7fd6cc;
  display: flex; align-items: center; gap: .6rem;
}
.step-num::before { content: "STEP " counter(step, decimal-leading-zero); }
.step-num::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.16); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--on-dark-2); font-size: .95rem; }
@media (min-width: 1040px) { .step { padding: 0 var(--s5) 0 0; } }

/* ── Product card ─────────────────────────────────────────── */
.products { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.product:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center;
  border-bottom: 1px solid var(--line); overflow: hidden; cursor: pointer; border: 0; width: 100%; padding: 0;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.product-media svg.product-art { width: 100%; height: 100%; }
.product-media .badge { position: absolute; left: 12px; top: 12px; }
.product-body { display: flex; flex-direction: column; gap: .4rem; padding: var(--s4); flex: 1; }
.product-brand { font: 600 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); display: flex; justify-content: space-between; gap: .5rem; }
.product-brand .product-cat { color: var(--primary); font-weight: 500; letter-spacing: .04em; text-transform: none; font-family: var(--font-body); }
.product h3 { font: 600 1.02rem/1.3 var(--font-body); letter-spacing: -0.005em; }
.product h3 button { all: unset; cursor: pointer; }
.product h3 button:hover { color: var(--primary); }
.product h3 button:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.product-compat { font-size: .84rem; color: var(--ink-2); }
.product-meta { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: var(--s3); }
.product-price { font: 600 1rem var(--font-display); }
.product-price.is-contact { font: 500 .88rem var(--font-body); color: var(--ink-2); }
.sku { font: 500 .72rem var(--font-mono); color: var(--ink-3); }
.product-actions { padding: 0 var(--s4) var(--s4); }
.product.is-out .product-media { filter: grayscale(.6); opacity: .8; }

/* product art palette (category illustration) */
.product-art .art-bg { fill: var(--surface-2); }
.product-art .art-grid { stroke: var(--line); }
.product-art .art-disc { fill: var(--surface); stroke: var(--line); }
.product-art .art-icon { stroke: var(--secondary); }
.product-art .art-accent { fill: var(--primary); }

/* ── Catalogue toolbar ────────────────────────────────────── */
.catalogue { display: grid; gap: var(--s5); }
.toolbar { display: grid; gap: var(--s3); }
.toolbar-row { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.search {
  position: relative; flex: 1 1 280px; min-width: 0;
}
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search input { padding-left: 44px !important; }
.chip-scroller { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip-scroller .chip { scroll-snap-align: start; }
.result-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s3); font-size: .9rem; color: var(--ink-2); }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.active-filters button { display: inline-flex; gap: .3rem; align-items: center; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: .2rem .6rem; font-size: .82rem; cursor: pointer; }
.active-filters .icon { width: 14px; height: 14px; }
.empty-state { text-align: center; padding: var(--s8) var(--s5); display: grid; gap: var(--s3); justify-items: center; }
.empty-state .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { color: var(--ink-2); max-width: 46ch; }
.load-more { display: flex; justify-content: center; margin-top: var(--s5); }

/* skeleton loader */
.skeleton { background: linear-gradient(90deg, var(--surface-2) 0%, #f6f9f9 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* Accessories preview — category grid */
.cat-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile {
  display: flex; gap: var(--s3); align-items: center; padding: var(--s4); text-decoration: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.cat-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); color: var(--ink); }
.cat-tile strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.cat-tile small { color: var(--ink-3); font-size: .8rem; }
.cat-tile .icon-tile { background: var(--surface-2); color: var(--secondary); }

.acc-hero { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .acc-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); } }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-cloud span { padding: .45rem .8rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font: 600 .9rem var(--font-display); color: var(--ink-2); }

.notice {
  display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) var(--s5);
  border-radius: var(--r-md); background: var(--primary-soft); color: var(--ink); border: 1px solid #c5e0dc; font-size: .92rem;
}
.notice .icon { width: 20px; height: 20px; flex: none; color: var(--primary); margin-top: 1px; }
.notice--warn { background: var(--accent-soft); border-color: #f0d6b8; }
.notice--warn .icon { color: var(--accent); }
.notice--success { background: var(--success-soft); border-color: #c4e5d0; }
.notice--success .icon { color: var(--success); }
.notice--error { background: var(--danger-soft); border-color: #f5c6c2; }
.notice--error .icon { color: var(--danger); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.testimonial { padding: var(--s5); display: grid; gap: var(--s4); align-content: space-between; }
.testimonial blockquote { margin: 0; font: 500 1.08rem/1.5 var(--font-body); color: var(--ink); }
.testimonial .icon-quote { width: 28px; height: 28px; color: var(--primary); opacity: .6; }
.testimonial footer { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.testimonial cite { font-style: normal; font-weight: 600; display: block; }
.testimonial small { color: var(--ink-3); font-size: .84rem; }

/* ── Blog cards ───────────────────────────────────────────── */
.post-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); color: inherit; }
.post-cover { aspect-ratio: 16 / 9; background: var(--secondary); position: relative; overflow: hidden; display: grid; place-items: center; }
.post-cover svg.cover-art { width: 100%; height: 100%; }
.post-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.post-meta { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; font: 500 .74rem var(--font-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.post-meta .cat { color: var(--primary); }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; }
.post-card p { color: var(--ink-2); font-size: .94rem; }
.post-card--feature { display: grid; }
@media (min-width: 900px) { .post-card--feature { grid-template-columns: 1.15fr 1fr; } .post-card--feature .post-cover { aspect-ratio: auto; min-height: 340px; } .post-card--feature h3 { font-size: var(--fs-xl); } }
.post-card--feature .post-body { justify-content: center; padding: var(--s6); }

/* Article */
.article-head { padding-block: var(--s8) var(--s6); }
.article-head h1 { font-size: var(--fs-2xl); margin-top: var(--s4); max-width: 22ch; }
.article-head .lead { margin-top: var(--s4); font-size: var(--fs-md); color: var(--ink-2); max-width: 60ch; }
.article-layout { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 280px; } }
.prose { font-size: 1.075rem; line-height: 1.75; color: var(--ink); max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .4em; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin-inline: 0; padding-left: var(--s4); border-left: 3px solid var(--primary); color: var(--ink-2); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s4); align-content: start; }
.toc nav ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc nav a { display: block; padding: .35rem .9rem; color: var(--ink-2); text-decoration: none; font-size: .9rem; margin-left: -1px; border-left: 2px solid transparent; }
.toc nav a:hover { color: var(--ink); border-left-color: var(--primary); }
.sample-flag { display: flex; gap: .6rem; align-items: center; }

/* ── FAQ (accordion) ──────────────────────────────────────── */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s5) 0; font: 600 1.06rem/1.4 var(--font-body); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq summary .pm .icon { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(180deg); background: var(--secondary); color: #fff; border-color: var(--secondary); }
.faq .answer { padding: 0 0 var(--s5); color: var(--ink-2); max-width: 70ch; }
.faq-layout { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 340px minmax(0, 1fr); gap: var(--s8); } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band { border-radius: var(--r-xl); background: var(--secondary); color: var(--on-dark); padding: clamp(2rem, 1.2rem + 3vw, 4rem); position: relative; overflow: hidden; display: grid; gap: var(--s6); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(32,160,148,.25), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
@media (min-width: 960px) { .cta-band { grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; } }
.cta-band h2 { font-size: var(--fs-2xl); color: #fff; }
.cta-band p { color: var(--on-dark-2); margin-top: var(--s3); max-width: 50ch; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: .9rem; color: var(--on-dark-2); }
.cta-contacts span { display: inline-flex; gap: .45rem; align-items: center; }
.cta-contacts .icon { width: 16px; height: 16px; color: #7fd6cc; }

/* ── Page header (inner pages) ────────────────────────────── */
.page-head { background: var(--secondary); color: var(--on-dark); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 90% 0%, rgba(32,160,148,.2), transparent 70%); pointer-events: none; }
.page-head .container { position: relative; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); display: grid; gap: var(--s4); }
.page-head h1 { font-size: var(--fs-2xl); color: #fff; max-width: 20ch; }
.page-head p { color: var(--on-dark-2); font-size: var(--fs-md); max-width: 60ch; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--on-dark-2); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ── Services page ────────────────────────────────────────── */
.tabs { display: flex; gap: var(--s2); flex-wrap: wrap; }
.brand-focus { display: grid; gap: var(--s4); align-items: center; padding: var(--s5); margin-top: var(--s4); }
@media (min-width: 760px) { .brand-focus { grid-template-columns: auto 1fr auto; gap: var(--s6); } }
.brand-focus .wordmark { color: var(--ink); font-size: 1.6rem; }
.service-group + .service-group { margin-top: var(--s8); }
.service-group-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .service-group-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.service-group-head h2 { font-size: var(--fs-xl); }
.service-group-head p { color: var(--ink-2); }
.service-detail { padding: var(--s5); display: grid; gap: var(--s4); align-content: start; }
.service-detail-top { display: flex; gap: var(--s3); align-items: center; }
.service-detail h3 { font-size: 1.15rem; }
.service-detail > p { color: var(--ink-2); font-size: .95rem; }
.symptoms h4 { font: 600 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: .5rem; }
.symptoms ul { list-style: none; display: grid; gap: .35rem; font-size: .92rem; }
.symptoms li { display: flex; gap: .5rem; align-items: flex-start; }
.symptoms li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--primary); margin-top: .55em; }
.diag-note { font-size: .86rem; color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-sm); padding: .7rem .85rem; display: flex; gap: .5rem; }
.diag-note .icon { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--primary); }
.service-detail .btn-row { margin-top: auto; }

/* ── About ────────────────────────────────────────────────── */
.split { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; } }
.lead-text { font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.body-text { display: grid; gap: var(--s4); color: var(--ink-2); font-size: 1.04rem; max-width: 62ch; }
.fact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fact { background: var(--surface); padding: var(--s4) var(--s5); display: grid; grid-template-columns: 150px 1fr; gap: var(--s4); font-size: .95rem; }
.fact dt { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding-top: 3px; }
.fact dd { margin: 0; }
@media (max-width: 520px) { .fact { grid-template-columns: 1fr; gap: 4px; } }
.placeholder { background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 0 .3em; font-family: var(--font-mono); font-size: .88em; }
.on-dark .placeholder { background: rgba(251,239,225,.12); color: #f2c48f; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-layout { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s6); align-items: start; } }
.contact-list { list-style: none; display: grid; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .k { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.contact-list .v { font-weight: 500; overflow-wrap: anywhere; }
.contact-list .v a { color: var(--ink); text-decoration: none; }
.contact-list .v a:hover { color: var(--primary); }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: .3rem 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; color: var(--primary); }
.map-box { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--s5);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.map-placeholder > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s5); display: grid; gap: var(--s2); justify-items: center; box-shadow: var(--shadow-2); max-width: 340px; }
.map-placeholder .icon { color: var(--primary); }

/* ── Forms ────────────────────────────────────────────────── */
.form { display: grid; gap: var(--s4); }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6a6d' stroke-width='1.8' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,107,102,.15); }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.field .error { font-size: .84rem; color: var(--danger); display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .error { display: block; }
.select-sm { min-height: 44px !important; padding: .5rem 2.2rem .5rem .8rem !important; width: auto !important; font-size: .9rem !important; }

/* ── Modal ────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; visibility: hidden; }
@media (min-width: 720px) { .modal { place-items: center; } }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,21,23,.5); opacity: 0; transition: opacity .2s; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(860px, 100%); max-height: 92vh; overflow-y: auto; background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(24px); opacity: 0; transition: transform .25s var(--ease), opacity .2s;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 720px) { .modal-panel { border-radius: var(--r-xl); margin: var(--s5); } }
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.quickview { display: grid; }
@media (min-width: 720px) { .quickview { grid-template-columns: 1fr 1fr; } }
.quickview-media { background: var(--surface-2); aspect-ratio: 1; display: grid; place-items: center; }
.quickview-media svg, .quickview-media img { width: 100%; height: 100%; object-fit: contain; }
.quickview-body { padding: var(--s6) var(--s5); display: grid; gap: var(--s3); align-content: start; }
.quickview-body h2 { font-size: 1.5rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); width: 40%; padding-right: 1rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--secondary); color: var(--on-dark-2); font-size: .93rem; }
.footer-top { display: grid; gap: var(--s6); padding-block: var(--s8) var(--s6); }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; } }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark { background: #fff; color: var(--secondary); }
.footer-brand .logo-sub { color: var(--on-dark-2); }
.footer-brand p { margin-top: var(--s4); max-width: 34ch; }
.site-footer h2 { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: var(--s4); }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #7fd6cc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s5); display: grid; gap: var(--s3); font-size: .82rem; }
@media (min-width: 860px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer-disclaimer { font-size: .78rem; opacity: .85; max-width: 110ch; padding-bottom: var(--s5); }

/* Floating WhatsApp (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  background: var(--success); color: #fff; display: none; place-items: center; box-shadow: var(--shadow-3); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 1080px) { .wa-float { display: grid; } }

/* Reveal (content is visible at rest; this only adds a gentle lift) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .6s var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* Utility spacing */
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-7 { margin-top: var(--s7); }
.center { text-align: center; }
.stack { display: grid; gap: var(--s4); }
.legal h2 { font-size: 1.3rem; }

/* Grid children must be allowed to shrink so horizontal chip rows scroll inside them */
.stack > *, .catalogue > *, .toolbar > *, .section-head > *, .split > *, .contact-layout > *, .article-layout > * { min-width: 0; }

/* Review fixes */
.nav a { white-space: nowrap; padding-inline: .7rem; }
.logo-text { max-width: 260px; }
.diag-chip { bottom: -22px; }
.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { padding-top: var(--s2); }
.toolbar-row .field:not(.search) { flex: 1 1 150px; }
.toolbar-row .select-sm { width: 100% !important; }
@media (min-width: 720px) { .toolbar-row .field:not(.search) { flex: 0 0 auto; } .toolbar-row .select-sm { width: auto !important; } }

/* Mobile: two-up product grid, compact cards; hero visual hidden to bring brands up */
@media (max-width: 559px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 12px; gap: .3rem; }
  .product-actions { padding: 0 12px 12px; }
  .product h3 { font-size: .93rem; }
  .product-compat { font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-brand { font-size: .66rem; flex-direction: column; gap: 2px; }
  .product-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .product-price.is-contact { font-size: .8rem; }
  .product-media .badge { left: 8px; top: 8px; font-size: .66rem; }
  .wa-long { display: none; }
  .diag { display: none; }
  .hero-inner { padding-bottom: var(--s6); }
}
a.chip { text-decoration: none; }
@media (min-width: 960px) { .chip-scroller { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.article-layout .post-cover { aspect-ratio: 21 / 9; }
.diag-chip { bottom: -46px; }
