@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ============================================================================
   DESIGN SYSTEM TOKENS (Warm Architectural Graphite & Copper-Amber)
   No background grid, no neon yellow/cyan, no "//" technical noise.
   WCAG AA contrast >= 4.5:1 verified for all text tokens.
   ============================================================================ */
:root {
  --bg-page: #0E1116;
  --bg-surface: #151A22;
  --bg-elevated: #1C232E;
  --bg-hover: #252E3D;
  --bg-header: rgba(14, 17, 22, 0.92);
  --bg-footer: #090C10;
  --bg-stage: radial-gradient(75% 75% at 50% 46%, rgba(224, 159, 62, 0.14), rgba(21, 26, 34, 0.98) 100%);
  --bg-hud: rgba(14, 17, 22, 0.88);
  --bg-priority: linear-gradient(135deg, rgba(224, 159, 62, 0.14), rgba(21, 26, 34, 0.96));
  --bg-ambient: radial-gradient(circle at 12% 8%, rgba(224, 159, 62, 0.06), transparent 42%);
  --text-primary: #F3F5F8;
  --text-secondary: #C8D1DC;
  --text-muted: #9BA7B8;
  --accent-primary: #E09F3E;
  --accent-primary-hi: #F3B755;
  --accent-contrast: #0E1116;
  --accent-soft: rgba(224, 159, 62, 0.14);
  --focus-ring: #F3B755;
  --status-ok: #10B981;
  --status-warn: #F59E0B;
  --border-subtle: rgba(200, 209, 220, 0.14);
  --border-strong: rgba(200, 209, 220, 0.28);
  --border-accent: rgba(224, 159, 62, 0.52);
  --font-display: "Unbounded", system-ui, -apple-system, sans-serif;
  --font-sans: "Onest", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --shadow-card: 0 18px 38px -18px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 8px 22px -8px rgba(224, 159, 62, 0.5);
  --map-filter: grayscale(0.2) invert(0.9) hue-rotate(180deg);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg-page);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: var(--bg-ambient);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* C6.1: Skip to content link first in <body> */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--accent-primary);
  color: var(--accent-contrast);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* C6.2: Visible 2px contrasting :focus-visible outline on ALL interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring) !important;
  outline-offset: 2px !important;
}

.wrap {
  width: min(1260px, 92%);
  max-width: 100%;
  margin: 0 auto;
}
.site-header, #app-main, .site-footer, .page-view, section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.hero-grid > *,
.detail-grid > *,
.trust-grid > *,
.form-grid > *,
.contact-grid > *,
.header-inner > *,
.brands-carousel-wrap > * {
  min-width: 0;
}

/* ============================================================================
   B7 & C2: COMPACT SINGLE-LEVEL STICKY HEADER (<= 64px height)
   Content starts <= 110px on PC, <= 140px on 390px mobile.
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 62px;
  padding: 6px 0;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  flex-shrink: 0;
  min-height: 44px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--accent-primary);
  display: grid;
  place-items: center;
  color: var(--accent-primary);
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Main Navigation (5 main links + "More" dropdown) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.nav-link, .nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-link:hover, .nav-more-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.nav-link.active {
  color: var(--accent-primary-hi);
  background: var(--accent-soft);
}

.nav-more-wrap {
  position: relative;
}
.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 6px;
  z-index: 60;
}
.nav-more-wrap.open .nav-more-menu {
  display: grid;
  gap: 2px;
}
.nav-more-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.nav-more-menu a:hover, .nav-more-menu a.active {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Header Controls: Search Toggle, Language Switcher, WhatsApp, Burger */
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hdr-icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.hdr-icon-btn:hover {
  border-color: var(--accent-primary);
}

