/* ==========================================================================
   Surgi-Clin — global stylesheet
   Hand-coded, no framework. One file, loaded on every page.
   ========================================================================== */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* Brand colours (pulled from the existing site) */
  --teal:        #087e82;
  --teal-light:  #0aa8ad;
  --teal-dark:   #065f63;
  --teal-tint:   #f0fafa;
  --navy:        #0c1a2e;
  --navy-soft:   #1a2942;
  --ink:         #101828;
  --grey:        #475467;
  --grey-light:  #6b7280;
  --grey-faint:  #9ca3af;
  --cream:       #f5f3ef;
  --cream-soft:  #fafaf9;
  --border:      #e5e0d8;
  --orange:      #f7630c;
  --orange-dark: #d6522b;
  --red:         #b91c1c;
  --white:       #ffffff;

  /* Typography — Calibri to match the Surgi-Clin logo/brand documents.
     Carlito is a metric-compatible clone loaded from Google Fonts so visitors
     without Calibri (Mac, iOS, Android) get identical shapes and spacing. */
  --font-head: Calibri, 'Carlito', 'Segoe UI', system-ui, sans-serif;
  --font-body: Calibri, 'Carlito', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --maxw: 1500px;   /* wide layout — fuller than the old 1200px, but capped so
                       content pages don't stretch into odd, unbalanced layouts */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow:    0 1px 3px rgba(12,26,46,.08), 0 8px 24px rgba(12,26,46,.06);
  --shadow-lg: 0 12px 40px rgba(12,26,46,.14);
  --t: .2s ease;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--grey);
  background: var(--white);
  line-height: 1.6;
  font-size: 18px;   /* Calibri has a smaller x-height than the old font — 18px reads the same */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  /* Calibri is already compact — no negative tracking, or headings look cramped. */
  letter-spacing: 0;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--tint  { background: var(--teal-tint); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }
.text-center { text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: .6rem;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--grey); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--grey); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* grid-3 stays a deliberate 3-across layout (e.g. the six service cards sit as
   a balanced 3×2). grid-4 adds columns as the screen grows so photo grids like
   the team page keep sensible card sizes; min(x,100%) lets tracks shrink on
   narrow phones instead of overflowing. */
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }

/* Team grid: flex instead of grid so an incomplete last row centres instead of
   leaving a lone card stranded on the left. Card width mirrors grid-4 sizing. */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-grid > .team-card { flex: 0 1 262px; min-width: min(230px, 100%); margin: 0; }
@media (max-width: 640px) {
  /* keep two cards per row on phones (matches the old grid behaviour) */
  .team-grid > .team-card { flex-basis: calc(50% - 12px); min-width: 0; }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--cream); color: var(--navy); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.08rem; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; color: #fff; }

/* ---- Header / nav ------------------------------------------------------ */
.topbar {
  background: var(--navy); color: #cbd5e1; font-size: .85rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--white); }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.nav__logo img { height: 54px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu > li { position: relative; }
.nav__menu a.nav__link {
  display: block; padding: 10px 14px; color: var(--navy); font-weight: 600;
  font-size: .95rem; border-radius: var(--radius-sm);
}
.nav__menu a.nav__link:hover, .nav__menu li.is-active > a.nav__link { color: var(--teal); background: var(--teal-tint); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__extlink { width: 13px; height: 13px; flex: none; }

/* dropdowns */
.has-dropdown > .nav__link::after { content: "▾"; margin-left: 5px; font-size: .7em; color: var(--grey-faint); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all var(--t);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; color: var(--grey); border-radius: 7px; font-size: .92rem; }
.dropdown a:hover { background: var(--teal-tint); color: var(--teal); }

/* mobile toggle */
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--t); }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #112742 55%, var(--teal-dark) 130%);
  color: var(--white); padding: 84px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(10,168,173,.35), transparent 70%); border-radius: 50%;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lead { color: #d7e3ef; font-size: 1.25rem; margin-bottom: 14px; }
.hero__tagline { color: var(--teal-light); font-weight: 600; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .02em; }

/* ---- Intent fork (homepage) ------------------------------------------- */
.fork { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fork__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px; transition: all var(--t); position: relative;
}
.fork__card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); border-color: var(--teal-light); }
.fork__icon { font-size: 2.2rem; margin-bottom: 10px; }
.fork__card h3 { color: var(--white); margin-bottom: 8px; }
.fork__card p { color: #cdd9e6; font-size: .98rem; margin-bottom: 18px; }

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: all var(--t); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d9efef; }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; color: var(--grey); }
.card__link { margin-top: 14px; display: inline-block; font-weight: 600; font-size: .92rem; }

