/* ============================================================
   QSC — Authorised NZ reseller landing + sales pages
   Light theme aligned to qsc.com (white / #0076BF / Futura-style)
   ============================================================ */

:root {
  /* Colours */
  --bg-page: #ffffff;
  --bg-band: #f4f6f8;
  --surface: #ffffff;
  --img-well: #eef1f5;
  --img-well-2: #f2f4f7;

  --accent: #0076bf;          /* QSC blue */
  --accent-hover: #005f9c;
  --accent-light: #2a93d6;
  --link-hover: #005f9c;

  --text-strong: #14171b;     /* headings */
  --text-primary: #33383f;    /* body */
  --text-secondary-1: #454b54;
  --text-secondary-2: #565c66;
  --text-muted-1: #7b828c;
  --text-muted-2: #949aa4;
  --text-muted-3: #aeb4bd;

  --hairline: rgba(20, 23, 27, 0.10);
  --frame: rgba(20, 23, 27, 0.12);
  --control-1: rgba(20, 23, 27, 0.16);
  --control-2: rgba(20, 23, 27, 0.22);
  --control-3: rgba(20, 23, 27, 0.28);

  --card-shadow: 0 1px 2px rgba(20, 23, 27, 0.04), 0 10px 30px rgba(20, 23, 27, 0.06);
  --card-shadow-hover: 0 2px 6px rgba(20, 23, 27, 0.06), 0 16px 40px rgba(0, 118, 191, 0.10);

  --maxw: 1280px;
  --gutter: 40px;

  --font-display: "Jost", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--link-hover); }

::selection { background: var(--accent); color: #fff; }

img { display: block; max-width: 100%; }

/* the [hidden] attribute must always win, even over .btn/.modal display rules */
[hidden] { display: none !important; }

/* ---------- Shared layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-strong);
}
.h2-lg { font-size: 44px; }
.h2-sm { font-size: 34px; }

/* ---------- Image wells ----------
   Light "spotlight" pool so dark QSC gear pops. Lifestyle photos use
   .img-well.cover to fill the frame. */
.img-well {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eef1f5 58%, #e4e8ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-well > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-sizing: border-box;
  padding: 9%;
}
.img-well.cover { background: var(--img-well); }
.img-well.cover > img { object-fit: cover; padding: 0; }
.img-well .placeholder {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted-2);
  letter-spacing: 0.02em;
}

/* hero product floats on the banner (no card), grounded with a soft shadow */
.hero-media .img-well { background: transparent; overflow: visible; }
.hero-media .img-well::before {
  content: "";
  position: absolute;
  inset: 8% 6% 12%;
  background: radial-gradient(circle, rgba(0, 118, 191, 0.12), transparent 68%);
  pointer-events: none;
}
.hero-media .img-well > img {
  padding: 4%;
  position: relative;
  filter: drop-shadow(0 26px 34px rgba(20, 23, 27, 0.20));
}
.prod-card .img-well > img { padding: 7%; }
.price-inc { font-size: 11.5px; color: var(--text-muted-1); font-weight: 500; display: block; margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; padding: 15px 28px; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text-strong);
  padding: 15px 28px;
  border: 1px solid var(--control-2);
  font-weight: 600;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 10px 18px; font-size: 14px; font-weight: 600; border-radius: 8px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-left { display: flex; align-items: center; gap: 38px; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.wordmark .dot { color: var(--accent); }

/* Official QSC logo (SVG) */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 26px; width: auto; display: block; }
.footer .brand { display: flex; align-items: center; }
.footer .brand img { height: 19px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--text-secondary-1); }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--accent-hover); color: #fff; }

/* Mobile menu (CSS-only) */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-strong);
  border-radius: 2px;
}

/* ============================================================
   HERO — full-bleed QSC-style banner
   ============================================================ */