/* Expandable Header Quick Search Bar (C4.1) */
.header-search-bar {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.header-search-bar.open {
  display: block;
}
.header-search-inner {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-search-inner input {
  flex: 1;
  min-height: 44px;
  background: var(--bg-page);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-primary);
}

.lang-group {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  min-width: 38px;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 5px;
  transition: all 0.18s;
}
.lang-btn:hover {
  color: var(--text-primary);
}
.lang-btn[aria-pressed="true"] {
  background: var(--accent-primary);
  color: var(--accent-contrast);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out), background 0.18s, border-color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.btn-volt {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-accent);
}
.btn-volt:hover {
  background: var(--accent-primary-hi);
  transform: translateY(-1px);
}
.btn-tech {
  background: var(--accent-soft);
  color: var(--accent-primary-hi);
  border-color: var(--border-accent);
}
.btn-tech:hover {
  background: var(--accent-primary);
  color: var(--accent-contrast);
}
.btn-outline {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent-primary);
  background: var(--bg-hover);
}
.btn-sm {
  min-height: 40px;
  padding: 7px 14px;
  font-size: 13.5px;
}
.btn-lg {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15.5px;
}

.burger-btn {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  place-items: center;
}

/* C2: Full-Screen Accessible Mobile Menu Drawer */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(6px);
}
.mobile-backdrop.open {
  display: block;
}
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg-surface);
  padding: 16px 5vw 28px;
  overflow-y: auto;
  flex-direction: column;
  gap: 16px;
}
.mobile-drawer.open {
  display: flex;
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-close-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 22px;
  display: grid;
  place-items: center;
}
.mobile-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.mobile-nav-grid a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
}

/* Page Views Routing */
.page-view {
  display: none;
  animation: fadeView 0.24s var(--ease-out);
}
.page-view.active {
  display: block;
}
@keyframes fadeView {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography & Section Headers (B5 & B6: line-height 1.5, min 14px body, 12px secondary labels) */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary-hi);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.sec-head h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  font-weight: 700;
}
.sec-head p {
  color: var(--text-secondary);
  max-width: 60ch;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
}
section.sec {
  padding: 52px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ============================================================================
   HERO SECTION (B1: Single active layout Variant A; B3: steps placed BELOW 3D)
   ============================================================================ */
.hero-sec {
  position: relative;
  padding: 28px 0 44px;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
/* ВАРИАНТ B — ждёт решения (закомментирован по п. B1.2)
.hero-sec[data-variant="B"] .hero-grid {
  grid-template-columns: 1fr;
  gap: 26px;
}
*/

.hero-copy h1 {
  font-size: clamp(25px, 3.5vw, 44px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-copy .hero-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* Instant Model Search Box */
.hero-search-wrap {
  margin-top: 20px;
  max-width: 620px;
  position: relative;
}
.search-bar {
  display: flex;
  gap: 8px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.search-bar:focus-within {
  border-color: var(--accent-primary);
}
.search-bar input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-size: 15.5px;
  color: var(--text-primary);
  outline: none;
}
.search-bar input::placeholder {
  color: var(--text-muted);
}

/* Live search dropdown preview (C4.3: up to 5 suggestions, keyboard arrow support) */
.search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.65);
  z-index: 50;
  display: none;
  max-height: 340px;
  overflow-y: auto;
  text-align: left;
}
.search-dropdown.open {
  display: block;
}
.s-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.15s;
}
.s-item:hover, .s-item.kb-active {
  background: var(--bg-hover);
}
.s-item-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-primary);
}
.s-item-models {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* C7: Quick search model buttons with >= 44px height & >= 8px gap */
.quick-models {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-models span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.q-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 6px;
  transition: all 0.18s;
}
.q-chip:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  background: var(--bg-hover);
}

.hero-badges {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.h-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: left;
}
.h-badge strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.h-badge span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* 3D WebGL Stage Wrapper + External Step Buttons (B3: Model never covered!) */
.stage-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.webgl-card {
  position: relative;
  height: 370px;
  background: var(--bg-stage);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
#hero-canvas:active {
  cursor: grabbing;
}