/* product card */
.product-card { display: flex; flex-direction: column; }
.product-card[hidden] { display: none; }   /* search/filter hides via the hidden attribute */
.product-card__img { background: var(--teal-dark); border-radius: var(--radius-sm); aspect-ratio: 1/1; object-fit: cover; padding: 0; margin-bottom: 14px; border: 1px solid var(--border); width: 100%; }
.product-card h3 { font-size: 1.1rem; }
.product-card .tag { font-size: .78rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ---- Stats ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat__label { font-size: .95rem; color: var(--grey); margin-top: 6px; }

/* ---- Steps / process --------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step__num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-family: var(--font-head);
  display: grid; place-items: center; margin-bottom: 14px;
}
.step__num::before { content: counter(step); }

/* ---- Trust / badges ---------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: 50px;
  font-size: .88rem; font-weight: 600; color: var(--navy);
}
.badge--solid { background: var(--teal-tint); border-color: #cdeaea; color: var(--teal-dark); }

/* ---- Page header (interior pages) ------------------------------------- */
.page-hero { background: linear-gradient(150deg, var(--navy), var(--teal-dark)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }

/* Decorative ECG trace along the bottom of page banners (injected by main.js).
   The path repeats every 50% of its width, so the linear slide loops seamlessly. */
.hero-ekg { position: absolute; left: 0; right: 0; bottom: 2px; height: 78px; pointer-events: none; opacity: .85; z-index: 0; }
.hero-ekg svg { width: 200%; height: 100%; display: block; animation: heroEkg 8s linear infinite; }
.hero-ekg path { stroke: var(--orange); filter: drop-shadow(0 0 6px rgba(192,57,43,.9)); }
.page-hero .container { position: relative; z-index: 1; }
@keyframes heroEkg { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-ekg svg { animation: none; } }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d7e3ef; max-width: 680px; }
.breadcrumb { font-size: .85rem; color: #9fb3c8; margin-bottom: 14px; }
.breadcrumb a { color: #cfe0ee; }

/* ---- Forms ------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--cream-soft);
  transition: border var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,130,.15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
/* honeypot - hidden from humans */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--grey-light); margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.alert--ok { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert--err { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }

/* ---- Accordion (FAQ) --------------------------------------------------- */
.faq__item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-size: 1.05rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-body); }
.faq__q::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t), padding var(--t); padding: 0 20px; }
.faq__item.open .faq__a { max-height: 500px; padding: 0 20px 18px; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy); color: #aebccb; padding: 64px 0 24px; font-size: .94rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer a { color: #aebccb; }
.site-footer a:hover { color: var(--teal-light); }
.site-footer ul li { margin-bottom: 9px; }
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: #7e90a3; }
.footer-bottom a { color: #7e90a3; }

/* ---- Floating WhatsApp ------------------------------------------------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-size: 1.7rem; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--teal), var(--teal-dark)); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6f3f4; max-width: 600px; margin: 8px auto 22px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Utilities --------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; background: var(--teal-tint); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.prose h2 { margin: 32px 0 14px; } .prose h3 { margin: 26px 0 10px; } .prose ul { margin: 0 0 16px; } .prose ul li { margin-bottom: 8px; padding-left: 22px; position: relative; } .prose ul li::before { content: "•"; color: var(--teal); position: absolute; left: 4px; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats, .steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 80px 16px 24px; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .28s ease, visibility .28s; overflow-y: auto;
    visibility: hidden;   /* fully hidden when closed — can never peek out on overflow */
  }
  .nav__menu.open { transform: translateX(0); visibility: visible; }
  .nav__menu > li { width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav__cta .btn--quote-text { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(12,26,46,.5); z-index: 99; opacity: 0; visibility: hidden; transition: var(--t); }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .site-header { position: sticky; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .fork { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .section { padding: 56px 0; }
  .topbar__contact { gap: 12px; }
  .cta-band { padding: 32px 22px; }
}

/* ==========================================================================
   v2 additions — icon system, gateway, photo heroes, feature rows, WA chooser
   ========================================================================== */

/* ---- SVG icons --------------------------------------------------------- */
.ic { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -0.2em; flex: none; }
.ic--sm { width: 1em; height: 1em; }
.ic--lg { width: 30px; height: 30px; }
.card__icon { background: linear-gradient(135deg, var(--teal-tint), #e6f6f6); }
.card__icon svg { width: 28px; height: 28px; }
.topbar a svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 5px; }
.btn svg { width: 18px; height: 18px; }
.card__link svg { width: 15px; height: 15px; vertical-align: -2px; }
.footer-social a svg { width: 18px; height: 18px; }
.step__num svg { width: 22px; height: 22px; color: #fff; }

/* ---- Split-screen gateway (homepage) ----------------------------------- */
.gateway { display: flex; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; background: var(--navy); }
.gw-panel {
  flex: 1 1 50%; position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  background-size: cover; background-position: center;
  transition: flex-grow .6s cubic-bezier(.4,0,.2,1);
  flex-grow: 1; min-width: 0;
}
.gw-panel::before { content: ""; position: absolute; inset: 0; transition: opacity .6s ease, background .6s ease; }
.gw-panel--repair::before { background: linear-gradient(180deg, rgba(6,95,99,.62), rgba(8,30,40,.86)); }
.gw-panel--equip::before  { background: linear-gradient(180deg, rgba(12,26,46,.60), rgba(8,18,34,.88)); }
.gw-panel__inner { position: relative; z-index: 2; padding: 32px; max-width: 460px; }
.gw-icon { width: 60px; height: 60px; margin: 0 auto 20px; opacity: .95; }
.gw-icon svg { width: 60px; height: 60px; }
.gw-panel h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 12px; }
.gw-panel p { color: #e3edf5; font-size: 1.05rem; max-height: 0; opacity: 0; overflow: hidden; transition: all .5s ease; margin: 0 auto; }
.gw-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; color: #fff; border: 2px solid rgba(255,255,255,.6); padding: 11px 24px; border-radius: 50px; opacity: 0; transform: translateY(10px); transition: all .5s ease; }
.gw-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: rgba(255,255,255,.8); margin-bottom: 10px; }
@media (hover: hover) and (min-width: 861px) {
  .gateway:hover .gw-panel { flex-grow: .7; }
  .gateway .gw-panel:hover { flex-grow: 2.2; }
  .gw-panel:hover::before { opacity: .82; }
  .gw-panel:hover p { max-height: 120px; opacity: 1; margin-bottom: 22px; }
  .gw-panel:hover .gw-cta { opacity: 1; transform: translateY(0); }
  .gw-panel--repair:hover .gw-cta { background: var(--teal); border-color: var(--teal); }
  .gw-panel--equip:hover .gw-cta { background: var(--orange); border-color: var(--orange); }
}
.gw-brand { position: fixed; top: 22px; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; pointer-events: none; }
.gw-brand img { height: 60px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.gw-toplinks { position: fixed; top: 30px; right: 24px; z-index: 10; display: flex; gap: 10px; }
.gw-toplinks a { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.gw-toplinks a:hover { background: var(--teal); color: #fff; }
.gw-skip { position: fixed; bottom: 18px; left: 0; right: 0; z-index: 10; text-align: center; }
.gw-skip a { color: rgba(255,255,255,.7); font-size: .85rem; }
.gw-skip a:hover { color: #fff; }

/* ---- Photographic hero (interior pages) -------------------------------- */
.page-hero--photo { position: relative; background-size: cover; background-position: center; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(12,26,46,.88), rgba(6,95,99,.72)); }
.page-hero--photo .container { position: relative; z-index: 1; }
/* hero background images (relative url = base-path safe) */
.hero-bg-repairs     { background-image: url(../img/photos/hero-repairs.jpg); }
.hero-bg-calibration { background-image: url(../img/photos/hero-calibration.jpg); }
.hero-bg-clinic      { background-image: url(../img/photos/hero-clinic.jpg); }
.hero-bg-technician  { background-image: url(../img/photos/feature-technician.jpg); }
.hero-bg-equipment   { background-image: url(../img/photos/gateway-equipment.jpg); }
.hero-bg-monitor     { background-image: url(../img/photos/feature-monitor.jpg); }
.hero-bg-repair-tools{ background-image: url(../img/photos/gateway-repair.jpg); }

/* ---- Alternating image / text feature rows ----------------------------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-row + .feature-row { margin-top: 64px; }
.feature-row__img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-row--rev .feature-row__img { order: 2; }
.feature-row h2 { margin-bottom: 14px; }

/* ---- Logo / trust strip ------------------------------------------------ */
.trust-strip { background: var(--cream-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; color: var(--grey); font-weight: 600; font-size: .92rem; }
.trust-strip svg { width: 20px; height: 20px; color: var(--teal); }

/* ---- WhatsApp floating chooser ----------------------------------------- */
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 95; }
.wa-fab__btn { width: 58px; height: 58px; border: 0; cursor: pointer; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); display: grid; place-items: center; transition: transform var(--t); }
.wa-fab__btn:hover { transform: scale(1.06); }
.wa-fab__btn svg { width: 30px; height: 30px; }
.wa-menu { position: absolute; right: 0; bottom: 72px; width: 250px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--t); }
.wa-fab.open .wa-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-menu__head { font-size: .8rem; color: var(--grey-light); padding: 8px 12px 4px; }
.wa-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); color: var(--navy); }
.wa-menu a:hover { background: var(--teal-tint); }
.wa-menu a svg { width: 26px; height: 26px; color: #25d366; flex: none; }
.wa-menu a small { display: block; color: var(--grey-light); font-weight: 400; font-size: .8rem; }
.wa-menu a b { font-weight: 600; font-size: .95rem; }

/* ---- Gateway responsive ------------------------------------------------ */
@media (max-width: 860px) {
  .gateway { flex-direction: column; height: auto; min-height: 100vh; }
  .gw-panel { flex: none; min-height: 50vh; }
  .gw-panel p { max-height: 200px; opacity: 1; margin-bottom: 22px; }
  .gw-cta { opacity: 1; transform: none; background: rgba(255,255,255,.16); }
  .gw-brand { position: static; padding: 20px 0; background: var(--navy); pointer-events: auto; }
}
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row--rev .feature-row__img { order: 0; }
}

/* ==========================================================================
   v4 — product detail page, clickable cards, quote quantity controls
   ========================================================================== */
.product-card__imglink { display: block; }
.product-card__title { color: var(--navy); }
.product-card__title:hover { color: var(--teal); }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media .pd-main, .pd-media__placeholder { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: var(--teal-dark); aspect-ratio: 1/1; object-fit: cover; }
.pd-media__placeholder { display: grid; place-items: center; color: #fff; }
.pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd-thumb { padding: 0; border: 2px solid var(--border); border-radius: var(--radius-sm); background: var(--teal-dark); cursor: pointer; width: 72px; height: 72px; overflow: hidden; transition: border-color var(--t); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb:hover { border-color: var(--teal-light); }
.pd-thumb.is-active { border-color: var(--teal); }
.pd-info .tag { font-size: .78rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 6px 0 10px; }
.pd-price { font-weight: 600; color: var(--grey); margin-bottom: 18px; }
.pd-specs { margin: 0 0 24px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; padding: 20px; background: var(--cream-soft); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; }
.pd-field { display: flex; flex-direction: column; gap: 6px; }
.pd-field label { font-weight: 600; font-size: .85rem; color: var(--navy); }
.pd-field select, .pd-field input { padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: #fff; min-width: 150px; }
.pd-field--qty input { width: 90px; min-width: 90px; }
.pd-field select:focus, .pd-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,130,.15); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.add-detail.is-added { background: var(--teal-dark); }

/* quote page line items */
.qi-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border-bottom: 1px solid var(--border); }
.qi-row:last-child { border-bottom: 0; }
.qi-name b { display: block; color: var(--navy); font-size: .98rem; }
.qi-name small { color: var(--grey-light); font-size: .82rem; }
.qi-controls { display: flex; align-items: center; gap: 12px; flex: none; }
.qi-qty { width: 64px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); text-align: center; }
.qi-controls button { background: none; border: 0; color: var(--red); cursor: pointer; font-size: .82rem; font-weight: 600; }

@media (max-width: 760px) {
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   v5 — "Precision / Uptime" design language + bold gateway
   ========================================================================== */
/* Small technical labels (eyebrows, breadcrumbs, badges, stat labels). Uses the
   same Calibri family as the rest of the site — the uppercase + letterspaced
   treatment echoes the logo's tagline and keeps the structure of the design. */
:root { --mono: Calibri, 'Carlito', 'Segoe UI', system-ui, sans-serif; --ink-black: #070b14; }
.mono { font-family: var(--mono); letter-spacing: .02em; }

/* live status dot */
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22e07a; margin-right: 4px; vertical-align: middle; animation: scPulse 2s infinite; }
@keyframes scPulse { 0% { box-shadow: 0 0 0 0 rgba(34,224,122,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(34,224,122,0); } }

/* ---- Bold gateway ------------------------------------------------------ */
.gw2-body { background: var(--ink-black); height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; color: #fff; }
/* z-index must beat the mobile nav backdrop (99): the fadeIn animation makes
   this header a stacking context, so the drawer inside it inherits this layer —
   at z 5 the backdrop covered the open menu and swallowed every tap. */
.gw2-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 26px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 120; }
.gw2-top__side { font-size: .72rem; color: #6b8099; text-transform: uppercase; letter-spacing: .14em; flex: 1; }
.gw2-top__r { text-align: right; color: #8fb0c9; }
.gw2-brand img { height: 40px; display: block; }
.gw2-brand { flex: none; }

.gw2 { flex: 1; display: flex; position: relative; min-height: 0; }
.gw2-panel {
  flex: 1 1 50%; position: relative; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; overflow: hidden;
  text-decoration: none; color: #fff; transition: flex-grow .6s cubic-bezier(.4,0,.2,1); flex-grow: 1; min-width: 0;
}
.gw2-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.gw2-panel:hover .gw2-bg { transform: scale(1.09); }
.gw2-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; transition: opacity .6s ease; }
.gw2-panel--repair::before { background: linear-gradient(180deg, rgba(28,32,38,.55) 0%, rgba(28,32,38,.93) 85%), linear-gradient(120deg, rgba(192,57,43,.5), transparent 60%); }
.gw2-panel--equip::before  { background: linear-gradient(180deg, rgba(28,32,38,.55) 0%, rgba(28,32,38,.93) 85%), linear-gradient(120deg, rgba(61,69,80,.6), transparent 55%); }
/* Glow that blooms from the lower corner on hover */
.gw2-panel::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.gw2-panel--repair::after { background: radial-gradient(circle at 22% 88%, rgba(231,76,60,.45), transparent 48%); }
.gw2-panel--equip::after  { background: radial-gradient(circle at 22% 88%, rgba(247,99,12,.4), transparent 48%); }
.gw2-panel:hover::after { opacity: 1; }
.gw2-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, transparent, #000); -webkit-mask-image: linear-gradient(180deg, transparent, #000); }
.gw2-panel__in { position: relative; z-index: 2; padding: 0 clamp(28px,5vw,72px) clamp(40px,7vh,80px); max-width: 620px; }
.gw2-eyebrow { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.gw2-panel--repair .gw2-eyebrow { color: #e2685a; }
.gw2-panel--equip .gw2-eyebrow { color: #aab8c6; }
.gw2-num { position: absolute; top: clamp(24px,5vh,60px); right: clamp(28px,5vw,72px); font-size: .72rem; letter-spacing: .2em; color: rgba(255,255,255,.35); }
.gw2-panel h2 { font-family: var(--font-head); color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: 0; margin-bottom: 16px; }
.gw2-panel p { color: #c4d2e0; font-size: 1.04rem; max-width: 32ch; margin-bottom: 24px; }
.gw2-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; padding-bottom: 6px; border-bottom: 2px solid; }
.gw2-panel--repair .gw2-cta { border-color: #C0392B; }
.gw2-panel--equip .gw2-cta { border-color: #aab8c6; }
.gw2-arrow { transition: transform .3s ease; display: inline-block; }
.gw2-panel:hover .gw2-arrow { transform: translateX(6px); }
.gw2-mark { position: absolute; left: 50%; top: 50%; width: 1px; height: 56px; transform: translate(-50%,-50%); background: rgba(255,255,255,.18); z-index: 3; }
.gw2-mark::before, .gw2-mark::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.gw2-mark::before { width: 28px; height: 1px; background: rgba(255,255,255,.4); }
.gw2-mark::after { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); }

@media (hover:hover) and (min-width: 861px) {
  .gw2:hover .gw2-panel { flex-grow: .72; }
  .gw2 .gw2-panel:hover { flex-grow: 2; }
  .gw2-panel:hover::before { opacity: .82; }
}

.gw2-stats { display: flex; align-items: center; gap: 0; border-top: 1px solid rgba(255,255,255,.1); z-index: 5; flex-wrap: wrap; }
.gw2-stat { flex: 1; min-width: 140px; padding: 16px 26px; border-right: 1px solid rgba(255,255,255,.08); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #6b8099; }
.gw2-stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 0; color: #fff; margin-bottom: 2px; }
.gw2-skip { padding: 16px 26px; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: #8fb0c9; white-space: nowrap; }
.gw2-skip:hover { color: var(--orange); }

/* ---- Gateway top nav --------------------------------------------------- */
.gw2-brand { flex: none; display: inline-flex; align-items: center; }
.gw2-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); flex: 1; justify-content: center; }
.gw2-nav > a {
  position: relative; color: #cfe0ef; font-size: .82rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; padding: 6px 0; transition: color .25s ease;
}
.gw2-nav > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.gw2-nav > a:hover { color: #fff; }
.gw2-nav > a:hover::after { transform: scaleX(1); }
.gw2-nav__quote { display: none; }   /* shown only inside the mobile drawer */

/* Homepage gateway: visible, tappable phone number — direct visitors often
   land purely to grab it, and the tap now counts as engagement in GA. */
.gw2-tel { color: #cfe0ef; font-size: .78rem; letter-spacing: .12em; white-space: nowrap; }
.gw2-tel:hover { color: #fff; }
@media (max-width: 760px) { .gw2-tel { display: none; } } /* mobile keeps the burger tidy; number is one tap away inside */

/* Sonarshop — external shop, accented so it reads as a separate destination */
.gw2-nav > a.gw2-nav__shop { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); }
.gw2-nav > a.gw2-nav__shop:hover { color: #fff; }
.gw2-nav__shop svg { width: 12px; height: 12px; flex: none; }

.gw2-top__r { flex: none; display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.gw2-status { font-size: .72rem; color: #8fb0c9; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; }
/* Live instrument readout: ticking SAST clock + duty status (main.js).
   After hours the dot turns amber — honest, not "someone's standing by at 3am". */
.gw2-clock { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(143,176,201,.35); color: #cfe0ef; font-variant-numeric: tabular-nums; }
.gw2-clock:empty { display: none; }
.gw2-status.is-after .status-dot { background: #e8a13a; }
.gw2-quote {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px;
  background: var(--orange); color: #fff; font-size: .76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; white-space: nowrap; box-shadow: 0 0 0 0 rgba(247,99,12,.5); transition: all .3s ease;
}
.gw2-quote:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(247,99,12,.4); }
.gw2-quote:hover .gw2-arrow { transform: translateX(5px); }

.gw2-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.gw2-burger span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: var(--t); }

.gw2-stat--badge { color: var(--orange); letter-spacing: .12em; }
.gw2-lang { margin-left: auto; padding: 0 26px; color: #8fb0c9; }
.gw2-lang svg { color: #8fb0c9; }

/* ---- Center emblem (pulsing medical cross) ----------------------------- */
.gw2-emblem { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%,-50%); z-index: 4; pointer-events: none; }
.gw2-emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(7,11,20,.55); backdrop-filter: blur(3px); }
.gw2-emblem__ring::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(247,99,12,.5); animation: gwPing 2.8s ease-out infinite; }
.gw2-emblem__cross { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%,-50%); }
.gw2-emblem__cross::before, .gw2-emblem__cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--orange); border-radius: 2px; transform: translate(-50%,-50%); }
.gw2-emblem__cross::before { width: 26px; height: 7px; }
.gw2-emblem__cross::after  { width: 7px; height: 26px; }
@keyframes gwPing { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

@media (max-width: 860px) {
  .gw2-body { height: auto; min-height: 100dvh; overflow: visible; }
  .gw2 { flex-direction: column; }
  .gw2-panel { min-height: 58vh; align-items: flex-end; }
  .gw2-panel p { max-height: 200px; opacity: 1; margin-bottom: 22px; }
  .gw2-mark, .gw2-emblem { display: none; }
  .gw2-brand { flex: 1; }
  .gw2-stat { min-width: 50%; flex: 1 0 40%; }
  .gw2-stat--badge { flex: 1 0 100%; min-width: 100%; }

  .gw2-status, .gw2-quote { display: none; }
  .gw2-burger { display: block; }
  .gw2-nav {
    position: fixed; top: 0; right: 0; z-index: 100; height: 100dvh; width: min(82vw, 330px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    background: #0b1220; padding: 92px 28px 28px; transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1), visibility .35s; box-shadow: -18px 0 50px rgba(0,0,0,.5);
    visibility: hidden;   /* fully hidden when closed */
  }
  .gw2-nav.open { transform: translateX(0); visibility: visible; }
  .gw2-nav > a { width: 100%; padding: 15px 0; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .gw2-nav > a::after { display: none; }
  .gw2-nav__quote {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
    margin-top: 18px; padding: 14px 20px; border-radius: 50px; border: 0 !important;
    background: var(--orange); color: #fff; font-weight: 600;
  }
}

/* ==========================================================================
   v6 — precision/uptime language applied site-wide (overrides earlier rules)
   ========================================================================== */

/* --- Dark, grid-textured page header on every interior page ------------- */
.page-hero { background: var(--ink-black); position: relative; overflow: hidden; padding: 76px 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 90%); mask-image: linear-gradient(180deg, transparent, #000 90%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #aebccb; }
.page-hero--photo::before { background:
   linear-gradient(115deg, rgba(28,32,38,.94) 30%, rgba(28,32,38,.6)),
   linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
   linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
   background-size: auto, 44px 44px, 44px 44px; -webkit-mask-image: none; mask-image: none; }

/* breadcrumb -> mono technical */
.breadcrumb { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: #8fb0c9; }
.breadcrumb a { color: #8fb0c9; } .breadcrumb a:hover { color: var(--orange); }

/* --- Mono eyebrow with accent marker ------------------------------------ */
.eyebrow { font-family: var(--mono); color: var(--orange); display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--orange); display: inline-block; }
.section-head .eyebrow, .section-head p.eyebrow { justify-content: center; color: var(--orange); font-size: .8rem; }

/* --- Dark header / nav -------------------------------------------------- */
.site-header { background: rgba(35,39,46,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav__menu a.nav__link { color: #e3edf5; }
.nav__menu a.nav__link:hover, .nav__menu li.is-active > a.nav__link { color: #fff; background: rgba(255,255,255,.08); }
.has-dropdown > .nav__link::after { color: rgba(255,255,255,.45); }

/* Sonarshop — external shop, outlined so it reads as a separate destination
   rather than another section of this site. */
.nav__menu a.nav__link--shop {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px;
  color: var(--orange); border: 1.5px solid var(--orange);
  padding: 8px 14px; white-space: nowrap;
}
.nav__menu a.nav__link--shop:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.nav__menu a.nav__link--shop::before { display: none; }   /* no underline sweep on the button */

.dropdown { background: #0c1422; border-color: rgba(255,255,255,.12); }
.dropdown a { color: #aebccb; }
.dropdown a:hover { background: rgba(255,255,255,.06); color: var(--teal-light); }
.nav__toggle span { background: #fff; }
@media (max-width: 860px) {
  .nav__menu { background: #0c1422; }
  .dropdown { background: transparent; }
  .dropdown a { color: #aebccb; }
}

/* --- Stats as mono dashboard readout ------------------------------------ */
.stats { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; gap: 0; background: var(--cream-soft); }
.stats > div { padding: 26px 20px; border-right: 1px solid var(--border); }
.stats > div:last-child { border-right: 0; }
.stat__num { color: var(--navy); }
.stat__label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: var(--grey-light); }
@media (max-width: 680px) { .stats > div:nth-child(2) { border-right: 0; } }

/* --- Cards: subtle technical detail ------------------------------------- */
.card .tag { font-family: var(--mono); letter-spacing: .06em; }
.card { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover { border-color: var(--orange); }

/* --- Section markers / eyebrow already mono ----------------------------- */

/* --- Buttons: orange becomes the signature primary action --------------- */
.nav__cta .btn--primary { background: var(--orange); }
.nav__cta .btn--primary:hover { background: var(--orange-dark); }

/* --- CTA band: dark + grid + orange ------------------------------------- */
.cta-band { background: var(--ink-black); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; opacity: .6; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: #aebccb; }

/* --- Scroll-reveal motion ----------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   v7 — brand palette (#C0392B brick red + #3D4550 slate) + bespoke motion
   ========================================================================== */
:root {
  /* signature accent = brand red */
  --teal:        #C0392B;
  --teal-dark:   #9c2f23;
  --teal-light:  #d6533f;
  --teal-tint:   #fbeeec;
  --orange:      #C0392B;
  --orange-dark: #9c2f23;
  /* structural slate */
  --navy:        #3D4550;
  --navy-soft:   #4d5663;
  --ink:         #2b313a;
  --ink-black:   #23272e;
}

/* ---- Entrance keyframes ----------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes growLine { from { width: 0; } to { width: 20px; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---- Page-hero content entrance (staggered) --------------------------- */
.page-hero .breadcrumb { animation: fadeUp .6s .05s both; }
.page-hero h1 { animation: fadeUp .7s .16s both; }
.page-hero > .container > p, .page-hero .container > p { animation: fadeUp .7s .3s both; }
.eyebrow::before { animation: growLine .6s .2s both; }

/* ---- Gateway entrance ------------------------------------------------- */
.gw2-top { animation: fadeIn 1s both; }
.gw2-panel { animation: fadeIn 1.1s both; }
.gw2-panel__in > * { animation: fadeUp .7s both; }
.gw2-panel__in > .gw2-eyebrow { animation-delay: .25s; }
.gw2-panel__in > h2 { animation-delay: .38s; }
.gw2-panel__in > p { animation-delay: .52s; }
.gw2-panel__in > .gw2-cta { animation-delay: .64s; }
.gw2-stats { animation: fadeUp .9s .5s both; }

/* ---- Animated nav underline ------------------------------------------ */
.nav__menu a.nav__link { position: relative; }
.nav__menu a.nav__link::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__menu a.nav__link:hover::before, .nav__menu li.is-active > a.nav__link::before { transform: scaleX(1); }

/* ---- Card hover: image zoom + lift ------------------------------------ */
.product-card__imglink { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.product-card__imglink .product-card__img { border-radius: 0; margin-bottom: 0; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.product-card:hover .product-card__imglink .product-card__img { transform: scale(1.07); }
.product-card__imglink + .tag { margin-top: 14px; display: inline-block; }
.card__icon { transition: transform .35s ease; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-4deg); }

/* ---- Button hover sheen ----------------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn:hover::after { left: 140%; }

/* ---- Slow background pan on photographic heroes (no layout impact) ---- */
@keyframes heroPan { from { background-position: center 42%; } to { background-position: center 58%; } }
.page-hero--photo { animation: heroPan 26s ease-in-out infinite alternate; }

/* ---- Status dot gets a soft float too -------------------------------- */
.gw2-mark { animation: floaty 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .page-hero .breadcrumb, .page-hero h1, .page-hero .container > p,
  .gw2-top, .gw2-panel, .gw2-panel__in > *, .gw2-stats, .page-hero--photo, .gw2-mark,
  .eyebrow::before { animation: none !important; }
  .btn::after { display: none; }
}

/* ==========================================================================
   Commerce — prices, specials, cart  (Phase 2 build)
   ========================================================================== */
.pc-price { margin: 2px 0 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.pc-price__now { font-size: 1.15rem; }
.pc-price__was { color: var(--grey-faint); text-decoration: line-through; font-weight: 500; font-size: .92rem; margin-left: 6px; }
.pc-price--rfq { color: var(--teal); font-weight: 600; font-size: .95rem; font-family: var(--font-body); }
.pc-price__vat { color: var(--grey-light); font-size: .72rem; font-weight: 400; font-family: var(--font-body); }

.badge-special { display: inline-block; background: var(--orange); color: #fff; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; line-height: 1.5; }
.badge-special--card { position: absolute; top: 10px; right: 10px; z-index: 3; }

.pd-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.pd-price__now { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.pd-price__was { color: var(--grey-faint); text-decoration: line-through; font-size: 1.1rem; }
.pd-price__vat { color: var(--grey-light); font-size: .85rem; }
.pd-price--rfq { color: var(--teal); font-weight: 600; font-family: var(--font-head); font-size: 1.2rem; }

.add-cart .added-label { display: none; }
.add-cart.is-added .add-label { display: none; }
.add-cart.is-added .added-label { display: inline-flex; align-items: center; gap: 7px; }

/* Cart floating button — navy, to read distinct from the orange quote button */
.cart-fab { position: fixed; right: 20px; bottom: 148px; z-index: 95; display: none; }
.cart-fab.show { display: block; }
.cart-fab a { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; font-weight: 700; font-family: var(--font-head); padding: 13px 20px; border-radius: 50px; box-shadow: var(--shadow-lg); }
.cart-fab a:hover { background: var(--navy-soft); color: #fff; }
.cart-fab .qf-count { background: var(--orange); color: #fff; border-radius: 50px; padding: 0 9px; min-width: 24px; text-align: center; }

/* Cart page */
.cart-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.cart-row { display: grid; grid-template-columns: 1fr 76px 92px 32px; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cart-row:last-child { border-bottom: 0; }
.cart-row__main b { display: block; font-family: var(--font-head); }
.cart-row__main small { display: block; color: var(--grey-light); font-size: .85rem; }
.cart-row__unit { display: block; color: var(--grey-light); font-size: .8rem; margin-top: 2px; }
.cart-row .ck-qty { width: 100%; padding: 7px; border: 1px solid var(--border); border-radius: 8px; text-align: center; font: inherit; }
.cart-row__line { font-family: var(--font-head); font-weight: 700; text-align: right; }
.cart-row__rm { border: 0; background: none; color: var(--grey-faint); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cart-row__rm:hover { color: var(--red); }
.cart-empty { padding: 30px 18px; text-align: center; color: var(--grey-light); }
.cart-summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-family: var(--font-head); }
.cart-summary__row--muted { color: var(--grey-light); font-weight: 400; font-family: var(--font-body); font-size: .9rem; border-top: 1px dashed var(--border); }
.cart-summary__row strong { font-size: 1.25rem; }

/* Account link in the main nav */
.nav__account { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-right: 4px; }
.nav__account:hover { color: var(--teal); }
.nav__account svg { width: 18px; height: 18px; }
.site-header .nav__account { color: #fff; }
.site-header .nav__account:hover { color: var(--orange); }

/* Customer account portal */
.acc-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--border); margin: 14px 0 24px; }
.acc-nav a { padding: 10px 16px; color: var(--grey); font-family: var(--font-head); font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; }
.acc-nav a:hover { color: var(--navy); }
.acc-nav a.is-active { color: var(--teal); border-bottom-color: var(--teal); }
.acc-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.acc-stat { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 26px; min-width: 140px; }
.acc-stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy); line-height: 1; }
.acc-stat span { color: var(--grey-light); font-size: .9rem; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-table { width: 100%; border-collapse: collapse; }
.acc-table td, .acc-table th { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: .92rem; }
.acc-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grey-light); }
.acc-table--bordered { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.acc-date { color: var(--grey-light); white-space: nowrap; }

/* Status badges (orders + quotes) */
.badge-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.badge-status--new, .badge-status--pending_payment { background: #e0f2fe; color: #075985; }
.badge-status--quoted, .badge-status--processing { background: #fef3c7; color: #92670c; }
.badge-status--won, .badge-status--paid, .badge-status--completed { background: #dcfce7; color: #15803d; }
.badge-status--lost, .badge-status--cancelled { background: #fee2e2; color: #b91c1c; }
.badge-status--closed { background: #e2e8f0; color: #475569; }

/* Checkout payment methods */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 560px) { .pay-methods { grid-template-columns: 1fr; } }
.pay-method { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.pay-method__label strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.pay-method__label span { color: var(--grey-light); font-size: .85rem; }
.pay-method .btn { width: 100%; justify-content: center; }

/* ---- Google Translate language picker --------------------------------- */
.topbar__lang { display: inline-flex; align-items: center; gap: 5px; }
.topbar__lang svg { width: 15px; height: 15px; color: #cbd5e1; flex: none; }
.topbar__lang #google_translate_element { line-height: 1; }
/* Hide ALL Google Translate iframe chrome (top banner, menus, tooltips).
   Safe because translation is driven via our own #sc-lang dropdown, not Google's UI.
   Google's banner class is obfuscated (e.g. .VIpgJd-ZVi9od-ORHb-OEVmcd), so target all its iframes. */
iframe.skiptranslate, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
body { top: 0 !important; position: static !important; }
/* Google's own widget is hidden — we drive it from our #sc-lang dropdown */
#google_translate_element { position: absolute !important; left: -9999px !important; top: 0; width: 1px; height: 1px; overflow: hidden; }
.goog-te-gadget { font-size: 0 !important; }
/* our reliable, themed dropdown */
.lang-select {
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  background: rgba(255,255,255,.07); color: #e3edf5;
  border: 1px solid rgba(255,255,255,.32); border-radius: 50px;
  padding: 6px 12px; margin: 0; max-width: 180px; cursor: pointer; outline: none;
}
.lang-select:hover { border-color: var(--teal); }
.lang-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(192,57,43,.25); }
.lang-select option { color: #1a1a1a; background: #fff; }
/* dark-on-dark gateway variant */
.gw2-top .topbar__lang svg { color: #8fb0c9; }
/* remove Google's text highlight on translated nodes */
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font.goog-text-highlight { background: none !important; }

/* ---- Fix: list-check checkmark (override .prose bullet conflict) ------- */
.list-check li, .prose ul.list-check li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.list-check li::before, .prose ul.list-check li::before {
  content: "\2713"; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal-dark); display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; padding: 0; position: absolute;
}

/* ==========================================================================
   v3 — All-Products shop layout + multi-select quote basket
   ========================================================================== */

/* top info strip under the products hero */
.shop-bar { background: var(--navy); color: #cbd5e1; }
.shop-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 24px; }
.shop-bar__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; align-items: center; }
.shop-bar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.shop-bar__meta svg { width: 16px; height: 16px; color: var(--teal-light); }
.shop-bar__actions { display: flex; gap: 10px; }
.shop-bar__actions .btn { padding: 9px 16px; font-size: .9rem; }
.shop-bar .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.shop-bar .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* layout: sidebar + grid */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.shop-layout > * { min-width: 0; }  /* let grid children shrink — stops the product grid forcing sideways overflow on phones */
.shop-sidebar { position: sticky; top: 92px; }
.shop-sidebar h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 14px; }
.shop-cats { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shop-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; color: var(--navy); font-weight: 600; font-size: .95rem; border-bottom: 1px solid var(--border); }
.shop-cat:last-child { border-bottom: 0; }
.shop-cat:hover { background: var(--teal-tint); color: var(--teal-dark); }
.shop-cat.is-active { background: var(--teal); color: #fff; }
.shop-cat .count { background: rgba(0,0,0,.06); color: inherit; border-radius: 50px; padding: 1px 10px; font-size: .8rem; font-weight: 700; }
.shop-cat.is-active .count { background: rgba(255,255,255,.25); }
.shop-cat svg { width: 18px; height: 18px; flex: none; }
.shop-cat__label { display: flex; align-items: center; gap: 10px; }

/* toolbar above grid */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-toolbar h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.shop-toolbar__right { display: flex; align-items: center; gap: 16px; }
.shop-count { color: var(--grey-light); font-size: .9rem; }
.select-all { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.shop-search { padding: 9px 14px; border: 1px solid var(--border); border-radius: 50px; font-family: var(--font-body); font-size: .92rem; min-width: 210px; background: var(--cream-soft); }
.shop-search:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,130,.12); background: #fff; }

/* product card additions */
.product-card { position: relative; }
.pc-check { position: absolute; top: 12px; left: 12px; z-index: 3; width: 22px; height: 22px; accent-color: var(--teal); cursor: pointer; }

/* Denser catalogue on wide screens — smaller cards, more per row. */
.shop-main .grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(235px, 100%), 1fr)); gap: 18px; }

/* ---- Product quick view ------------------------------------------------- */
.product-card__imglink { position: relative; display: block; }
.qv-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  border: 0; cursor: pointer; border-radius: 50px;
  background: rgba(43,48,56,.88); color: #fff;
  font: 600 .76rem var(--font-body); letter-spacing: .02em;
  padding: .45rem .85rem; opacity: 0; transform: translateY(4px);
  transition: opacity var(--t), transform var(--t), background var(--t);
}
.product-card:hover .qv-btn, .qv-btn:focus-visible { opacity: 1; transform: none; }
.qv-btn:hover { background: var(--teal); }
@media (hover: none) { .qv-btn { opacity: 1; transform: none; } }

.qv-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(18,22,27,.62); display: flex; align-items: center; justify-content: center; padding: 20px; }
.qv-modal { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 840px; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 320px 1fr; }
.qv-media { background: #f3f5f7; display: flex; align-items: center; justify-content: center; padding: 22px; }
.qv-media img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.qv-info { padding: 26px 30px 28px; }
.qv-info h3 { font-size: 1.35rem; margin: 8px 0 6px; }
.qv-close { position: absolute; top: 8px; right: 12px; z-index: 2; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--grey); }
.qv-close:hover { color: var(--navy); }
.qv-price { margin: 0 0 6px; }
.qv-price strong { font-size: 1.3rem; color: var(--navy); }
.qv-price s { color: var(--grey-light); margin-left: 8px; font-size: .95rem; }
.qv-price span { color: var(--grey-light); font-size: .82rem; }
.qv-stock { margin: 0 0 8px; font-size: .9rem; }
.qv-desc { font-size: .95rem; }
.qv-specs { list-style: disc; padding-left: 18px; margin: 8px 0 0; font-size: .9rem; color: var(--grey); }
.qv-specs li { margin-bottom: 3px; }
.qv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 680px) {
  .qv-modal { grid-template-columns: 1fr; }
  .qv-media { padding: 16px; }
  .qv-media img { max-height: 220px; width: auto; }
}
.product-card.is-added { outline: 2px solid var(--teal); outline-offset: 2px; }
.add-quote { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.add-quote .added-label { display: none; }
.add-quote.is-added { background: var(--teal-dark); }
.add-quote.is-added .add-label { display: none; }
.add-quote.is-added .added-label { display: inline-flex; align-items: center; gap: 7px; }
.product-card__actions { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.product-card__actions .btn { width: 100%; justify-content: center; }

/* floating quote basket button (sits above WhatsApp fab) */
.quote-fab { position: fixed; right: 20px; bottom: 88px; z-index: 95; display: none; }
.quote-fab.show { display: block; }
.quote-fab a { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff; font-weight: 700; font-family: var(--font-head); padding: 13px 20px; border-radius: 50px; box-shadow: var(--shadow-lg); }
.quote-fab a:hover { background: var(--orange-dark); color: #fff; }
.quote-fab .qf-count { background: #fff; color: var(--orange-dark); border-radius: 50px; padding: 0 9px; min-width: 24px; text-align: center; }

/* selected items list on the quote page */
.quote-items { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; margin-bottom: 18px; }
.quote-items__empty { color: var(--grey-light); font-size: .9rem; padding: 12px; }
.qi-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.qi-row:last-child { border-bottom: 0; }
.qi-row button { background: none; border: 0; color: var(--red); cursor: pointer; font-size: .85rem; font-weight: 600; }

.shop-cat-select { display: none; }   /* mobile-only category dropdown */

@media (max-width: 860px) {
  body { overflow-x: hidden; }               /* belt & braces: no sideways page scroll */
  .shop-layout { grid-template-columns: 1fr; gap: 20px; }
  .shop-sidebar { position: static; }
  /* On phones the category list becomes a single dropdown — one tap, native
     picker, no sideways swiping, can't blow the layout out. */
  .shop-cats { display: none; }
  .shop-cat-select {
    display: block; width: 100%; padding: 13px 44px 13px 16px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D4550' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 17px;
    -webkit-appearance: none; appearance: none;
  }
  .shop-cat-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,126,130,.12); }
}

/* ==========================================================================
   v7 — ENGINEERING DOSSIER
   De-templates the site: sharp corners, hairline rules, mono data labels,
   numbered sections, no floaty shadows, red used as a precision marker.
   Appended last so it overrides the earlier layers.
   ========================================================================== */

:root {
  --radius: 3px;
  --radius-sm: 2px;
  --hairline: #D8DCE1;
}

/* --- Cards: bordered panels, not floating rounded blobs ------------------ */
.card {
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--hairline);
  transition: border-color var(--t), transform var(--t);
}
.card:hover { box-shadow: none; transform: none; border-color: #9AA4AD; }

/* --- Buttons: squared, mono, engineered ---------------------------------- */
.btn {
  border-radius: var(--radius);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn--lg { font-size: .85rem; }
.quote-fab a { border-radius: 50px; font-family: var(--font-head); text-transform: none; letter-spacing: 0; } /* floating basket stays round */

/* --- Tags & badges: mono chips ------------------------------------------- */
.tag {
  border-radius: var(--radius-sm);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--grey);
  padding: 3px 8px;
}
.badge-special { border-radius: var(--radius-sm); font-family: var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; }

/* --- Section heads: left-aligned, ruled, auto-numbered -------------------- */
body { counter-reset: dossier; }
.section-head {
  text-align: left;
  max-width: none;
  border-top: 1px solid var(--ink, #2B3038);
  padding-top: 18px;
  margin-bottom: 40px;
}
.section-head h2 { max-width: 760px; }
.section-head p { margin-left: 0; max-width: 640px; }
.eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-head .eyebrow::before {
  counter-increment: dossier;
  content: counter(dossier, decimal-leading-zero) " — ";
  color: var(--orange);
  font-weight: 700;
}

/* --- Check lists: precision markers, not friendly circles ----------------- */
.list-check li::before,
.prose .list-check li::before {
  content: "+";
  background: transparent;
  color: var(--orange);
  font-family: var(--mono, ui-monospace, monospace);
  font-weight: 700;
  width: auto; height: auto;
  border-radius: 0;
  font-size: 1rem;
  top: -1px;
}

/* --- Icon tiles: strip the tinted rounded squares -------------------------- */
.card__icon { background: transparent; width: auto; height: auto; margin-bottom: 8px; border-radius: 0; }
.card__icon svg { color: var(--orange); }

/* --- Tinted sections: graph paper ----------------------------------------- */
.section--tint {
  background-color: #F6F7F9;
  background-image:
    linear-gradient(rgba(61,69,80,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,69,80,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* --- Trust strip: instrument readout --------------------------------------- */
.trust-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: #fff; }
.trust-strip .container > * {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* --- CTA band: flat, ruled, no gradient ------------------------------------ */
.cta-band {
  background: var(--navy);
  border-radius: var(--radius);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* --- Shop / catalogue refinements ------------------------------------------ */
.shop-search { border-radius: var(--radius); background: #fff; }
.shop-cats { border-radius: var(--radius); }
.shop-cat .count { border-radius: var(--radius-sm); font-family: var(--mono, ui-monospace, monospace); font-size: .68rem; }
.pc-price__now, .pd-price__now { font-family: var(--font-head); letter-spacing: 0; }
.pc-stock, .pd-stock { font-family: var(--mono, ui-monospace, monospace); font-size: .72rem !important; letter-spacing: .06em; text-transform: uppercase; }
.qv-btn { border-radius: var(--radius-sm); font-family: var(--mono, ui-monospace, monospace); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.team-card__photo { border-radius: 0; }
.shop-cat-select { border-radius: var(--radius); }

/* --- Service index (dossier rows on the services page) --------------------- */
.svc-index { border-top: 1px solid var(--ink, #2B3038); }
.svc-row {
  display: grid;
  grid-template-columns: 72px 1.35fr 1fr 190px;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--hairline);
  color: inherit;
  transition: background var(--t);
}
.svc-row:hover { background: #F6F7F9; }
.svc-row__no {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-light);
  transition: color var(--t);
}
.svc-row:hover .svc-row__no { color: var(--orange); }
.svc-row h3 { font-size: 1.25rem; margin-bottom: 6px; }
.svc-row p { font-size: .93rem; color: var(--grey); margin: 0; }
.svc-row__data { display: grid; gap: 8px; margin: 0; }
.svc-row__data > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.svc-row__data dt {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-light); padding-top: 2px;
}
.svc-row__data dd {
  margin: 0; font-family: var(--mono, ui-monospace, monospace);
  font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
}
.svc-row__cta {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); font-weight: 700; text-align: right; white-space: nowrap;
}
@media (max-width: 980px) {
  .svc-row { grid-template-columns: 48px 1fr; gap: 10px 18px; }
  .svc-row__no { font-size: 1.1rem; }
  .svc-row__data { grid-column: 2; margin-top: 4px; }
  .svc-row__cta { grid-column: 2; text-align: left; margin-top: 6px; }
}

/* ---- Grouped / kit products ("Choose Products") ------------------------- */
.badge-grouped { position: absolute; top: 10px; right: 10px; z-index: 3; background: #2B3138; color: #fff; font: 700 .62rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; }
.kit-modal { max-width: 560px; display: block; }
.kit-head { padding: 26px 30px 8px; }
.kit-head h3 { font-size: 1.3rem; margin: 0 0 4px; }
.kit-head p { font-size: .9rem; color: var(--grey); margin: 0; }
.kit-list { padding: 10px 18px; max-height: 52vh; overflow-y: auto; }
.kit-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 8px; cursor: pointer; }
.kit-row:hover { border-color: #9aa4ad; }
.kit-row img, .kit-noimg { width: 48px; height: 48px; object-fit: cover; border-radius: 5px; background: #f3f5f7; flex: none; }
.kit-ck { width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.kit-name { flex: 1; font-weight: 600; color: var(--navy); font-size: .95rem; }
.kit-qty { width: 62px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 5px; font-family: var(--font-body); }
.kit-foot { padding: 16px 30px 24px; display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); }
.kit-warn { color: var(--red); font-size: .85rem; font-weight: 600; }

/* Admin: kit component checklist */
.kit-picker { border: 1px solid var(--border, #d8dce1); border-radius: 6px; max-height: 340px; overflow-y: auto; padding: 6px; }
.kit-picker label { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 4px; font-size: .92rem; cursor: pointer; }
.kit-picker label:hover { background: #f3f5f7; }
.kit-picker code { color: #6c7681; font-size: .78rem; }

/* ==========================================================================
   v8 — motion polish: fly-to-quote, staggered reveals, corner brackets,
   WhatsApp radar ping. All react to the visitor; nothing moves while reading.
   ========================================================================== */

/* 1) "Fly to quote/cart" — cloned product image arcing into the fab */
.fly-img { position: fixed; z-index: 99998; object-fit: cover; border-radius: 6px; pointer-events: none; opacity: .95; will-change: transform; transition: transform .7s cubic-bezier(.45,-.05,.25,1), opacity .7s ease; }
.fab-pop > a { animation: fabPop .45s cubic-bezier(.3,1.4,.5,1); }
@keyframes fabPop { 40% { transform: scale(1.14); } }

/* 3) Corner brackets draw in on card hover — instrument-viewport lock-on */
.card, .product-card { position: relative; }
.card::before, .card::after, .product-card::before, .product-card::after {
  content: ""; position: absolute; width: 0; height: 0; pointer-events: none;
  border: 0 solid var(--orange); opacity: 0;
  transition: width .22s ease, height .22s ease, opacity .22s ease;
}
.card::before, .product-card::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.card::after, .product-card::after  { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.card:hover::before, .card:hover::after,
.product-card:hover::before, .product-card:hover::after { width: 22px; height: 22px; opacity: 1; }

/* Cookie consent bar (POPIA) ---------------------------------------------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99980;
  background: #22262b; border-top: 2px solid var(--orange);
  transform: translateY(105%); transition: transform .35s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,.35);
}
.cookie-bar.show { transform: none; }
.cookie-bar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-bar__inner p { margin: 0; color: #cfe0ef; font-size: .92rem; flex: 1 1 380px; line-height: 1.5; }
.cookie-bar__inner p strong { color: #fff; }
.cookie-bar__inner p a { color: var(--orange); font-weight: 700; }
.cookie-bar__actions { display: flex; gap: 10px; flex: none; }
.cookie-bar__actions .btn--ghost { color: #cfe0ef; border-color: rgba(255,255,255,.35); }
.cookie-bar__actions .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .cookie-bar__actions { width: 100%; } .cookie-bar__actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* Card quantity: pick how many right on the product card ------------------ */
.pc-addrow { display: flex; gap: 8px; align-items: stretch; }
.pc-addrow .btn { flex: 1; min-width: 0; }
.pc-qty {
  width: 58px; flex: none; text-align: center; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--white); padding: 6px 4px;
}
.pc-qty:focus { outline: none; border-color: var(--orange); }

/* Quick remove — appears only once the item is in the quote/cart */
.pc-remove {
  display: none; width: 40px; flex: none; border: 1px solid var(--border);
  background: var(--white); color: #b3261e; font-size: 1.25rem; line-height: 1;
  border-radius: var(--radius-sm); cursor: pointer;
}
.add-quote.is-added ~ .pc-remove,
.add-cart.is-added ~ .pc-remove { display: inline-flex; align-items: center; justify-content: center; }
.pc-remove:hover { background: #b3261e; border-color: #b3261e; color: #fff; }

/* Site-wide search: header trigger buttons + full-screen overlay ---------- */
.nav__searchbtn, .gw2-searchbtn {
  background: none; border: 0; cursor: pointer; color: #cfe0ef; padding: 8px;
  display: inline-flex; align-items: center; border-radius: var(--radius-sm); transition: color var(--t), background var(--t);
}
.nav__searchbtn svg, .gw2-searchbtn svg { width: 19px; height: 19px; }
.nav__searchbtn:hover, .gw2-searchbtn:hover { color: #fff; background: rgba(255,255,255,.08); }

.site-search { position: fixed; inset: 0; z-index: 99990; background: rgba(12,17,24,.72); backdrop-filter: blur(3px); display: none; }
.site-search.open { display: block; }
.site-search__panel {
  max-width: 640px; margin: 9vh auto 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: siteSearchIn .18s ease;
}
@keyframes siteSearchIn { from { opacity: 0; transform: translateY(-10px); } }
.site-search__bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.site-search__bar svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.site-search__bar input {
  flex: 1; border: 0; outline: none; font-family: var(--font-body); font-size: 1.1rem; color: var(--ink); background: transparent;
}
.site-search__close { background: none; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--grey-light); padding: 2px 6px; }
.site-search__close:hover { color: var(--ink); }
.site-search__results { max-height: 56vh; overflow-y: auto; padding: 10px 8px 14px; }
.site-search__group {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem;
  color: var(--orange); margin: 12px 10px 4px; padding-top: 6px;
}
.site-search__results a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: .96rem;
}
.site-search__results a:hover { background: var(--teal-tint); color: var(--teal-dark); }
.site-search__hint { padding: 22px 14px; color: var(--grey-light); font-size: .95rem; text-align: center; }
.site-search__hint a { color: var(--orange); font-weight: 700; }
@media (max-width: 640px) { .site-search__panel { margin: 0; max-width: none; height: 100%; border-radius: 0; } .site-search__results { max-height: none; height: calc(100% - 62px); } }
@media (prefers-reduced-motion: reduce) { .site-search__panel { animation: none; } }

/* Refurbished Sonar Machines — description panel shown when the doorway
   category is selected (the machines themselves live on sonarshop.co.za). */
.sonar-panel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 34px 36px; max-width: 780px; }
.sonar-panel h3 { font-size: 1.45rem; margin: 6px 0 12px; }
.sonar-panel .list-check { margin: 16px 0 22px; }
.sonar-panel__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sonarshop entries: behave exactly like the other category rows (same hover
   and selected treatment, always readable) — distinguished only by a dashed
   separator and an outlined "Shop ↗" tag instead of a product count. */
.shop-cat--shop { border-top: 1px dashed var(--border); margin-top: 6px; }
.shop-cat--shop .count { background: transparent; border: 1px solid var(--orange); color: var(--orange); line-height: 1.6; white-space: nowrap; flex: none; }
.shop-cat--shop.is-active .count,
.shop-cat--shop:hover .count { border-color: currentColor; color: inherit; }
.dropdown a.dropdown__shop { color: var(--orange); }
.dropdown a.dropdown__shop:hover { color: #fff; background: rgba(192,57,43,.25); }

/* 5) WhatsApp radar ping — one quiet expanding ring every 8s */
.wa-fab__btn { position: relative; }
.wa-fab__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; pointer-events: none; animation: waPing 8s ease-out infinite; }
@keyframes waPing { 0% { transform: scale(.95); opacity: .8; } 14% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .fly-img { display: none; }
  .fab-pop > a { animation: none; }
  .wa-fab__btn::after { animation: none; }
  .card::before, .card::after, .product-card::before, .product-card::after { transition: none; }
}