.hero-banner {
  background:
    radial-gradient(900px 520px at 72% 34%, rgba(0, 118, 191, 0.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
  border-bottom: 1px solid var(--hairline);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 40px 96px;
}
.hero-glow { display: none; }
.hero-copy { position: relative; z-index: 2; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--control-1);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary-2);
  text-transform: uppercase;
  margin-bottom: 26px;
  background: #fff;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 62px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--text-strong);
  text-wrap: balance;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary-2);
  max-width: 520px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  z-index: 2;
  aspect-ratio: 5 / 4;
  overflow: visible;
  border: none;
  background: transparent;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-band);
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-strong);
}
.trust-item .cap { font-size: 13.5px; color: var(--text-muted-1); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}
.section-head-center { text-align: center; margin-bottom: 48px; }
.section-head-center p {
  font-size: 16px;
  color: var(--text-secondary-2);
  max-width: 560px;
  margin: 14px auto 0;
}
.link-strong { font-size: 15px; font-weight: 600; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.cat-card:hover {
  border-color: rgba(0, 118, 191, 0.45);
  box-shadow: var(--card-shadow-hover);
  color: inherit;
  transform: translateY(-2px);
}
.cat-card .well { aspect-ratio: 1 / 1; background: var(--img-well); }
.cat-card .body { padding: 20px; }
.cat-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-strong);
  margin-bottom: 5px;
}
.cat-card .cap { font-size: 13.5px; color: var(--text-muted-1); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.prod-card:hover {
  border-color: rgba(0, 118, 191, 0.35);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.prod-card .well { aspect-ratio: 4 / 3; background: var(--img-well); position: relative; }
.prod-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.prod-card .label { font-size: 12.5px; color: var(--text-muted-1); font-weight: 600; }
.prod-card .model {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-strong);
}
.prod-card .desc {
  font-size: 14px;
  color: var(--text-secondary-2);
  line-height: 1.5;
  margin: 2px 0 16px;
}
.prod-card .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.prod-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-strong);
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  text-transform: uppercase;
}

/* ============================================================
   PACKAGES
   ============================================================ */
.pkg-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  box-shadow: var(--card-shadow);
}
.pkg-card.featured {
  background: linear-gradient(180deg, #eaf4fc, #f6fafd);
  border: 1px solid var(--accent);
}
.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.pkg-card .sub { font-size: 14px; color: var(--text-muted-1); margin: 0 0 22px; }
.pkg-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  color: var(--text-strong);
  margin-bottom: 2px;
}
.pkg-card .save { font-size: 13px; color: var(--text-muted-1); margin-bottom: 24px; }
.pkg-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-secondary-1);
}
.pkg-card li { display: flex; gap: 10px; }
.pkg-card li .tick { color: var(--accent); font-weight: 700; }

.pkg-cta {
  margin-top: auto;
  text-align: center;
  padding: 13px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pkg-cta.outline { border: 1px solid var(--control-2); color: var(--text-strong); }
.pkg-cta.outline:hover { border-color: var(--accent); color: var(--accent); }
.pkg-cta.solid { background: var(--accent); color: #fff; font-weight: 700; }
.pkg-cta.solid:hover { background: var(--accent-hover); color: #fff; }

/* ============================================================
   PROJECTS / LINEUP GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.gallery > div {
  border-radius: 18px;
  overflow: hidden;
  background: var(--img-well);
  position: relative;
  box-shadow: var(--card-shadow);
}
.gallery > div.tall { grid-row: span 2; }

/* ============================================================
   CTA BAND — QSC-blue filled accent block
   ============================================================ */
.cta-band { max-width: var(--maxw); margin: 96px auto 0; padding: 0 40px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, #0076bf, #005f9c);
  border: 1px solid transparent;
  padding: 64px 56px;
  text-align: center;
}
.cta-panel .glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}
.cta-panel p {
  position: relative;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 30px;
}
.cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
/* buttons inverted for the blue band */
.cta-panel .btn-primary { background: #fff; color: var(--accent); }
.cta-panel .btn-primary:hover { background: #eaf3fc; color: var(--accent-hover); }
.cta-panel .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.cta-panel .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.10); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-strong);
}
.footer .brand .note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted-1);
  margin-left: 8px;
}
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a { color: var(--text-secondary-2); }
.footer-links a:hover { color: var(--accent); }
.footer .copy { font-size: 13px; color: var(--text-muted-2); }

/* ============================================================
   SALES PAGE — page intro + category groups
   ============================================================ */