/* 2D Fallback Schematic */
.hero-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 48px 20px 54px;
  background: var(--bg-stage);
}
.webgl-card.fallback-mode .hero-fallback {
  display: grid;
}
.webgl-card.fallback-mode #hero-canvas {
  display: none;
}

/* Stage Top & Bottom Bars */
.stage-top-bar {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
}
.stage-telemetry {
  background: var(--bg-hud);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  pointer-events: auto;
}
.stage-mode-btns {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}
.hud-btn {
  background: var(--bg-hud);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 36px;
  padding: 5px 11px;
  border-radius: 6px;
  transition: all 0.18s;
}
.hud-btn:hover, .hud-btn[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--accent-soft);
  color: var(--accent-primary-hi);
}

.stage-bottom-bar {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 5;
}
.model-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.m-tab {
  background: var(--bg-hud);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.18s;
}
.m-tab[aria-selected="true"] {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-color: var(--accent-primary);
  font-weight: 700;
}

/* B3 & C6.3: 4 Stage Inspection Buttons BELOW the 3D card (never covering the 3D model!) */
.stage-caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.stage-step-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s;
}
.stage-step-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.stage-step-btn b {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-primary-hi);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.stage-step-btn[aria-pressed="true"] {
  border-color: var(--accent-primary);
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* ============================================================================
   BRAND STRIP ("Kami Menyediakan Merk-Merk Ternama Yang Sudah Teruji Kualitasnya")
   ============================================================================ */
.brands-sec {
  padding: 48px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.brands-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 26px;
}
.brands-header h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}
.yellow-underline {
  width: 88px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}
.brands-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.carousel-arrow:hover {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: var(--accent-contrast);
}
.brands-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px;
  flex: 1;
}
.brands-track::-webkit-scrollbar {
  display: none;
}
.brand-tile {
  flex: 0 0 164px;
  min-height: 78px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: border-color 0.18s, transform 0.18s;
  cursor: pointer;
}
.brand-tile:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.brand-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.brand-tile-top span.code {
  font-family: var(--font-mono);
  color: var(--accent-primary-hi);
  font-weight: 700;
}
.brand-tile-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================================
   CATEGORY GROUPS & COMPACT CATALOG TOOLBAR (B8: Search first, 1-line tabs, products immediately visible)
   ============================================================================ */
.cat-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 14px;
}
.cat-group-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.cat-group-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.cat-group-card.priority {
  border-color: var(--border-accent);
  background: var(--bg-priority);
}
.cg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-primary-hi);
}
.cat-group-card h3 {
  font-size: 17px;
  line-height: 1.3;
}
.cat-group-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

/* B8: Compact Catalog Toolbar — Search FIRST, then 1-row scrollable tabs & categories */
.catalog-sec-compact {
  padding: 24px 0 56px;
}
.catalog-head-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.catalog-head-compact h1 {
  font-size: clamp(22px, 2.5vw, 30px);
}
.catalog-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.catalog-search-wrap {
  position: relative;
  flex: 1 1 280px;
}
.catalog-search-wrap input {
  width: 100%;
  min-height: 44px;
  background: var(--bg-page);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 15px;
  color: var(--text-primary);
}
.catalog-search-wrap input:focus {
  border-color: var(--accent-primary);
  outline: none;
}
.catalog-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 6px;
}

/* Single-line horizontal scroll with edge fade hint */
.scroll-strip-wrap {
  position: relative;
}
.group-tabs, .cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 4px;
}
.g-tab {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all 0.18s;
}
.g-tab[aria-selected="true"] {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-color: var(--accent-primary);
  font-weight: 700;
}
.c-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.18s;
}
.c-chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.c-chip[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-primary);
  color: var(--accent-primary-hi);
  font-weight: 700;
}

