@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f4f6f9;
  --surface-2: #e9eef5;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --brand: #cf1f2b;
  --brand-dark: #a61721;
  --wa: #16a34a;
  --wa-dark: #15803d;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-2: 0 12px 28px -8px rgba(15, 23, 42, 0.12), 0 4px 10px -4px rgba(15, 23, 42, 0.05);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding-left: 20px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; }

/* Top utility bar & sticky navigation */
.v3-topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.4;
}
.v3-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.v3-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.v3-topbar a { color: #f8fafc; font-weight: 500; }
.v3-topbar a:hover { color: #ffffff; text-decoration: underline; }

.v3-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.v3-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.brand span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}
.brand small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a:not(.button) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:not(.button):hover,
.nav-links a:not(.button).active {
  color: var(--brand);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle[hidden] { display: none; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.button svg { width: 17px; height: 17px; flex-shrink: 0; }
.button.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.button.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button.whatsapp { background: var(--wa); color: #fff; border-color: var(--wa); }
.button.whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.button.secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.button.secondary:hover { background: var(--surface); border-color: var(--ink); }
.button.dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.button.dark:hover { background: var(--dark-2); }
.button.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.button.outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.button.sm { padding: 8px 14px; font-size: 13.5px; }
.button.text {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}
.button.text:hover { color: var(--brand-dark); text-decoration: underline; }

/* Sections & Headings */
.v3-section { padding: clamp(44px, 5vw, 72px) 0; }
.v3-section.soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v3-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 10px;
}
.v3-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 32px;
}
.v3-sec-head h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.v3-sec-head p { max-width: 56ch; color: var(--ink-2); font-size: 15.5px; }

/* Hero */
.v3-hero {
  background: linear-gradient(180deg, var(--surface) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 4.5vw, 64px) 0;
}
.v3-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.v3-hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.v3-hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 22px;
}
.v3-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.v3-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.v3-hero-points svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
.v3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.v3-hero-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.v3-hero-media {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-2);
  text-align: center;
}
.v3-hero-media img {
  margin: 0 auto;
  max-height: 360px;
  width: auto;
  object-fit: contain;
}
.v3-hero-caption {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: left;
  flex-wrap: wrap;
}
.v3-hero-caption strong { font-family: var(--font-mono); color: var(--ink); }