.page-intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 40px 40px;
  position: relative;
}
.page-intro .glow {
  position: absolute;
  top: -80px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 118, 191, 0.10), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.page-intro h1 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text-strong);
  text-wrap: balance;
  max-width: 720px;
}
.page-intro p {
  position: relative;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary-2);
  max-width: 620px;
  margin: 0 0 28px;
}
.page-intro .actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

.cat-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-band);
}
.cat-jump-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 9px 16px;
  border: 1px solid var(--control-1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary-1);
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.cat-group { max-width: var(--maxw); margin: 0 auto; padding: 72px 40px 0; }
.cat-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.cat-group-head .lead { display: flex; flex-direction: column; gap: 8px; }
.cat-group-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-strong);
}
.cat-group-head .cap { font-size: 14.5px; color: var(--text-muted-1); }

/* price note on sales cards without a fixed price */
.prod-card .price-note {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-muted-1);
}

/* ============================================================
   CONTACT MODAL + FORM
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 23, 27, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 30px 26px;
  box-shadow: 0 24px 64px rgba(20, 23, 27, 0.30);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal-x {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--text-muted-1); cursor: pointer; padding: 4px 8px; border-radius: 8px;
}
.modal-x:hover { color: var(--text-strong); background: var(--bg-band); }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text-strong); margin: 4px 0 8px; letter-spacing: -0.01em; }
.modal-sub { font-size: 14.5px; color: var(--text-secondary-2); margin: 0 0 20px; line-height: 1.5; }

#contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary-1); margin-bottom: 14px; }
#contact-form input, #contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  font-family: var(--font-body); font-size: 15px; color: var(--text-strong);
  background: #fff; border: 1px solid var(--control-2); border-radius: 9px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 118, 191, 0.15);
}
#contact-form textarea { resize: vertical; min-height: 96px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; gap: 12px; margin-top: 2px; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 auto; justify-content: center; }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; font-weight: 600; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.form-note { font-size: 12.5px; color: var(--text-muted-1); margin: 14px 0 0; }
.form-status { font-size: 14px; margin: 12px 0 0; }
.form-status.ok { color: #1a8a4f; font-weight: 600; }
.form-status.err { color: #c0392b; font-weight: 600; }

/* WhatsApp inline button (CTA bands) — green on the blue band */
.cta-panel .btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.cta-panel .btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; padding: 64px 40px 60px; }
  .hero h1 { font-size: 50px; }
  .hero-media { max-width: 460px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .gallery > div.tall { grid-row: span 1; grid-column: span 2; }
  .page-intro h1 { font-size: 44px; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }

  .nav { padding: 16px 22px; }
  .nav-left { gap: 0; }
  .brand-logo img { height: 22px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--card-shadow);
    padding: 8px 22px 16px;
    display: none;
  }
  .nav-links a {
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--hairline);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-toggle:checked ~ .nav-left .nav-links { display: flex; }
  .hamburger { display: flex; }

  .hero { padding: 48px 22px 48px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }

  .h2-lg { font-size: 34px; }
  .h2-sm { font-size: 28px; }
  .cta-panel { padding: 44px 26px; }
  .cta-panel h2 { font-size: 32px; }

  .page-intro { padding: 48px 22px 32px; }
  .page-intro h1 { font-size: 36px; }
  .page-intro p { font-size: 16px; }
  .cat-group-head h2 { font-size: 26px; }

  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .cta-actions .btn, .page-intro .actions .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery > div.tall { grid-column: span 1; }
  .footer { flex-direction: column; align-items: flex-start; }
  .field-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px 22px; }
}

/* ============================================================
   PRODUCT DETAIL PAGE (generated: product/<slug>.html)
   ============================================================ */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 22px 40px 0; font-size: 13px; color: var(--text-muted-1); }
.crumbs a { color: var(--text-muted-1); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 7px; color: var(--text-muted-2); }
.crumbs .here { color: var(--text-secondary-1); }