/* Product Grid & Cards (B6: min 14px body text, 12px secondary tags) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr));
  gap: 16px;
}
.p-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.p-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.p-img-wrap {
  position: relative;
  height: 164px;
  background: #0B0E14;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
}
.p-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}
.p-card:hover .p-img-wrap img {
  transform: scale(1.03);
}
.p-sku-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 16, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.p-cat-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(12, 16, 23, 0.9);
  border: 1px solid rgba(224, 159, 62, 0.5);
  color: #FCD34D;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.p-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.p-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}
.p-title:hover {
  color: var(--accent-primary-hi);
}
.p-models {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.p-models strong {
  color: var(--text-primary);
  font-weight: 600;
}
.p-specs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  padding: 7px 10px;
  border-radius: 5px;
  border-left: 3px solid var(--accent-primary);
}
.p-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.p-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary-hi);
}
.p-actions {
  display: flex;
  gap: 8px;
}

.empty-box {
  display: none;
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  margin-top: 16px;
}
.empty-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.empty-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================================================
   PRODUCT DETAIL PAGE (#product)
   ============================================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.detail-img-box {
  background: #0B0E14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 400px;
}
.detail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-meta-list {
  margin: 18px 0;
  display: grid;
  gap: 12px;
}
.detail-meta-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.detail-meta-item dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.detail-meta-item dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================================
   TRUST, STEPS, REVIEWS, FAQ, B2B BANNER & FORMS
   ============================================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}
.panel-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.check-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--status-ok);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
}

.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 22px;
}
.step-num {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-primary-hi);
  margin-bottom: 8px;
}
.step-box h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}
.step-box p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.b2b-banner {
  background: var(--bg-priority);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.b2b-banner h3 {
  font-size: clamp(19px, 2.2vw, 25px);
  margin-bottom: 6px;
}
.b2b-banner p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 64ch;
}

/* C8: Sample Reviews Grid (3 compact cards on Home) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.rev-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rev-sample-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary-hi);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 3px 9px;
  border-radius: 4px;
}
.rev-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1;
}
.rev-device {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  min-height: 52px;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q:hover {
  color: var(--accent-primary-hi);
}
.faq-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-primary);
  transition: transform 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 14px 20px 18px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.55;
  border-top: 1px solid var(--border-subtle);
}
.faq-item.open .faq-a {
  display: block;
}

/* Forms: Find Me a Part & PC Build Simulator */
.form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
.field-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.field-hint {
  font-size: 12.5px;
  color: var(--text-muted);
}
.field-input {
  width: 100%;
  min-height: 44px;
  background: var(--bg-page);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 15px;
}
.field-input:focus {
  border-color: var(--accent-primary);
  outline: none;
}
.wa-preview-box {
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--status-ok);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  white-space: pre-wrap;
  margin: 10px 0 18px;
}