/* Page Hero (Subpages) */
.v3-page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 4vw, 52px) 0;
}
.v3-page-hero--split .v3-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
.v3-page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 14px; }
.v3-page-hero p.v3-lead { font-size: 16.5px; color: var(--ink-2); max-width: 60ch; margin-bottom: 22px; }
.v3-page-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
}
.v3-page-hero-card img {
  margin: 0 auto;
  max-height: 270px;
  width: auto;
  object-fit: contain;
}
.v3-page-hero-card figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* Metrics / Trust Stat Bar */
.v3-metrics {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.v3-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.v3-metric {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.v3-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.v3-metric-icon svg { width: 18px; height: 18px; }
.v3-metric strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.v3-metric span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* Product Catalog Grid */
.v3-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.v3-catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.v3-catalog-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.v3-catalog-thumb {
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-catalog-thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.v3-catalog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.v3-catalog-series {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v3-catalog-body h3 { font-size: 1.2rem; }
.v3-catalog-body p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.v3-catalog-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Dark Cross-Reference Conversion Band */
.v3-crossref-band {
  background: var(--dark);
  color: #f8fafc;
  padding: clamp(44px, 5vw, 68px) 0;
}
.v3-crossref-band h2,
.v3-crossref-band h3 { color: #ffffff; }
.v3-crossref-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.v3-crossref-copy p { color: #cbd5e1; margin: 14px 0 22px; font-size: 15.5px; }
.v3-crossref-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow-x: auto;
}
.v3-crossref-mini table { width: 100%; border-collapse: collapse; min-width: 460px; }
.v3-crossref-mini th,
.v3-crossref-mini td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
}
.v3-crossref-mini tr:last-child td { border-bottom: 0; }
.v3-crossref-mini th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
}
.v3-crossref-mini td:first-child strong { font-family: var(--font-mono); color: #ffffff; }
.v3-crossref-mini td { color: #e2e8f0; }

/* Standard Cards & Grids */
.v3-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.v3-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.v3-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.v3-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v3-card h3 { font-size: 1.15rem; }
.v3-card p { font-size: 14.5px; color: var(--ink-2); }
.v3-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.06em;
}

/* QC & Factory Evidence Wall */
.v3-qc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.v3-qc-thumb {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-qc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v3-qc-thumb--doc img { object-fit: contain; padding: 10px; background: #fff; }
.v3-qc-body { padding: 16px 18px; }
.v3-qc-body strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }
.v3-qc-body p { font-size: 13.5px; color: var(--muted); }

/* Spec & Comparison Tables */
.v3-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.v3-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.v3-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.v3-table th,
.v3-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}
.v3-table tr:last-child td { border-bottom: 0; }
.v3-table th {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
}
.v3-table td:first-child strong { font-family: var(--font-mono); color: var(--ink); white-space: nowrap; }
.v3-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.v3-note a { color: var(--brand); text-decoration: underline; }

/* 3-Tier Fit Verdicts & Verification */
.jck-verdict {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.jck-verdict--drop-in { background: #dcfce7; color: #166534; }
.jck-verdict--check { background: #e0f2fe; color: #075985; }
.jck-verdict--review { background: #fef3c7; color: #92400e; }

.jck-callout {
  margin-top: 24px;
  padding: 18px 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #d97706;
  border-radius: var(--radius-sm);
}
.jck-callout h3 { font-size: 1.02rem; margin-bottom: 6px; color: #78350f; }
.jck-callout p { font-size: 14px; color: #78350f; }

/* Forms */
.v3-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.v3-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-1);
}
.v3-form-card h2 { font-size: 1.45rem; margin-bottom: 6px; }
.form-note { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(207, 31, 43, 0.12);
}
.field textarea { min-height: 92px; resize: vertical; }
.field small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.field small a { color: var(--brand); text-decoration: underline; }
.form-trap { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.jck-form-details {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 14px;
}
.jck-form-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  cursor: pointer;
  font-size: 13.8px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.jck-form-details > summary::-webkit-details-marker { display: none; }
.jck-form-details > summary::after {
  content: "+ Expand";
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--brand);
  flex-shrink: 0;
  white-space: nowrap;
}
.jck-form-details[open] > summary::after { content: "- Collapse"; }
.jck-form-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
}
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.consent-field input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.consent-field a { color: var(--brand); text-decoration: underline; }
.form-status { font-size: 13.5px; font-weight: 500; min-height: 1.2em; }
.form-status.pending { color: var(--ink-2); }
.form-status.success { color: #166534; }
.form-status.error { color: #b91c1c; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ Accordion */
.v3-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.v3-faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.v3-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.v3-faq-list summary::-webkit-details-marker { display: none; }
.v3-faq-list summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--brand); }
.v3-faq-list details[open] summary::after { content: "−"; }
.v3-faq-list p { padding-bottom: 16px; font-size: 14.5px; color: var(--ink-2); }

/* CTA Banner */
.v3-cta-band {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 4vw, 48px) 0;
}
.v3-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.v3-cta-inner h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 6px; }
.v3-cta-inner p { color: var(--ink-2); max-width: 58ch; }
.v3-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Authorization Section & Dialog (/about/) */
.auth-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.auth-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.auth-facts > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.auth-facts span { display: block; font-size: 12px; color: var(--muted); }
.auth-facts strong { display: block; font-size: 14px; color: var(--ink); margin-top: 2px; }
.certificate-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-1);
  margin: 0;
}
.certificate-preview img { max-height: 360px; width: auto; margin: 0 auto; }
.certificate-preview figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }

.jck-cert-dialog {
  width: min(740px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.jck-cert-dialog::backdrop { background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(4px); }
.jck-cert-dialog-box { display: flex; flex-direction: column; max-height: calc(100dvh - 26px); }
.jck-cert-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff;
}
.jck-cert-close {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.jck-cert-close:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.jck-cert-dialog-body { overflow-y: auto; padding: 16px; background: var(--surface); }
.jck-cert-dialog-body img { width: 100%; height: auto; border: 1px solid var(--line); }
.jck-cert-dialog-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.jck-cert-dialog-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; }

/* Footer */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: clamp(40px, 5vw, 60px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer h3 { color: #ffffff; font-size: 15.5px; margin-bottom: 12px; }
.footer p { font-size: 13.5px; color: #94a3b8; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.8px; color: #cbd5e1; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-contact { margin-top: 12px; font-size: 13.8px; }
.footer-contact a { color: #ffffff; font-weight: 500; }
.company-form-note { margin-top: 18px; font-size: 12.8px; color: #94a3b8; }
.company-form-note a { color: #e2e8f0; text-decoration: underline; }
.copyright { margin-top: 10px; font-size: 12.2px; color: #64748b; }

/* Floating Desktop WhatsApp + Mobile Sticky Bar + GDPR Banner */
.jck-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.34);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.jck-wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.jck-wa-float svg { width: 18px; height: 18px; }

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 48;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
  gap: 10px;
}
.mobile-sticky-cta[hidden] { display: none !important; }
.mobile-sticky-cta .button { flex: 1; padding: 10px 12px; font-size: 13.5px; }

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(440px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-2);
}
.cookie-banner p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.5; }
.cookie-banner a { color: var(--brand); text-decoration: underline; }
.cookie-banner-actions { display: flex; justify-content: flex-end; gap: 10px; }
.cookie-banner-actions .button { padding: 8px 14px; font-size: 13px; }

/* Legal & Helper */
.legal-article { max-width: 74ch; }
.legal-article h2 { font-size: 1.35rem; margin: 28px 0 10px; }
.legal-article p, .legal-article li { color: var(--ink-2); margin-bottom: 10px; }

/* Prevent CSS Grid tracks from expanding past viewport on wide tables */
.v3-hero-grid > *,
.v3-page-hero-grid > *,
.v3-crossref-grid > *,
.v3-split > *,
.v3-grid-2 > *,
.v3-grid-3 > *,
.v3-grid-4 > *,
.v3-catalog-grid > *,
.v3-metrics-grid > *,
.auth-proof > *,
.footer-grid > * {
  min-width: 0;
}

/* Selection and clipboard controls */
.jck-selector { display: grid; gap: 16px; }
.jck-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 14px;
}
.jck-selector-grid > *, .jck-selector > * { min-width: 0; }
.jck-selector-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: clamp(14px, 3vw, 22px);
  overflow-wrap: anywhere;
}
.jck-selector-result h3 { margin-bottom: 8px; }
.jck-selector-result p { margin: 10px 0; }
.jck-selector-result a:not(.button) { color: var(--brand); text-decoration: underline; }
.jck-selector-result .field { margin-top: 14px; }
.jck-selector-result .v3-hero-actions, .jck-selector-presets { margin-top: 12px; }
.jck-section-subhead { margin: 20px 0 8px; }
.jck-checklist { padding-inline-start: 1.4em; color: var(--ink-2); }
.jck-checklist li + li { margin-top: 6px; }
.jck-copy-email {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-inline-start: 5px;
  width: 30px;
  height: 30px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.jck-copy-email[hidden] { display: none; }
.jck-copy-email:hover { color: var(--brand); }
.footer .jck-copy-email { color: #fff; border-color: #64748b; }
.footer .jck-copy-email:hover { background: #334155; }
.jck-copy-status:not(:empty) { margin-inline-start: 6px; font-size: 13px; }
#quote, #form, #electrical-review, #faq, #export-terms, #nitv-selector, #lookup-selector { scroll-margin-top: 84px; }

/* Responsive Breakpoints */
.jck-breadcrumb { background: var(--surface); color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 14px 0; }
.jck-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; }
.jck-breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.jck-breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.jck-breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.jck-breadcrumb [aria-current] { color: var(--ink-2); }
.jck-catalog-filter { display: grid; gap: 16px; margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.jck-catalog-filter[hidden], .jck-catalog-filter [hidden] { display: none; }
.jck-catalog-filter ~ .v3-catalog-grid [hidden] { display: none; }
.jck-filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.jck-filter-pills [aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.jck-catalog-filter .field { min-width: 0; }
.jck-filter-input { width: 100%; min-width: 0; }
.jck-faq { display: grid; gap: 12px; }
.jck-faq details { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.jck-faq summary { cursor: pointer; font-weight: 600; }
.jck-faq p { margin-top: 12px; color: var(--ink-2); }
.jck-application-card img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 16px; }
.jck-application-card h2 { font-size: 1.35rem; }
.jck-engineering-table table { min-width: 960px; table-layout: fixed; }
.jck-engineering-table th { white-space: normal; }

@media (max-width: 980px) {
  .v3-hero-grid,
  .v3-page-hero--split .v3-page-hero-grid,
  .v3-crossref-grid,
  .v3-split,
  .auth-proof { grid-template-columns: minmax(0, 1fr); }
  .v3-metrics-grid,
  .v3-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-catalog-grid,
  .v3-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jck-wa-float { display: none; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 66px; }
  .cookie-banner { left: 16px; right: 16px; bottom: 74px; width: auto; }

  .menu-toggle:not([hidden]) { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 24px 20px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.button) { padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .button { margin-top: 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .v3-metrics-grid,
  .v3-catalog-grid,
  .v3-grid-2,
  .v3-grid-3,
  .v3-grid-4,
  .form-grid,
  .jck-form-details-grid,
  .auth-facts,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