.pdp {
  max-width: var(--maxw); margin: 0 auto; padding: 26px 40px 10px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start;
}
.pdp-main {
  aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--hairline); box-shadow: var(--card-shadow);
}
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pdp-thumb {
  width: 78px; height: 78px; padding: 0; border: 1px solid var(--control-1);
  border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer;
  transition: border-color 0.15s ease;
}
.pdp-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0,118,191,0.15); }
.pdp-thumb .img-well { border-radius: 0; }

.pdp-info { padding-top: 6px; }
.pdp-title {
  font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--text-strong); margin: 6px 0 6px;
}
.badge.badge-inline { position: static; display: inline-block; vertical-align: middle; margin-left: 8px; top: auto; left: auto; }
.pdp-tagline { font-size: 16px; color: var(--text-secondary-2); margin: 0 0 16px; }
.pdp-price { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--text-strong); margin-bottom: 18px; }
.pdp-price .price-inc { display: inline; margin-left: 8px; font-size: 13px; }
.pdp-lead { font-size: 16px; line-height: 1.6; color: var(--text-secondary-1); margin: 0 0 24px; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pdp-trust { font-size: 13px; color: var(--text-muted-1); margin: 0; }

.pdp-detail {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 40px 0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}
.pdp-desc p { font-size: 15.5px; line-height: 1.7; color: var(--text-secondary-1); margin: 0 0 14px; }
.pdp-subhead { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-strong); margin: 22px 0 12px; }
.pdp-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-secondary-1); }
.pdp-features li { display: flex; gap: 10px; }
.pdp-features .tick { color: var(--accent); font-weight: 700; }

.pdp-specs { background: var(--bg-band); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; position: sticky; top: 88px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.spec-table th { text-align: left; font-weight: 500; font-size: 13.5px; color: var(--text-muted-1); padding: 9px 12px 9px 0; vertical-align: top; border-bottom: 1px solid var(--hairline); width: 42%; }
.spec-table td { font-size: 14px; color: var(--text-strong); padding: 9px 0; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.pdp-buy-wide { width: 100%; justify-content: center; }
.pdp-ask-link { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 600; }

/* related products strip */
.rel-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 14px; overflow: hidden; box-shadow: var(--card-shadow); color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rel-card:hover { border-color: rgba(0,118,191,0.35); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); color: inherit; }
.rel-card .img-well { aspect-ratio: 1 / 1; }
.rel-body { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.rel-model { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-strong); }
.rel-price { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-secondary-1); }

/* sales card → detail-page links */
.prod-card a.well { display: block; }
.model-link { color: inherit; text-decoration: none; }
.model-link:hover .model { color: var(--accent); }
.pdp-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .pdp-detail { grid-template-columns: 1fr; gap: 26px; }
  .pdp-specs { position: static; }
}
@media (max-width: 560px) {
  .pdp, .pdp-detail { padding-left: 22px; padding-right: 22px; }
  .crumbs { padding-left: 22px; padding-right: 22px; }
  .pdp-title { font-size: 32px; }
}

/* accessories strip on product pages */
.acc-section { max-width: var(--maxw); margin: 0 auto; padding: 44px 40px 0; }
.acc-intro { font-size: 14.5px; color: var(--text-muted-1); margin: 0 0 18px; }
.acc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.acc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 12px; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.acc-row:hover { border-color: rgba(0, 118, 191, 0.4); box-shadow: var(--card-shadow); color: inherit; }
.acc-name { font-size: 14.5px; font-weight: 500; color: var(--text-strong); }
.acc-right { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.acc-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text-strong); }
.acc-buy { font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 640px) {
  .acc-section { padding-left: 22px; padding-right: 22px; }
  .acc-list { grid-template-columns: 1fr; }
}

/* colour / finish chooser on product pages */
.pdp-finish { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; flex-wrap: wrap; }
.pdp-finish-label { font-size: 12px; font-weight: 700; color: var(--text-muted-1); text-transform: uppercase; letter-spacing: 0.08em; }
.pdp-swatches { display: flex; gap: 8px; }
.pdp-swatch {
  padding: 8px 18px; border: 1px solid var(--control-2); border-radius: 100px; background: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text-secondary-1);
  cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.pdp-swatch:hover { border-color: var(--accent); color: var(--accent); }
.pdp-swatch.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