/* Contact & Map Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
}
.map-frame {
  width: 100%;
  min-height: 330px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  filter: var(--map-filter);
}

/* C1.3: Footer with extra padding-bottom so the floating WhatsApp button never covers content */
.site-footer {
  margin-top: auto;
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 108px;
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-links a {
  display: inline-block;
  padding: 2px 0;
}
.footer-links a:hover {
  color: var(--accent-primary-hi);
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================================
   C1: SINGLE FLOATING WHATSAPP BUTTON WITH EXPANDABLE QUICK-QUESTIONS PANEL
   Safe-area offset, z-index below modals, icon-only on mobile (<600px).
   ============================================================================ */
.wa-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-drawer {
  display: none;
  width: min(340px, 90vw);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 54px -10px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.wa-drawer.open {
  display: block;
}
.wa-drawer-head {
  background: var(--bg-surface);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wa-drawer-head strong {
  font-size: 14px;
  color: var(--text-primary);
}
.wa-drawer-close {
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
}
.wa-drawer-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.wa-quick-input {
  width: 100%;
  min-height: 42px;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 14px;
  color: var(--text-primary);
}
.wa-q-btn {
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.18s;
}
.wa-q-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-hover);
}
.wa-direct-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #10B981;
  color: #04130D;
  font-weight: 800;
  font-size: 14px;
  margin-top: 2px;
}
.wa-fab-single {
  background: #10B981;
  color: #04130D;
  border: 0;
  font-weight: 800;
  font-size: 14.5px;
  min-width: 52px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px -6px rgba(16, 185, 129, 0.55);
  transition: transform 0.18s, background 0.18s;
}
.wa-fab-single:hover {
  background: #34D399;
  transform: translateY(-1px);
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS (390px phone ready, >=44px touch targets)
   ============================================================================ */
html.force-mobile .hero-grid,
html.force-mobile .detail-grid,
html.force-mobile .trust-grid,
html.force-mobile .form-grid,
html.force-mobile .contact-grid,
html.force-mobile .steps-3,
html.force-mobile .hero-badges,
html.force-mobile .stage-caps,
html.force-mobile .footer-grid {
  grid-template-columns: 1fr;
}
html.force-mobile .main-nav,
html.force-mobile .brand-sub,
html.force-mobile .header-controls .btn-volt,
html.force-mobile .hdr-icon-btn span,
html.force-mobile .wa-fab-single .wa-fab-text {
  display: none;
}
html.force-mobile .burger-btn {
  display: grid;
}
html.force-mobile .header-inner {
  min-height: 58px;
  padding: 4px 0;
  gap: 5px;
}
html.force-mobile .brand-logo {
  font-size: 14.5px;
  gap: 6px;
}
html.force-mobile .brand-mark {
  width: 30px;
  height: 30px;
}
html.force-mobile .hdr-icon-btn,
html.force-mobile .burger-btn {
  min-width: 40px;
  min-height: 44px;
  padding: 0 8px;
}
html.force-mobile .lang-group {
  gap: 2px;
  padding: 2px;
}
html.force-mobile .lang-btn {
  min-width: 38px;
  min-height: 40px;
  font-size: 12.5px;
  padding: 4px 5px;
}
html.force-mobile .q-chip,
html.force-mobile .g-tab,
html.force-mobile .c-chip {
  min-height: 44px;
  padding: 8px 14px;
}
html.force-mobile .hero-sec {
  padding: 18px 0 32px;
}
html.force-mobile .hero-copy h1 {
  font-size: 24px;
}
html.force-mobile .search-bar {
  flex-direction: column;
}
html.force-mobile .search-bar .btn {
  width: 100%;
}
html.force-mobile .webgl-card {
  height: 240px;
}
html.force-mobile .wa-fab-single {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
}
html.force-mobile .mobile-drawer {
  max-width: 390px;
}

@media (max-width: 1020px) {
  .hero-grid,
  .detail-grid,
  .trust-grid,
  .form-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .steps-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: grid;
  }
  .webgl-card {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: 92%;
  }
  .header-inner {
    min-height: 58px;
    padding: 4px 0;
    gap: 6px;
  }
  .brand-logo {
    font-size: 15.5px;
    gap: 7px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-sub {
    display: none;
  }
  .header-controls .btn-volt,
  .hdr-icon-btn span {
    display: none;
  }
  /* C7: Touch targets >= 44x44px on mobile */
  .lang-group {
    gap: 2px;
    padding: 2px;
  }
  .lang-btn {
    min-width: 40px;
    min-height: 44px;
    font-size: 13px;
    padding: 6px 6px;
  }
  .q-chip, .g-tab, .c-chip {
    min-height: 44px;
    padding: 8px 14px;
  }
  .hero-sec {
    padding: 18px 0 32px;
  }
  .hero-copy h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .hero-badges,
  .stage-caps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .search-bar {
    flex-direction: column;
  }
  .search-bar .btn {
    width: 100%;
  }
  .webgl-card {
    height: 260px;
  }
  /* C1.2: On mobile, only icon without long label on floating WhatsApp button */
  .wa-fab-single {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
  }
  .wa-fab-single .wa-fab-text {
    display: none;
  }
}
