/* ============================================================
   Pogruzchik Group Centr — Design System CSS
   Version: 2.0.0 (Sprint 1 — Foundation)
   Source of truth: docs/DESIGN_SYSTEM.md, docs/COMPONENT_SPECIFICATION.md
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
  /* --- Brand colors --- */
  --color-accent: #c99735;
  --color-accent-dark: #a1721f;
  --color-accent-light: #e8c06a;
  --color-gold-glow: rgba(201, 151, 53, .22);

  --color-navy: #070d18;
  --color-graphite: #0b1220;
  --color-strong: #111827;

  --color-bg: #f3f5f7;
  --color-surface: #ffffff;
  --color-surface-2: #e8edf2;
  --color-text: #111827;
  --color-muted: #667085;
  --color-line: #d8dee6;
  --color-border: var(--color-line);
  --color-steel: #344054;

  --color-error: #dc2626;
  --color-error-bg: #fef2f2;
  --color-success: #16a34a;
  --color-success-bg: #f0fdf4;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;

  /* --- Typography --- */
  --font-sans: Inter, Manrope, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 62px;

  --lh-tight: 1.1;
  --lh-body: 1.55;
  --lh-heading: 1.08;

  /* --- Spacing (4px base) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-3_5: 14px;
  --space-4: 16px;
  --space-4_5: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;

  /* --- Containers --- */
  --container: 1200px;
  --container-xl: 1320px;
  --container-narrow: 720px;

  /* --- Breakpoints (for reference) --- */
  /* bp-sm: 0px, bp-md: 480px, bp-lg: 768px, bp-xl: 1024px, bp-xxl: 1280px */

  /* --- Border radius --- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-2xl: 20px;
  --radius-3xl: 28px;
  --radius-full: 999px;

  /* --- Shadows --- */
  --shadow-card: 0 16px 48px rgba(15, 23, 42, .10);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-elev: 0 28px 72px rgba(7, 13, 24, .16);
  --shadow-panel: 0 32px 90px rgba(7, 13, 24, .22);

  /* --- Motion --- */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.4, 0, .68, .06);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 500ms;

  /* --- Elevation --- */
  --z-base: 0;
  --z-card-hover: 1;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-overlay: 150;
  --z-modal: 300;
  --z-skip: 10000;

  /* --- Utility filters --- */
  --filter-gold: brightness(0) saturate(1) invert(72%) sepia(45%) saturate(580%) hue-rotate(355deg);
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */

/* Prevent system color scheme from overriding brand palette */
:root {
  color-scheme: light only;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1000px 600px at 18% -10%, rgba(201, 151, 53, .07), transparent 60%),
    radial-gradient(900px 700px at 85% -10%, rgba(7, 13, 24, .10), transparent 55%);
  opacity: .9;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(201, 151, 53, .55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: 50%;
  z-index: var(--z-skip);
  transform: translateX(-50%);
  background: var(--color-strong);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  white-space: nowrap;
}

.skip-link:focus {
  top: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3. CONTAINER / GRID
   ============================================================ */

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.container-xl {
  width: min(var(--container-xl), calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - 32px));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: var(--space-5);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

/* Link panels — premium bottom cards */
.link-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.link-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
}

.link-panel .eyebrow {
  margin: 0;
}

.link-panel h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-strong);
  margin-top: 2px;
}

.link-panel p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-top: 12px;
}

.link-list li a {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-strong);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.link-list li a:hover {
  color: var(--color-accent-dark);
}

.link-panel .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Expandable SEO section — collapsed by default */
.seo-expandable {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.seo-expandable-trigger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
  transition: background var(--duration-fast) var(--ease-out);
  user-select: none;
}

.seo-expandable-trigger::-webkit-details-marker {
  display: none;
}

.seo-expandable-trigger:hover {
  background: var(--color-bg);
}

.seo-expandable-trigger .eyebrow {
  margin: 0;
  color: var(--color-accent-dark);
}

.seo-expandable-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.2;
}

.seo-expandable-trigger::after {
  content: "Развернуть";
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-top: 4px;
  transition: opacity var(--duration-fast) var(--ease-out);
}

details[open] .seo-expandable-trigger::after {
  content: "Свернуть";
}

.seo-expandable-body {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
  margin: 0 28px;
}

.seo-expandable-grid {
  margin: 0;
}

.seo-expandable-subsection {
  margin-bottom: 12px;
}

.seo-expandable-subsection .eyebrow {
  color: var(--color-accent-dark);
}

/* Commercial proposal card — dark accent variant */
.link-panel-cta-premium {
  background: linear-gradient(135deg, var(--color-graphite) 0%, #161c2e 100%);
  border-color: rgba(255, 255, 255, .08);
  gap: 10px;
}

.link-panel-cta-premium .eyebrow {
  color: var(--color-accent);
}

.link-panel-cta-premium h2 {
  color: #fff;
}

.link-panel-cta-premium p {
  color: rgba(255, 255, 255, .6);
}

/* Brand logo panel — white card matching link-panel styling */
.brand-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.brand-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
}

.brand-panel h2 {
  margin-bottom: 0;
}

.brand-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  margin-top: 12px;
  padding: 16px 0 4px;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.brand-logo-item:hover {
  opacity: .7;
}

.brand-logo-img {
  max-width: 130px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-fallback {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-steel);
  text-align: center;
}

.brand-all-link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.brand-all-link:hover {
  opacity: .75;
}

/* ============================================================
   FILTER — LABELS, FIELDSETS, CHECKBOXES, SLIDERS, PRICE INPUTS
   ============================================================ */

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-steel);
  margin-bottom: 6px;
}

.filter-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---- collapsible filter sections ---- */
.filter-collapse {
  border: none;
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.filter-collapse-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-steel);
  padding: 4px 0;
  user-select: none;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease-out);
}

.filter-collapse-summary:hover {
  color: var(--color-accent-dark);
}

.filter-collapse-summary::-webkit-details-marker {
  display: none;
}

.filter-collapse[open] .filter-collapse-summary {
  margin-bottom: 6px;
}

.filter-collapse-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  transition: transform var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
  line-height: 1;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  flex-shrink: 0;
}

.filter-collapse-summary:hover .filter-collapse-icon {
  color: var(--color-accent-dark);
}

.filter-collapse[open] .filter-collapse-icon {
  transform: rotate(45deg);
}



.catalog-filters .checkbox-row,
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-height: 24px;
  padding: 0;
}

.checkbox-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkbox-visual {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-xs);
  background: #fff;
  transition: border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  position: relative;
}

.checkbox-row:hover .checkbox-visual {
  border-color: var(--color-accent);
}

.checkbox-row input[type="checkbox"]:checked + .checkbox-visual {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.checkbox-row input[type="checkbox"]:checked + .checkbox-visual::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-row input[type="checkbox"]:focus-visible + .checkbox-visual {
  box-shadow: 0 0 0 3px rgba(201, 151, 53, .25);
}

.checkbox-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-strong);
  line-height: 1.3;
}

.checkbox-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
}

/* ---- slider group ---- */
.slider-group {
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  margin-bottom: 6px;
}

.slider-group:first-of-type {
  padding-top: 0;
  border-top: none;
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.slider-head .slider-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-steel);
}

.slider-head-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1;
}

/* ---- custom slider ---- */
.custom-slider {
  position: relative;
  user-select: none;
  touch-action: none;
  -webkit-user-select: none;
}

.slider-visual {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.slider-visual-track,
.slider-visual-fill {
  position: absolute;
  height: 4px;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.slider-visual-track {
  left: 0;
  right: 0;
  background: var(--color-line);
}

.slider-visual-fill {
  left: 0%;
  width: 100%;
  background: var(--color-accent);
}

.slider-visual-handle {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(201, 151, 53, .3);
  cursor: grab;
  z-index: 2;
  left: 0%;
  transition: box-shadow .15s ease, transform .15s ease;
}

.slider-visual-handle:hover {
  box-shadow: 0 3px 10px rgba(7,13,24,.4);
  transform: scale(1.08);
}

.slider-visual-handle.is-dragging {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 3px 12px rgba(7,13,24,.5);
}

/* ---- scale marks ---- */
.slider-marks {
  position: relative;
  height: 22px;
  margin-top: 4px;
}

.slider-mark {
  position: absolute;
  top: 0;
  width: 2px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: translateX(-50%);
}

.slider-mark-label {
  position: absolute;
  top: 11px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-steel);
  white-space: nowrap;
  transform: translateX(-50%);
}

/* ---- value display ---- */
.slider-value-row {
  display: flex;
  align-items: center;
  min-height: 18px;
  margin-top: 4px;
}

.slider-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-strong);
}



/* ---- sort label ---- */
.sort-label {
  display: grid;
  gap: 5px;
  color: var(--color-steel);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  padding-top: 30px;
  border-top: 1px solid var(--color-line);
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.section {
  padding-block: var(--space-8);
}

.section-compact {
  padding-block: 32px;
}

.section-brands.gen-section {
  background: var(--color-surface-2);
  padding-block: var(--space-8);
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
}

.brands-grid > .brand-panel,
.brands-grid > .link-panel {
  min-height: 100%;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .brands-grid > .link-panel {
    min-height: 100%;
    box-sizing: border-box;
  }
}

.section-tight {
  padding-block: 20px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.section-head-spread {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
}

.section-head-spread > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  color: var(--color-strong);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(32px, 5.5vw + 4px, 62px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 850;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.lead {
  font-size: var(--text-lg);
  color: var(--color-steel);
  max-width: 68ch;
  line-height: var(--lh-body);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.text-muted { color: var(--color-muted); }
.text-accent { color: var(--color-accent); }
.text-strong { color: var(--color-strong); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(.96);
}

.btn:disabled,
.btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary (gold fill, navy text) */
.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-strong);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 151, 53, .35);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Secondary (outline, dark border) */
.btn-secondary {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-strong);
}

.btn-secondary:hover {
  border-color: var(--color-steel);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Ghost (transparent, text only) */
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-steel);
  padding: 11px 8px;
  min-height: auto;
}

.btn-ghost:hover {
  color: var(--color-strong);
  background: var(--color-surface-2);
  border-color: transparent;
}

.btn-ghost:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 1px;
}

/* Sizes */
.btn-sm {
  padding: 9px 18px;
  min-height: 40px;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
}

.btn-lg {
  padding: 15px 30px;
  min-height: 54px;
  font-size: var(--text-md);
  border-radius: var(--radius-xl);
}

/* Full width */
.btn-block {
  width: 100%;
}

/* Loading state */
.btn.is-loading {
  position: relative;
  color: transparent;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btnSpin 600ms linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Legacy compatibility */
.btn-accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-strong);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-strong);
  box-shadow: 0 4px 16px rgba(201, 151, 53, .35);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-strong);
}

.btn-outline:hover {
  border-color: var(--color-steel);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

/* Gold-stroke secondary for hero context */
.btn-hero-secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-hero-secondary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-strong);
  box-shadow: 0 0 24px rgba(201, 151, 53, .3);
}

/* ============================================================
   6. FORM CONTROLS
   ============================================================ */

/* ---------- Input / Textarea / Select ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-steel);
}

.field-label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-md);
  font-family: var(--font-sans);
  outline: none;
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
  appearance: none;
}

.field-input:hover,
.field-textarea:hover,
.field-select:hover {
  border-color: var(--color-steel);
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201, 151, 53, .14);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--color-muted);
  opacity: .7;
}

.field-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: var(--lh-body);
}

/* Select arrow */
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667085' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
  cursor: pointer;
}

/* States */
.field-input.is-error,
.field-textarea.is-error,
.field-select.is-error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .10);
}

.field-input.is-success,
.field-textarea.is-success,
.field-select.is-success {
  border-color: var(--color-success);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .10);
}

.field-input:disabled,
.field-textarea:disabled,
.field-select:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: var(--color-bg);
}

.field-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 2px;
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: 2px;
}

/* ---------- Checkbox ---------- */

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text);
  min-height: 44px;
}

.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition:
    border-color var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out);
}

.checkbox input[type="checkbox"]:hover {
  border-color: var(--color-steel);
}

.checkbox input[type="checkbox"]:checked {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid var(--color-strong);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.checkbox input[type="checkbox"]:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- Radio ---------- */

.radio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text);
  min-height: 44px;
}

.radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition:
    border-color var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out);
}

.radio input[type="radio"]:hover {
  border-color: var(--color-steel);
}

.radio input[type="radio"]:checked {
  border-color: var(--color-accent);
}

.radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.radio input[type="radio"]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.radio input[type="radio"]:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ============================================================
   7. BADGES
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  gap: var(--space-1);
}

/* Success — green (в наличии) */
.badge-success {
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
}

/* Warning — amber (цена по запросу / под заказ) */
.badge-warning {
  background: rgba(245, 158, 11, .12);
  color: #b45309;
}

/* Error — red (нет в наличии) */
.badge-error {
  background: rgba(220, 38, 38, .10);
  color: #dc2626;
}

/* Accent — gold (хит продаж / лизинг) */
.badge-accent {
  background: rgba(201, 151, 53, .15);
  color: var(--color-accent-dark);
}

/* Neutral — gray (новинка / архив) */
.badge-neutral {
  background: var(--color-surface-2);
  color: var(--color-muted);
}

/* Badge within card (gold bar variant) */
.badge-bar {
  display: block;
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  padding: 0;
}

/* Legacy compatibility */
.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  background: rgba(201, 151, 53, .12);
  color: var(--color-accent-dark);
}

/* ============================================================
   8. BREADCRUMBS
   ============================================================ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.breadcrumbs a {
  color: var(--color-steel);
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumbs a:hover {
  color: var(--color-accent-dark);
}

.breadcrumbs .breadcrumb-sep {
  color: var(--color-muted);
  user-select: none;
  opacity: .6;
}

.breadcrumbs .breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
  pointer-events: none;
}

/* Truncated breadcrumbs (mobile fallback) */
.breadcrumbs-truncated .breadcrumb-hidden {
  display: none;
}

/* ============================================================
   9. PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding-block: var(--space-6);
  font-size: var(--text-sm);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-2);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-steel);
  transition:
    border-color var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.pagination a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  background: rgba(201, 151, 53, .06);
}

.pagination span[aria-current="page"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-strong);
  font-weight: 800;
}

.pagination .pagination-prev,
.pagination .pagination-next {
  gap: var(--space-1);
  padding: 0 var(--space-4);
}

.pagination .pagination-ellipsis {
  border: none;
  min-width: auto;
  color: var(--color-muted);
  pointer-events: none;
}

.pagination .pagination-prev:disabled,
.pagination .pagination-next:disabled,
.pagination .pagination-prev.is-disabled,
.pagination .pagination-next.is-disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}

/* ============================================================
   10. CARD FOUNDATION
   ============================================================ */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .35);
}

/* Card image area */
.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: #ffffff;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px 20px;
  transition: transform var(--duration) var(--ease-out);
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-image .card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-bg));
  color: var(--color-muted);
  font-size: var(--text-sm);
}

/* Card gold accent bar */
.card-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  flex-shrink: 0;
}

/* Card body */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 28px 24px;
  flex: 1;
}

.card-body-compact {
  padding: var(--space-4);
  gap: var(--space-2);
}

/* Card top row (badge row) */
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.card-topline .eyebrow {
  margin: 0;
}

/* Card title */
.card-title {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.15;
  color: var(--color-strong);
  margin-top: 6px;
}

.card-title a {
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

.card-title a:hover {
  color: var(--color-accent-dark);
}

/* Card description */
.card-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 2px;
}

/* Card specs — stacked: icon + label, value below */
.card-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-spec {
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-spec-svg {
  flex-shrink: 0;
  stroke: var(--color-muted);
  color: var(--color-muted);
  width: 20px;
  height: 20px;
}

.card-spec-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-spec-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-steel);
  line-height: 1.3;
}

.card-spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.3;
}

.spec-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.spec-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.2;
}

.spec-value {
  line-height: 1.2;
  font-weight: 700;
}

/* Card price */
.card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-strong);
  line-height: 1.1;
}

.card-price-muted {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
}

/* Card CTA area */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: auto;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface-2) 25%, var(--color-bg) 50%, var(--color-surface-2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-2);
  width: 80%;
}

.skeleton-title {
  height: 20px;
  margin-bottom: var(--space-3);
  width: 60%;
}

.skeleton-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8);
  text-align: center;
  color: var(--color-muted);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--color-muted);
}

.empty-state h3 {
  color: var(--color-text);
  font-weight: 600;
}

/* ============================================================
   11. HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(7, 13, 24, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), backdrop-filter var(--duration) var(--ease-out);
}

.site-header.is-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.site-header.is-hero.is-scrolled {
  background: rgba(7, 13, 24, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* Header main row */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
  min-height: 84px;
}

.header-inner.container-xl {
  width: min(var(--container-xl), calc(100% - 32px));
  margin-inline: auto;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(201, 151, 53, .25), 0 0 16px rgba(201, 151, 53, .08);
}

.brand-mark {
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1px;
}

.brand:hover .brand-mark {
  transform: scale(1.12);
  box-shadow: 0 0 0 1px rgba(201, 151, 53, .5), 0 0 24px rgba(201, 151, 53, .3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.brand-note {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .05em;
  font-weight: 400;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  position: relative;
  transition:
    color var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration) var(--ease-out);
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 700;
}

.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Header actions (right side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* City selector (dropdown style) */
.city-selector {
  position: relative;
}

.city-selector-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .04em;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.city-selector-trigger:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .15);
}

.city-selector-current {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.city-selector-city {
  font-weight: 600;
}

.city-selector-chevron {
  display: flex;
  color: rgba(255, 255, 255, .4);
  transition: transform var(--duration) var(--ease-out);
}

.city-selector.is-open .city-selector-chevron {
  transform: rotate(180deg);
}

.city-selector-phone {
  font-weight: 400;
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}

.city-selector-phone::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, .15);
  margin-right: 6px;
  vertical-align: middle;
}

.city-selector-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--color-graphite);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
  overflow: hidden;
  z-index: var(--z-overlay);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
  pointer-events: none;
}

.city-selector.is-open .city-selector-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.city-selector-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .8);
  font-size: var(--text-sm);
  cursor: pointer;
  text-align: left;
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.city-selector-option:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.city-selector-option span {
  color: rgba(255, 255, 255, .45);
  font-weight: 400;
}

.city-selector-option:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

/* Mobile toggles */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-md);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--duration) var(--ease-out);
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, .3);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 6px;
}

.nav-toggle-icon span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration) var(--ease-out);
}

body.is-nav-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.is-nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

body.is-nav-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   12. DRAWER (Mobile Navigation)
   ============================================================ */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: none;
  pointer-events: none;
}

body.is-nav-open .nav-drawer {
  display: block;
  pointer-events: auto;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

body.is-nav-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(80vw, 450px);
  background: var(--color-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
}

body.is-nav-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex-shrink: 0;
}

.nav-drawer-head strong {
  font-size: var(--text-md);
  font-weight: 700;
}

.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  transition: border-color var(--duration) var(--ease-out);
}

.nav-drawer-close:hover {
  border-color: rgba(255, 255, 255, .3);
}

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drawer-link {
  display: block;
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  transition:
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.nav-drawer-link:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.nav-drawer-sep {
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: var(--space-2) 0;
}

.nav-drawer-phone {
  margin-top: auto;
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.nav-drawer-phone a {
  display: block;
  padding: 14px var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-md);
  color: #fff;
  transition: background var(--duration) var(--ease-out);
}

.nav-drawer-phone a:hover {
  background: rgba(255, 255, 255, .08);
}

.nav-drawer-phone .nav-drawer-email {
  font-weight: 400;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}

/* ============================================================
   13. FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-graphite);
  color: rgba(255, 255, 255, .8);
  padding-top: 64px;
  padding-bottom: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-6);
  width: min(var(--container-xl), calc(100% - 32px));
  margin-inline: auto;
  padding-bottom: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: var(--text-md);
  color: #fff;
  text-decoration: none;
}

.footer-logo img {
  width: 80px;
  height: auto;
  transition: transform var(--duration) var(--ease-out);
}

.footer-logo:hover img {
  transform: scale(1.08);
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: 800;
}

.footer-note {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
  max-width: 36ch;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, .35);
  margin-top: var(--space-1);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, .7);
  transition: color var(--duration-fast) var(--ease-out);
  padding-block: 2px;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-block: var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, .4);
}

.footer-bottom-inner {
  width: min(var(--container-xl), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer-bottom-links a {
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ============================================================
   14. STICKY CTA BAR
   ============================================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: var(--text-sm);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out);
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta span {
  color: rgba(255, 255, 255, .8);
}

/* ============================================================
   14-A. INQUIRY PANEL (MOBILE BOTTOM SHEET)
   ============================================================ */

/* Overlay */
.inquiry-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
body.is-inquiry-open .inquiry-panel-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent background scroll when panel is open */
body.is-inquiry-open {
  overflow: hidden;
}

/* Sheet */
.inquiry-panel-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  max-height: 85dvh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg, 12px) var(--radius-lg, 12px) 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .15);
  transform: translateY(100%);
  transition: transform .3s var(--ease-out, ease-out);
}
body.is-inquiry-open .inquiry-panel-sheet {
  transform: translateY(0);
}

/* Header */
.inquiry-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.inquiry-panel-title {
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-heading);
}
.inquiry-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-gray-100);
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-muted);
  transition: background .15s ease, color .15s ease;
}
.inquiry-panel-close:hover {
  background: var(--color-gray-200);
  color: var(--color-heading);
}

/* Body (form) */
.inquiry-panel-body {
  padding: var(--space-5);
}
.inquiry-panel-desc {
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
}
.inquiry-panel-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.inquiry-panel-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.inquiry-panel-field-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-heading);
}
.inquiry-panel-input {
  width: 100%;
  height: 44px;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius, 6px);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--color-body);
  background: var(--color-white);
  transition: border-color .15s ease;
}
.inquiry-panel-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 112, 26, .15);
}
.inquiry-panel-privacy {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: center;
  line-height: 1.4;
}
.inquiry-panel-privacy a {
  color: var(--color-muted);
  text-decoration: underline;
}

/* Success state */
.inquiry-panel-success {
  padding: var(--space-10) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.inquiry-panel-success-icon {
  color: var(--color-green, #22c55e);
}
.inquiry-panel-success-title {
  margin: 0;
  font-size: var(--text-xl);
  color: var(--color-heading);
}
.inquiry-panel-success-text {
  margin: 0;
  font-size: var(--text-base);
  color: var(--color-body);
  line-height: 1.5;
  max-width: 320px;
}
.inquiry-panel-success-response {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Desktop: hide panel entirely */
@media (min-width: 1024px) {
  .inquiry-panel,
  .inquiry-panel-overlay,
  .inquiry-panel-sheet {
    display: none !important;
  }
}

/* ============================================================
   14-B. SUCCESS STATE (shared across all flows)
   ============================================================ */

.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-8) 0;
  max-width: 520px;
  margin: 0 auto;
}

.success-state-icon {
  color: var(--color-green, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-state-title {
  margin: 0;
  font-size: var(--text-2xl, 1.5rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
}

.success-state-lead {
  margin: 0;
  font-size: var(--text-base, 1rem);
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 380px;
}

.success-state-context {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-5);
  background: var(--color-gray-50, #f9fafb);
  border: 1px solid var(--color-border);
  border-radius: var(--radius, 6px);
  font-size: var(--text-sm);
}

.success-state-context-label {
  color: var(--color-muted);
}

.success-state-context-value {
  color: var(--color-heading);
  font-weight: 600;
}

.success-state-response {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.success-state-next {
  width: 100%;
  text-align: left;
  padding: var(--space-5);
  background: var(--color-gray-50, #f9fafb);
  border: 1px solid var(--color-border);
  border-radius: var(--radius, 6px);
}

.success-state-next-title {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-heading);
}

.success-state-next-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.success-state-next-list li {
  font-size: var(--text-sm);
  color: var(--color-body);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}

.success-state-next-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.success-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

/* Within inquiry panel: remove outer padding */
.inquiry-panel-success .success-state {
  padding: var(--space-6) 0;
}

/* ============================================================
   15. PAGE SHELL
   ============================================================ */

.page-shell {
  min-height: 70vh;
}

/* ============================================================
   15.5. HOMEPAGE SECTION UNIFORM RHYTHM
   ============================================================ */

.section {
  padding-block: var(--space-7);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-8);
  }
}

.section:first-of-type {
  padding-top: 0;
}

/* ============================================================
   15.75. CATALOG HERO — Background + Overlay
   ============================================================ */

.cat-hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy);
  display: flex;
  align-items: center;
}

.cat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url('/assets/images/catalog-hero-bg.png') center / cover no-repeat;
}

.cat-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,13,24,.72) 0%, rgba(7,13,24,.45) 50%, rgba(7,13,24,.20) 100%);
  pointer-events: none;
}

.cat-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cat-hero-spotlight {
  position: absolute;
  top: -10%;
  left: 35%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,151,53,.05) 0%, transparent 55%);
}

.cat-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(7,13,24,.30) 100%);
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 40px;
}

.cat-hero--no-visual .cat-hero-grid {
  grid-template-columns: 1fr;
}

.cat-hero--no-visual .cat-hero-text {
  max-width: 720px;
}

.cat-hero-text {
  display: flex;
  flex-direction: column;
}

.cat-hero-text .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}

.cat-hero-text .breadcrumbs a {
  color: rgba(255,255,255,.5);
  transition: color var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.cat-hero-text .breadcrumbs a:hover {
  color: var(--color-accent);
}

.cat-hero-text .breadcrumbs a::after {
  display: none;
}

.cat-hero-breadcrumb-current {
  font-weight: 600;
  color: rgba(255,255,255,.75);
}

.cat-hero-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cat-hero-summary {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 32px;
}

/* --- Feature row --- */

.cat-hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-top: 0;
}

.cat-hero-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3_5);
}

.cat-hero-feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(201,151,53,.1);
  color: var(--color-accent);
  margin-top: 2px;
}

.cat-hero-feature-svg {
  display: block;
}

.cat-hero-feature-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cat-hero-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.cat-hero-feature-desc {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* --- CTA buttons --- */

/* ============================================================
   17. CATEGORY GENERATED CONTENT — Presentation
   ============================================================ */

/* --- 17.1. Section alternation --- */

.gen-section {
  padding-block: var(--space-6);
}

@media (min-width: 768px) {
  .gen-section {
    padding-block: var(--space-7);
  }
}

.gen-section-cards {
  background: var(--color-bg);
}

.gen-section-editorial {
  background: var(--color-surface);
  padding-block: var(--space-5);
}

@media (min-width: 768px) {
  .gen-section-editorial {
    padding-block: var(--space-6);
  }
}

.gen-section-guide {
  background: var(--color-bg);
}

.gen-section-faq {
  background: var(--color-surface);
  padding-block: var(--space-5);
}

@media (min-width: 768px) {
  .gen-section-faq {
    padding-block: var(--space-6);
  }
}

/* --- 17.2. Stat grid (spec summary) --- */

.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.stat-card {
  flex: 1 1 130px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-4) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .35s var(--ease-out);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 151, 53, .25);
}

.stat-card-value {
  font-size: clamp(var(--text-lg), 1.5vw, var(--text-2xl));
  font-weight: 800;
  color: var(--color-strong);
  line-height: 1.2;
  letter-spacing: -.02em;
  word-break: keep-all;
}

.stat-card-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- 17.2b. Two-column layout rows --- */
.gen-row-1,
.gen-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(var(--container-xl), calc(100% - 32px));
  margin-inline: auto;
}

@media (max-width: 991px) {
  .gen-row-1,
  .gen-row-2 {
    grid-template-columns: 1fr;
  }
}

.gen-row-1 > .section,
.gen-row-2 > .section {
  margin: 0;
  min-width: 0;
}

.gen-row-2 > .gen-section-cards {
  overflow: hidden;
}

.gen-row-1 > .section:first-of-type,
.gen-row-2 > .section:first-of-type {
  padding-top: var(--space-6);
}

@media (min-width: 768px) {
  .gen-row-1 > .section:first-of-type,
  .gen-row-2 > .section:first-of-type {
    padding-top: var(--space-7);
  }
}

/* --- 17.3. Editorial (intro) --- */

.gen-editorial {
  max-width: 72ch;
  margin-top: var(--space-5);
}

.gen-editorial p {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--color-steel);
}

/* --- 17.4. Card grid (advantages / applications) --- */

.gen-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (min-width: 992px) {
  .gen-section-cards .gen-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gen-section-cards .gen-card {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    padding: var(--space-5);
  }

  .gen-section-cards .gen-card-icon-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .gen-section-cards .gen-card-title {
    flex: 1;
    min-width: 0;
    font-size: var(--text-lg);
    align-self: center;
  }

  .gen-section-cards .gen-card-desc {
    flex-basis: 100%;
    margin-top: var(--space-1);
  }
}

.gen-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  transition:
    transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .35s var(--ease-out);
}

.gen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .22);
}

.gen-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: rgba(201, 151, 53, .10);
  color: var(--color-accent);
}

.gen-card-icon-svg {
  display: block;
}

.gen-card-title {
  font-size: var(--text-lg);
  font-weight: 750;
  color: var(--color-strong);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.gen-card-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
}

/* --- 17.5. Guide steps (buying guide) --- */

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-7);
  counter-reset: guide-step;
}

.guide-step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  position: relative;
  padding-bottom: var(--space-6);
}

.guide-step::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 54px;
  bottom: 0;
  width: 2px;
  background: var(--color-line);
}

.guide-step:last-child::after {
  display: none;
}

.guide-step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(201, 151, 53, .10);
  color: var(--color-accent);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.guide-step-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: 4px;
}

.guide-step-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.3;
}

.guide-step-text {
  font-size: var(--text-md);
  color: var(--color-steel);
  line-height: 1.75;
}

/* --- 17.6. FAQ accordion --- */

.gen-faq {
  max-width: 720px;
  margin: var(--space-7) auto 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-line);
}

.gen-faq-item {
  border-bottom: 1px solid var(--color-line);
}

.gen-faq-item[open] {
  border-bottom-color: rgba(201, 151, 53, .12);
}

.gen-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-strong);
  line-height: 1.5;
  transition: color .2s var(--ease-out);
  user-select: none;
}

.gen-faq-question::-webkit-details-marker {
  display: none;
}

.gen-faq-question:hover {
  color: var(--color-accent-dark);
}

.gen-faq-chevron {
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: .6;
  transition:
    transform .3s var(--ease-out),
    opacity .3s var(--ease-out);
}

.gen-faq-item[open] .gen-faq-chevron {
  transform: rotate(90deg);
  opacity: 1;
}

.gen-faq-question:hover .gen-faq-chevron {
  opacity: 1;
}

.gen-faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height .35s var(--ease-out),
    opacity .3s var(--ease-out),
    padding .35s var(--ease-out);
}

.gen-faq-item[open] .gen-faq-answer {
  max-height: 600px;
  opacity: 1;
  padding-bottom: var(--space-5);
}

.gen-faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0;
}

/* --- 17.7. Responsive --- */

@media (max-width: 767px) {
  .stat-grid {
    gap: var(--space-3);
  }

  .stat-card {
    flex: 1 1 calc(50% - var(--space-3));
    min-width: 0;
    padding: var(--space-5) var(--space-3);
  }

  .stat-card-value {
    font-size: var(--text-lg);
  }

  .gen-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    gap: var(--space-4);
  }

  .guide-step::after {
    left: 23px;
  }

  .guide-step-number {
    width: 48px;
    height: 48px;
    font-size: var(--text-lg);
  }

  .gen-editorial p {
    font-size: var(--text-md);
  }
}

@media (max-width: 479px) {
  .stat-card {
    flex: 1 1 100%;
  }

  .gen-section {
    padding-block: var(--space-7);
  }
}

/* --- Hero visual (right column) --- */

.cat-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 200px;
}

.cat-hero-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 151, 53, .08) 0%, transparent 70%);
  pointer-events: none;
}

.cat-hero-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,151,53,.1), transparent);
  pointer-events: none;
}

.cat-hero-visual img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(201,151,53,.15));
}

/* SEO filter hero: transparent PNG larger and offset right against the grid */
.cat-hero--filter .cat-hero-visual {
  justify-content: flex-end;
  padding-right: 6%;
}

.cat-hero--filter .cat-hero-visual img {
  max-height: 560px;
  width: 92%;
}

/* ============================================================
   15.77. CATALOG HERO — Responsive
   ============================================================ */

@media (max-width: 1023px) {
  .cat-hero {
    min-height: auto;
  }

  .cat-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 36px;
  }

  .cat-hero-visual {
    order: -1;
    justify-content: center;
  }

  .cat-hero-visual::after {
    width: 50%;
  }

  .cat-hero-visual img {
    max-height: 320px;
  }

  .cat-hero-title {
    font-size: clamp(28px, 4.5vw, 36px);
  }

  .cat-hero-features {
    gap: 14px 20px;
  }

  .cat-hero-feature-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
  }

  .cat-apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .cat-hero-grid {
    padding: 24px 0 40px;
    gap: 20px;
  }

  .cat-hero-visual {
    order: -1;
  }

  .cat-hero-visual img {
    max-height: 240px;
  }

  .cat-hero-visual::after {
    width: 40%;
  }

  .cat-hero-title {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  .cat-hero-summary {
    font-size: 14px;
  }

  .cat-hero-text {
    gap: 0;
  }

  .cat-hero-features {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }

  .cat-hero-feature-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
  }

  .cat-hero-feature-title {
    font-size: 14px;
  }

  .cat-hero-feature-desc {
    font-size: 12px;
  }

  .cat-apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-apps-panel {
    padding: 16px;
  }

  .cat-apps-card {
    padding: 14px 4px;
  }
}

/* ============================================================
   15.85. CATEGORY → BRAND CROSS-LINKS
   ============================================================ */

.brand-filter-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.brand-filter-cta-body {
  flex: 1;
  min-width: 0;
}

.brand-filter-cta-body h2 {
  font-size: 1.25rem;
  margin: 4px 0;
}

.brand-filter-cta-desc {
  font-size: .875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.brand-landing {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.brand-landing-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-landing-intro-header {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.brand-landing-logo-wrap {
  flex-shrink: 0;
  padding: 4px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-elev);
}

.brand-landing-logo {
  display: block;
  max-width: 276px;
  height: auto;
  border-radius: var(--radius-lg);
}

.brand-landing-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-landing-badge {
  font-size: .8125rem;
  color: var(--color-text-secondary);
  padding: 6px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.brand-landing-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 780px;
  margin: 0;
}

.brand-landing-heading {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--color-text);
  margin: 0 0 20px;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.brand-landing-heading-sm {
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.brand-landing-text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 680px;
}

.brand-landing-story {
  padding: 32px 36px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}

.brand-landing-section {
  display: flex;
  flex-direction: column;
}

.brand-landing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.brand-landing-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  flex: 1;
}

.brand-landing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .2);
}

.brand-landing-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(201, 151, 53, .12);
  color: var(--color-accent);
}

.brand-landing-card-icon svg {
  width: 26px;
  height: 26px;
}

.brand-landing-card-text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  padding-top: 6px;
}

.brand-landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.brand-landing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  color: var(--color-text);
  line-height: 1.45;
  padding: 14px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.brand-landing-feature-item:hover {
  border-color: rgba(201, 151, 53, .15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.brand-landing-feature-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.brand-landing-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.brand-landing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.brand-landing-tag {
  font-size: .8125rem;
  padding: 8px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}

.brand-landing-tag:hover {
  border-color: rgba(201, 151, 53, .25);
  color: var(--color-text);
}

.brand-landing-tag-alt {
  background: rgba(201, 151, 53, .06);
  border-color: rgba(201, 151, 53, .18);
  color: var(--color-accent-dark);
}

.brand-landing-tag-alt:hover {
  background: rgba(201, 151, 53, .1);
  border-color: rgba(201, 151, 53, .3);
}

.brand-landing-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.brand-landing-highlight {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(201, 151, 53, .06) 100%);
  border: 1px solid rgba(201, 151, 53, .18);
  border-radius: var(--radius-xl);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}

.brand-landing-highlight:hover {
  border-color: rgba(201, 151, 53, .4);
  box-shadow: 0 8px 32px rgba(201, 151, 53, .12);
  transform: translateY(-2px);
}

.brand-landing-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201, 151, 53, .18) 0%, rgba(201, 151, 53, .08) 100%);
  color: var(--color-accent);
}

.brand-landing-highlight-icon svg {
  width: 28px;
  height: 28px;
}

.brand-landing-highlight-title {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.brand-landing-highlight-text {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

.brand-landing-footer {
  padding-top: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .brand-landing {
    gap: 36px;
  }

  .brand-landing-intro {
    gap: 20px;
  }

  .brand-landing-intro-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .brand-landing-grid-2col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-landing-highlights {
    grid-template-columns: 1fr;
  }

  .brand-landing-cards {
    grid-template-columns: 1fr;
  }

  .brand-landing-features {
    grid-template-columns: 1fr;
  }

  .brand-landing-story {
    padding: 24px;
  }

  .brand-landing-highlight {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-landing-highlights {
    grid-template-columns: 1fr;
  }
}

.brand-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo-detail {
  font-size: .8125rem;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.brand-logo-detail:hover {
  background: rgba(201, 151, 53, .08);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .brand-filter-cta {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

/* ============================================================
   15.88. BRAND CROSS-LINKING SECTIONS
   ============================================================ */

.brand-cross-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.brand-cross-section .eyebrow {
  margin-bottom: 4px;
}

.brand-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.brand-similar-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.brand-similar-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-color: var(--color-accent);
}

.brand-similar-card-logo {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-similar-card-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-similar-card-body {
  flex: 1;
  min-width: 0;
}

.brand-similar-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--color-text);
}

.brand-similar-card-body p {
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin: 0;
}

.brand-explore-cta {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.brand-explore-cta h2 {
  font-size: 1.5rem;
  margin: 4px 0;
}

.brand-explore-cta .lead {
  font-size: .9375rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 20px;
}

@media (max-width: 767px) {
  .brand-similar-grid {
    grid-template-columns: 1fr;
  }

  .brand-similar-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-similar-card-logo {
    width: 80px;
  }

  .brand-explore-cta {
    padding: 28px 16px;
  }
}

/* ============================================================
   15.9. BRAND INDEX PAGE
   ============================================================ */

.brand-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 24px;
  align-items: stretch;
}

.brand-index-card-logo {
  flex-shrink: 0;
  width: 140px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.brand-index-card-logo img {
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-index-card-monogram {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.brand-index-card-body {
  flex: 1;
  min-width: 0;
}

.brand-index-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--color-text);
}

.brand-index-card-desc {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0 0 12px;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.brand-index-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  font-size: .8125rem;
  color: var(--color-text-muted);
  margin-top: auto;
}

.brand-index-card-count {
  font-weight: 600;
  color: var(--color-text);
}

.brand-index-card-cats {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-basis: 100%;
}

.brand-index-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  min-height: 100%;
  min-width: 0;
}

.brand-index-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-color: var(--color-accent);
}

/* --- Brand index responsive --- */

@media (max-width: 767px) {
  .brand-index-grid {
    grid-template-columns: 1fr;
  }

  .brand-index-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-index-card-logo {
    width: 140px;
    height: 88px;
  }

  .brand-index-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-index-card-meta {
    justify-content: center;
  }

  .brand-index-card-cats {
    white-space: normal;
    text-align: center;
  }
}

/* ============================================================
   15.97. BRAND PAGE (SPRINT 22.2 UX POLISH)
   ============================================================ */

/* --- Hero overrides for brand pages --- */

.brand-hero-logo {
  margin-bottom: 20px;
  display: inline-block;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 20px;
}

.brand-hero-logo img {
  display: block;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.brand-hero-stats {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: .03em;
  line-height: 1.5;
}

/* --- Brand category cards (main navigation) --- */

.brand-category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.brand-category-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  min-height: 130px;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.brand-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
  border-color: var(--color-accent);
}

.brand-category-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-category-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--color-strong);
}

.brand-category-card-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.brand-category-card-link {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-dark);
  transition: color var(--duration-fast) var(--ease-out);
}

.brand-category-card:hover .brand-category-card-link {
  color: var(--color-accent);
}

/* --- Catalog heading --- */

.brand-catalog-lead {
  padding-top: var(--space-4);
}

.brand-catalog-head {
  margin-bottom: 8px;
}

.brand-catalog-head .eyebrow {
  margin-bottom: 4px;
}

.brand-catalog-title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  margin: 0;
  color: var(--color-text);
}

.brand-catalog-desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 56ch;
}

/* Tighten padding when catalog-list follows brand heading */
.brand-catalog-lead + section.section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

/* Brands index: tighten gap between intro and grid */
.brands-intro {
  padding-bottom: var(--space-5);
}

.brands-grid-section {
  padding-top: var(--space-5);
}

/* --- Brand info blocks (rich layout) --- */

.brand-info-section {
  background: var(--color-surface-2);
  padding-block: var(--space-8);
  margin-top: var(--space-5);
}

.brand-info-blocks {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.brand-info-block {
  max-width: 780px;
}

.brand-info-title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  margin: 4px 0 16px;
  color: var(--color-strong);
}

.brand-info-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.brand-info-text p {
  margin: 0;
}

/* History — text + stats sidebar */
.brand-info-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-6);
  align-items: start;
}

.brand-info-main {
  max-width: 700px;
}

.brand-info-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  min-width: 0;
}

.brand-info-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-info-stat-value {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: var(--color-accent-dark);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.brand-info-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Compact strength cards */
.brand-info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.brand-info-card {
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}

.brand-info-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-steel);
}

/* Feature highlight blocks */
.brand-info-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brand-info-highlight {
  padding: 18px 20px;
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
}

.brand-info-highlight p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-steel);
}

/* Industry tags */
.brand-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-info-tag {
  display: inline-flex;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-steel);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-full);
}

/* Service accent cards */
.brand-info-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.brand-info-service-card {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
}

.brand-info-service-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-strong);
}

.brand-info-service-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

@media (max-width: 767px) {
  .brand-info-row {
    grid-template-columns: 1fr;
  }

  .brand-info-card-grid,
  .brand-info-highlights,
  .brand-info-service-grid {
    grid-template-columns: 1fr;
  }
}  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: .4;
}

@media (max-width: 767px) {
  .brand-category-card-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Compact bottom navigation bar --- */

.compnav {
  padding-block: var(--space-5);
  background: var(--color-bg);
}

.compnav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  align-items: stretch;
  gap: var(--space-4);
}

.compnav-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
}

.compnav-card-title {
  display: block;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
}

.compnav-card--cta {
  background: var(--color-navy);
  border-color: var(--color-navy);
  justify-content: center;
}

.compnav-card-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent);
}

.compnav-card--cta .compnav-card-title {
  color: var(--color-surface);
}

.compnav-card-text {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-muted);
}

.compnav-card--cta .compnav-card-text {
  color: rgba(255, 255, 255, .78);
}

.compnav-card--cta .btn {
  align-self: flex-start;
  margin-top: var(--space-1);
}

.compnav-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.compnav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-soft);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.compnav-brand:hover {
  color: var(--color-accent-dark);
}

.compnav-brand-img {
  max-height: 30px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.compnav-brand:hover .compnav-brand-img {
  filter: grayscale(0);
  opacity: 1;
}

.compnav-brand-name {
  font-size: var(--text-sm);
  font-weight: 600;
}

.compnav-cat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.compnav-cat {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.compnav-cat:hover {
  color: var(--color-accent-dark);
}

.compnav-more {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.compnav-more:hover {
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .compnav-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   16. HOMEPAGE BLOCKS
   ============================================================ */

/* --- Hero: Federal Terminal (concept-driven v10) --- */

.hp-hero {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  color: #fff;
  background: var(--color-navy);
}

/* Scene gradient: minimal left fade — warehouse/storage/lighting fully visible */
.hp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(100deg,
    rgba(7,13,24,.25) 0%,
    rgba(7,13,24,.10) 30%,
    rgba(7,13,24,.02) 50%,
    transparent 65%
  );
  pointer-events: none;
}

/* Background layer */
.hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-navy);
}

.hp-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
    background-image: image-set(
        url('/assets/images/hero/background-compressed.webp') type('image/webp'),
        url('/assets/images/hero/background-compressed.jpg') type('image/jpeg')
    );
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease-out;
  will-change: transform, opacity;
}

.hp-hero-bg.is-loaded::before {
  opacity: 1;
}

.hp-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 30%, rgba(201, 151, 53, .05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7,13,24,.05) 0%, rgba(7,13,24,.20) 100%);
}

/* Atmosphere layers */
.hp-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hp-hero-spotlight {
  position: absolute;
  top: -15%;
  left: 20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,151,53,.06) 0%, transparent 55%);
  pointer-events: none;
}

.hp-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(7,13,24,.15) 100%);
  pointer-events: none;
}

/* --- Header contact block (vertical stack: cities, phone, email) --- */

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.header-contact-icon {
  flex-shrink: 0;
  opacity: .6;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.header-contact-phone-link:hover .header-contact-icon,
.header-contact-email:hover .header-contact-icon {
  opacity: 1;
}

.header-contact-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header-contact-phone-link:hover {
  color: var(--color-accent);
}

.header-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--duration-fast) var(--ease-out);
}

.header-contact-email:hover {
  color: var(--color-accent);
}

/* Hide on mobile — fall back to drawer contacts */
@media (max-width: 1023px) {
  .header-contact {
    display: none;
  }
}

/* --- Glass panel — nearly full left half, premium glassmorphism --- */

.hp-hero-glass {
  position: absolute;
  left: 2%;
  top: calc(50% + 14px);
  transform: translateY(-50%);
  z-index: 5;
  width: 49%;
  max-width: 820px;
  background: rgba(7, 13, 24, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-3xl);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, .2),
    0 0 0 1px rgba(255, 255, 255, .03) inset;
}

.hp-hero-glass-inner {
  padding: clamp(16px, 1.6vw, 22px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, .9vw, 12px);
}

.hp-hero-overline {
  font-size: clamp(11px, .8vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--color-accent);
}

.hp-hero-title {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--color-surface);
}

.hp-hero-subtitle {
  font-size: clamp(12px, .9vw, 14px);
  color: rgba(255, 255, 255, .6);
  line-height: 1.55;
  max-width: 56ch;
}

/* --- Benefits row (horizontal, icon left + text right) --- */

.hp-hero-benefits {
  display: flex;
  flex-direction: row;
  gap: clamp(12px, 1.5vw, 24px);
}

.hp-hero-benefit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.hp-hero-benefit-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  filter: var(--filter-gold);
  object-fit: contain;
}

.hp-hero-benefit-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hp-hero-benefit-title {
  font-size: clamp(11px, .8vw, 13px);
  font-weight: 700;
  color: var(--color-surface);
  line-height: 1.2;
}

.hp-hero-benefit-desc {
  font-size: clamp(10px, .65vw, 11px);
  color: rgba(255, 255, 255, .45);
  line-height: 1.2;
}

/* Minimap icon as main accent among benefits; no gold filter (PNG with full-color map) */
.hp-hero-benefit-icon--map {
  width: 60px;
  height: 60px;
  filter: none;
  opacity: .9;
}

/* Vertical divider between benefits (matches metric divider style) */
.hp-hero-benefit-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(201, 151, 53, .20), transparent);
  flex-shrink: 0;
  align-self: center;
}

/* --- Form inside glass with own glass frame --- */

.hp-hero-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(12px, 1.2vw, 16px);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-2xl);
}

.hp-hero-form-heading {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  color: var(--color-surface);
  letter-spacing: -.01em;
}

.hp-hero-form-desc {
  font-size: clamp(11px, .75vw, 13px);
  color: rgba(255, 255, 255, .55);
  line-height: 1.35;
}

.hp-hero-form-note {
  font-size: clamp(9px, .6vw, 11px);
  color: rgba(255, 255, 255, .35);
  line-height: 1.3;
  margin-top: -2px;
}

.hp-hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.hp-hero-form-input {
  width: 100%;
  min-width: 0;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
  box-sizing: border-box;
}

.hp-hero-form-input-wrap .hp-hero-form-input {
  padding-left: 40px;
}

.hp-hero-form-input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.hp-hero-form-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, .15);
}

.hp-hero-form-input-wrap {
  position: relative;
  min-width: 0;
  display: block;
}

.hp-hero-form-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: .3;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.hp-hero-form-submit {
  flex: 1;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  border: 1px solid rgba(201,151,53,.3);
  border-radius: var(--radius-md);
  color: var(--color-strong);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.hp-hero-form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  pointer-events: none;
}

.hp-hero-form-submit:hover {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  border-color: rgba(201,151,53,.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,151,53,.28), 0 0 0 1px rgba(201,151,53,.1) inset;
}

.hp-hero-form-submit:hover::before {
  opacity: 1;
}

.hp-hero-form-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(201,151,53,.15);
}

.hp-hero-form-submit:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

.hp-hero-form-submit-arrow {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
}

.hp-hero-form-trust {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.hp-hero-form-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}

.hp-hero-form-check-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: var(--filter-gold);
}

/* --- Bottom CTA button (premium enterprise, right side of bottom bar) --- */

.hp-hero-bottom-cta {
  flex-shrink: 0;
}

.hp-hero-bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  background: linear-gradient(135deg, rgba(201,151,53,.14), rgba(201,151,53,.06));
  border: 1px solid rgba(201,151,53,.25);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.hp-hero-bottom-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,151,53,.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  pointer-events: none;
}

.hp-hero-bottom-cta-btn:hover {
  background: linear-gradient(135deg, rgba(201,151,53,.22), rgba(201,151,53,.10));
  border-color: rgba(201,151,53,.45);
  color: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,151,53,.18), 0 0 0 1px rgba(201,151,53,.1) inset;
}

.hp-hero-bottom-cta-btn:hover::before {
  opacity: 1;
}

.hp-hero-bottom-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(201,151,53,.1);
}

.hp-hero-bottom-cta-btn:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

.hp-hero-bottom-cta-icon {
  display: flex;
  flex-shrink: 0;
}

.hp-hero-bottom-cta-icon svg {
  width: 22px;
  height: 22px;
}

/* --- Bottom bar: metrics + map row --- */

.hp-hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(7, 13, 24, .65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.hp-hero-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.hp-hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
}

.hp-hero-metric {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.hp-hero-metric:first-child { transition-delay: .1s; }
.hp-hero-metric:nth-of-type(2) { transition-delay: .25s; }
.hp-hero-metric:nth-of-type(3) { transition-delay: .4s; }

.hp-hero-bottom.is-visible .hp-hero-metric {
  opacity: 1;
  transform: translateY(0);
}

.hp-hero-metric-num {
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.hp-hero-metric-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-hero-metric-label {
  font-size: clamp(13px, .9vw, 15px);
  font-weight: 600;
  color: var(--color-surface);
  line-height: 1.2;
}

.hp-hero-metric-sub {
  font-size: clamp(10px, .7vw, 12px);
  color: rgba(255, 255, 255, .4);
  line-height: 1.2;
  white-space: nowrap;
}

.hp-hero-metric-divider {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(201, 151, 53, .30), transparent);
  flex-shrink: 0;
}

/* --- Showcase — Interactive Category Selector --- */

.hp-showcase {
  background: radial-gradient(ellipse at 50% 30%, rgba(201,151,53,.03) 0%, transparent 65%),
              var(--color-navy);
  color: #fff;
  padding: var(--space-8) 0;
}

.hp-showcase .section-head h2 {
  color: var(--color-surface);
}

.hp-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

@media (min-width: 1024px) {
  .hp-showcase-layout {
    gap: var(--space-4);
  }
}

/* Stage — equipment image area */

.hp-showcase-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(7, 13, 24, .5);
  aspect-ratio: 16 / 10;
  min-height: 380px;
}

@media (min-width: 1024px) {
  .hp-showcase-stage {
    aspect-ratio: unset;
    min-height: unset;
    height: 100%;
  }
}

.hp-showcase-stage-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.hp-showcase-stage-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s ease-out, transform .5s ease-out;
  pointer-events: none;
}

.hp-showcase-stage-img.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hp-showcase-stage-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease-out;
}

.hp-showcase-stage-link:hover img {
  transform: scale(1.04);
}

.hp-showcase-stage-link:hover ~ .hp-showcase-stage-glow,
.hp-showcase-stage-link:hover + .hp-showcase-stage-glow,
.hp-showcase-stage-link:hover .hp-showcase-stage-glow {
  opacity: .6;
}

.hp-showcase-stage-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,151,53,.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease-out;
  z-index: 2;
  pointer-events: none;
}

.hp-showcase-stage-link:hover::after {
  opacity: 1;
}

.hp-showcase-stage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,13,24,.4) 0%, rgba(7,13,24,.05) 50%, rgba(7,13,24,.15) 100%);
}

.hp-showcase-stage-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(201,151,53,.08), transparent);
  transition: opacity .4s ease-out;
}

.hp-showcase-stage-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,.5));
  transition: transform .4s ease-out;
  will-change: transform;
}

/* Stage navigation */

.hp-showcase-stage-nav {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 5;
}

.hp-showcase-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(0, 0, 0, .4);
  color: #fff;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.hp-showcase-arrow:hover {
  background: rgba(201, 151, 53, .25);
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.hp-showcase-arrow:active {
  transform: scale(.94);
}

.hp-showcase-dots {
  display: flex;
  gap: var(--space-2);
}

.hp-showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.hp-showcase-dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.15);
}

.hp-showcase-dot:hover {
  border-color: rgba(255, 255, 255, .5);
}

/* Panel — glass cards */

.hp-showcase-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hp-showcase-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
  text-align: left;
  font-size: var(--text-sm);
  font-family: inherit;
  transition:
    background var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.hp-showcase-card:hover {
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .9);
}

.hp-showcase-card.is-active {
  border-left-color: var(--color-accent);
  background: rgba(201, 151, 53, .08);
  color: #fff;
}

/* Icon replaces number */

.hp-showcase-card-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  opacity: .5;
  transition: opacity var(--duration) var(--ease-out);
}

.hp-showcase-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--filter-gold);
}

.hp-showcase-card.is-active .hp-showcase-card-icon,
.hp-showcase-card:hover .hp-showcase-card-icon {
  opacity: 1;
}

/* Card body wraps name + description */

.hp-showcase-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hp-showcase-card-name {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  line-height: 1.3;
}

.hp-showcase-card-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    max-height .45s ease-out,
    opacity .45s ease-out,
    transform .45s ease-out;
  pointer-events: none;
}

.hp-showcase-card.is-active .hp-showcase-card-desc {
  max-height: 150px;
  opacity: .65;
  transform: translateY(0);
  padding-top: 4px;
}

.hp-showcase-card-arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-showcase-card.is-active .hp-showcase-card-arrow,
.hp-showcase-card:hover .hp-showcase-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA — unified gold button */

.hp-showcase-cta {
  margin-top: var(--space-6);
  text-align: center;
}

.hp-showcase-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, rgba(201,151,53,.14), rgba(201,151,53,.06));
  border: 1px solid rgba(201,151,53,.25);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.hp-showcase-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,151,53,.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
  pointer-events: none;
}

.hp-showcase-cta-btn:hover {
  background: linear-gradient(135deg, rgba(201,151,53,.22), rgba(201,151,53,.10));
  border-color: rgba(201,151,53,.45);
  color: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,151,53,.18), 0 0 0 1px rgba(201,151,53,.1) inset;
}

.hp-showcase-cta-btn:hover::before {
  opacity: 1;
}

.hp-showcase-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(201,151,53,.1);
}

.hp-showcase-cta-btn:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

/* --- Popular Categories (§7 style) --- */

.hp-categories {
  padding: var(--space-8) 0;
}

.hp-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.hp-category-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
  transition:
    transform .4s var(--ease-out),
    box-shadow .4s var(--ease-out),
    border-color .4s var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.hp-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .3);
}

.hp-category-card:hover .category-entry-media img {
  transform: scale(1.02);
}

.hp-category-card-body {
  flex: 1;
  padding: var(--space-4) var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hp-category-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-strong);
}

.hp-category-card-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.hp-category-card-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-dark);
  transition: gap var(--duration-fast) var(--ease-out);
}

.hp-category-card:hover .hp-category-card-cta {
  gap: var(--space-3);
}

/* --- Featured Products (JAC models grid) --- */

.hp-featured {
  padding: var(--space-8) 0;
  background: var(--color-bg);
}

.hp-featured .catalog-card-grid-strong {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .hp-featured .catalog-card-grid-strong {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hp-featured .catalog-card-grid-strong {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hp-featured .catalog-card-grid-strong {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Brands Carousel --- */

.hp-brands {
  overflow: hidden;
  position: relative;
  background: var(--color-navy);
  color: #fff;
}

.hp-brands::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 151, 53, .06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(201, 151, 53, .04) 0%, transparent 50%);
  pointer-events: none;
}

.hp-brands .section-head h2 {
  color: #fff;
}

.hp-brands-track {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: var(--space-8);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hp-brands-inner {
  display: flex;
  gap: 96px;
  align-items: center;
  width: max-content;
  animation: hpBrandsMarquee 40s linear infinite;
}

.hp-brands-inner:hover {
  animation-play-state: paused;
}

.hp-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 var(--space-5);
  filter: grayscale(1) brightness(.7) opacity(.65);
  transition:
    filter .4s var(--ease-out),
    transform .4s var(--ease-out);
}

.hp-brand:hover {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.08);
}

.hp-brand-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.hp-brand-name {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
}

.hp-brands-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: var(--space-3);
}

@keyframes hpBrandsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Value Propositions (§20 spec) --- */

.hp-values {
  padding: var(--space-8) 0;
  background: #fffdf9;
}

.hp-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.hp-value-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition:
    transform .4s var(--ease-out),
    box-shadow .4s var(--ease-out),
    border-color .4s var(--ease-out);
}

.hp-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08), 0 0 0 1px rgba(201, 151, 53, .12) inset;
  border-color: rgba(201, 151, 53, .2);
}

.hp-value-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(201, 151, 53, .1);
  color: var(--color-accent);
  transition: transform .4s var(--ease-out);
}

.hp-value-card:hover .hp-value-icon {
  transform: scale(1.08);
}

.hp-value-title {
  font-size: var(--text-xl);
  font-weight: 700;
}

.hp-value-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
}

.hp-value-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.hp-value-cta:hover {
  color: var(--color-accent-hover);
}

/* --- FAQ / Accordion (§18 spec) --- */

.hp-faq {
  padding: var(--space-8) 0;
}

.hp-faq-list {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hp-faq-item {
  background: var(--color-surface);
}

.hp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  line-height: 1.6;
  transition: background .3s var(--ease-out);
}

.hp-faq-question:hover {
  background: var(--color-gray-50);
}

.hp-faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.hp-faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  transition: transform .3s var(--ease-out);
  opacity: .7;
}

.hp-faq-question:hover .hp-faq-chevron {
  opacity: 1;
}

.hp-faq-question[aria-expanded="true"] .hp-faq-chevron {
  transform: rotate(90deg);
  color: var(--color-accent);
  opacity: 1;
}

.hp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out), opacity .3s var(--ease-out);
  opacity: 0;
}

.hp-faq-answer[hidden] {
  display: block;
  max-height: 0;
  padding: 0 var(--space-5);
  opacity: 0;
}

.hp-faq-answer:not([hidden]) {
  max-height: 500px;
  padding: 0 var(--space-5) var(--space-5);
  opacity: 1;
}

.hp-faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

/* --- Banner — findmodels.png --- */

.hp-banner {
  position: relative;
  overflow: hidden;
}

.hp-banner.section {
  padding-bottom: var(--space-5);
}

.hp-banner-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/findmodels.png') center / cover no-repeat;
  pointer-events: none;
  filter: brightness(1.06);
}

.hp-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7,13,24,.6) 0%, rgba(7,13,24,.2) 40%, transparent 60%);
  pointer-events: none;
}

.hp-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 540px;
  min-height: 280px;
  justify-content: center;
}

.hp-banner-overline {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hp-banner-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hp-banner-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, .7);
  line-height: var(--lh-body);
  max-width: 460px;
}

.hp-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.hp-banner-actions .btn-lg {
  min-width: 200px;
}

/* --- SEO block --- */

/* --- Homepage responsive --- */

@media (max-width: 1023px) {
  .hp-hero {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }

  .hp-hero::before {
    background: linear-gradient(180deg,
      rgba(7,13,24,.82) 0%,
      rgba(7,13,24,.50) 45%,
      rgba(7,13,24,.10) 100%
    );
  }

  .hp-hero-glass {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    background: rgba(7, 13, 24, .25);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px var(--space-4) var(--space-4);
  }

  .hp-hero-glass-inner {
    padding: 0;
    text-align: center;
    align-items: center;
    max-width: 520px;
    gap: var(--space-4);
  }

  .hp-hero-title {
    font-size: clamp(30px, 6vw, 40px);
  }

  .hp-hero-subtitle {
    max-width: 100%;
  }

  .hp-hero-benefits {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hp-hero-benefit {
    flex: 0 1 auto;
    min-width: 120px;
  }

  .hp-hero-benefit-icon {
    width: 28px;
    height: 28px;
  }

  .hp-hero-benefit-icon--map {
    width: 44px;
    height: 44px;
  }

  .hp-hero-benefit-divider {
    display: none;
  }

  .hp-hero-form {
    text-align: left;
  }

  .hp-hero-form-row {
    grid-template-columns: 1fr;
  }

  .hp-hero-form-input {
    width: 100%;
  }

  .hp-hero-form-submit {
    width: 100%;
  }

  .hp-hero-form-trust {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hp-hero-bottom-cta {
    display: none;
  }

  .hp-hero-bottom {
    padding: 10px 0;
  }

  .hp-hero-bottom-inner {
    height: auto;
    justify-content: center;
  }

  .hp-hero-metrics {
    justify-content: center;
  }

  .hp-hero-metric {
    padding: 0 14px;
    gap: 10px;
  }

  .hp-hero-metric-num {
    font-size: clamp(22px, 3vw, 28px);
  }

  .hp-hero-metric-label {
    font-size: 10px;
  }

  .hp-hero-metric-sub {
    display: none;
  }

  .hp-hero-metric-divider {
    height: 32px;
  }

  .hp-hero-metric-divider:last-child {
    display: none;
  }

  .hp-showcase-layout {
    grid-template-columns: 1fr;
  }

  .hp-showcase-panel {
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-2);
    padding: var(--space-3);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hp-showcase-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: var(--space-3) var(--space-4);
    white-space: nowrap;
  }

  .hp-showcase-card.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--color-accent);
  }

  .hp-showcase-card-arrow {
    display: none;
  }

  .hp-showcase-stage-nav {
    display: none;
  }

  .hp-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hp-hero-glass {
    padding: 70px var(--space-3) var(--space-3);
  }

  .hp-hero-glass-inner {
    gap: var(--space-3);
  }

  .hp-hero-title {
    font-size: clamp(24px, 7vw, 30px);
  }

  .hp-hero-subtitle {
    font-size: 12px;
  }

  .hp-hero-benefits {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hp-hero-benefit {
    flex: 0 1 auto;
    min-width: 100px;
  }

  .hp-hero-benefit-icon {
    width: 22px;
    height: 22px;
  }

  .hp-hero-benefit-icon--map {
    width: 34px;
    height: 34px;
  }

  .hp-hero-benefit-title {
    font-size: 11px;
  }

  .hp-hero-benefit-desc {
    font-size: 10px;
  }

  .hp-hero-benefit-divider {
    display: none;
  }

  .hp-hero-bottom {
    padding: 10px 0;
  }

  .hp-hero-metric {
    padding: 0 8px;
    gap: 8px;
  }

  .hp-hero-metric-num {
    font-size: clamp(20px, 4.5vw, 26px);
  }

  .hp-hero-metric-label {
    font-size: 10px;
  }

  .hp-hero-metric-divider {
    height: 24px;
  }

  .hp-categories-grid {
    grid-template-columns: 1fr;
  }

  .hp-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .hp-banner-actions .btn-lg {
    width: 100%;
    min-width: 0;
  }

  .hp-faq-list {
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    border-radius: 0;
  }

  .hp-showcase {
    padding: var(--space-6) 0;
    overflow: hidden;
  }

  .hp-showcase-stage {
    min-height: 240px;
  }

  .hp-showcase-card {
    padding: var(--space-2) var(--space-3);
    align-items: center;
  }

  .hp-showcase-card-icon {
    width: 24px;
    height: 24px;
  }

  .hp-showcase-card-desc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hp-showcase-stage-img {
    transition: none;
  }

  .hp-brands-inner {
    animation: none;
  }
}

/* Floating animation for hero equipment */
@keyframes hpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes hpGlowPulse {
  0%, 100% { opacity: .12; }
  50% { opacity: .2; }
}

/* ============================================================
   17. MODEL PAGE (Sprint 3)
   ============================================================ */

/* --- Layout --- */

.md-page {
  padding: var(--space-4) 0 0;
}

.md-layout {
  width: 100%;
}

.md-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: var(--space-3) 0 var(--space-5);
}

/* --- Hero: Gallery + Panel --- */

.md-hero {
  padding: 0 0 var(--space-6);
}

.md-title {
  margin-bottom: var(--space-2);
}

.md-subtitle {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.4;
}

.md-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  column-gap: 40px;
  row-gap: 0;
  align-items: start;
}

.md-main-col {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.md-hero-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.md-desc,
.md-specs {
  min-width: 0;
}

.md-desc.section,
.md-specs.section {
  padding-block: var(--space-5) var(--space-8);
}

.md-desc.section:first-of-type {
  padding-top: 0;
}

/* Gallery */
.md-gallery {
  width: 100%;
}

.md-gallery-main {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.md-gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
}

.md-gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease-out;
  pointer-events: none;
}

.md-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.md-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  cursor: zoom-in;
  transition: transform var(--duration) var(--ease-out);
}

.md-gallery-slide.is-active:hover img {
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .md-gallery-slide.is-active:hover img {
    transform: none;
  }
}

.md-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .9);
  color: var(--color-text);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  opacity: 0;
}

.md-gallery:hover .md-gallery-arrow {
  opacity: 1;
}

.md-gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.md-gallery-arrow-prev { left: var(--space-3); }
.md-gallery-arrow-next { right: var(--space-3); }

.md-gallery-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.md-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.md-gallery-dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.md-gallery-counter {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  z-index: 5;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .5);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.md-gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
  aspect-ratio: 4 / 3;
  color: var(--color-muted);
  background: var(--color-gray-100);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  text-align: center;
}

/* Thumbnails */
.md-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-2) 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.md-gallery-thumb {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--color-surface);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.md-gallery-thumb.is-active {
  border-color: var(--color-accent);
}

.md-gallery-thumb:hover {
  border-color: var(--color-accent);
}

.md-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-gallery-thumb-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-muted);
  background: var(--color-gray-100);
}

/* --- Panel --- */

.md-panel {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 96px;
  align-self: start;
}

.md-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

/* Badge */
.md-panel-badge {
  margin-bottom: var(--space-3);
}

.badge--md {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.badge--md::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.md-avail-stock {
  background: rgba(34, 197, 94, .1);
  color: #16a34a;
}

.md-avail-stock::before {
  background: #16a34a;
}

.md-avail-order {
  background: rgba(234, 179, 8, .1);
  color: #b8860b;
}

.md-avail-order::before {
  background: #ca8a04;
}

.md-avail-request {
  background: rgba(100, 116, 139, .1);
  color: #64748b;
}

.md-avail-request::before {
  background: #64748b;
}

/* Price — prominent */
.md-panel-price {
  margin-bottom: var(--space-6);
}

.md-panel-price-value {
  display: block;
  font-size: 38px;
  font-weight: 900;
  color: var(--color-strong);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.md-panel-price-na {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-muted);
}

/* 4 key specs with icons — vertical list */
.md-panel-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.md-panel-spec {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.md-panel-spec:last-child {
  border-bottom: none;
}

.md-panel-spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: .8;
}

.md-panel-spec-icon svg {
  width: 22px;
  height: 22px;
}

.md-panel-spec-body {
  display: flex;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.md-panel-spec-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-muted);
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.md-panel-spec-value {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-strong);
  text-align: right;
  flex-shrink: 0;
  max-width: 60%;
  min-width: 0;
  white-space: normal;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Divider */
.md-panel-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-6);
  opacity: .7;
}

/* Form — integrated, no background */
.md-panel-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.md-panel-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.md-panel-field-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-steel);
}

.md-panel-input {
  width: 100%;
  min-height: 48px;
  padding: 14px var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-md);
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.md-panel-input:hover {
  border-color: var(--color-muted);
}

.md-panel-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 151, 53, .12);
}

.md-panel-input::placeholder {
  color: var(--color-muted);
  opacity: .6;
}

.md-panel-form .btn {
  width: 100%;
  min-height: 54px;
  padding: 15px 30px;
  font-weight: 800;
  font-size: var(--text-md);
  letter-spacing: .02em;
  border-radius: var(--radius-lg);
}

/* Privacy notice */
.md-panel-privacy {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.4;
  text-align: center;
}

.md-panel-privacy a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- Specs: Two-column balanced grid --- */

.md-specs {
  padding: var(--space-8) 0;
}

.md-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-5);
  align-items: start;
}

.md-specs-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.md-specs-group-block {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.md-specs-group-title {
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: var(--space-4) var(--space-5);
  background: var(--color-navy);
  color: var(--color-surface);
  margin: 0;
}

.md-specs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-specs-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.md-specs-row:last-child {
  border-bottom: none;
}

.md-specs-row dt {
  color: var(--color-muted);
  font-weight: 400;
  flex: 0 1 45%;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.6;
  font-size: var(--text-sm);
}

.md-specs-row-key {
  background: var(--color-bg-secondary);
}
.md-specs-row-key dt {
  font-weight: 600;
  color: var(--color-text);
}
.md-specs-row-key dd {
  font-weight: 700;
  color: var(--color-accent, var(--color-text));
}

.md-specs-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-strong);
  text-align: right;
  flex: 1 1 55%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
  font-size: var(--text-sm);
}

/* --- Description section --- */

.md-desc {
  padding: var(--space-5) 0 var(--space-8);
}

.md-desc-content {
  max-width: 800px;
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.7;
  margin-top: var(--space-5);
}

.md-desc-content p {
  margin: 0 0 var(--space-3);
}

.md-desc-content p:last-child {
  margin-bottom: 0;
}

.md-context {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.md-context-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  min-width: 180px;
  flex: 1 1 260px;
  max-width: 360px;
}
.md-context-brand:hover {
  background: var(--color-gray-100);
}
.md-context-brand-logo {
  align-self: flex-start;
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  margin-bottom: var(--space-2);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.md-context-brand-label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.md-context-brand-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.md-context-brand-meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.md-context-brand-desc {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-top: 2px;
}
.md-context-brand-link {
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin-top: 4px;
}

/* --- Related Models --- */

.md-related {
  padding: var(--space-8) 0;
}

#md-related .catalog-card-grid-strong {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  #md-related .catalog-card-grid-strong {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #md-related .catalog-card-grid-strong {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  #md-related .catalog-card-grid-strong {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- PDP: CTA banner flush with footer --- */

#md-cta.section {
  padding-block: var(--space-7) 0;
  background: var(--color-graphite);
}



/* --- Lightbox --- */

.md-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease-out;
}

.md-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.md-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.85);
  transition: transform .4s var(--ease-out);
}

.md-lightbox.is-open .md-lightbox-img {
  transform: scale(1);
}

.md-lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.md-lightbox-close:hover {
  background: rgba(255, 255, 255, .2);
}

.md-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.md-lightbox-nav:hover {
  background: rgba(255, 255, 255, .2);
}

.md-lightbox-nav-prev { left: var(--space-4); }
.md-lightbox-nav-next { right: var(--space-4); }

/* --- Responsive --- */

@media (max-width: 1023px) {
  .md-layout-grid {
    grid-template-columns: 1fr;
  }

  .md-main-col {
    display: contents;
  }

  .md-hero-col {
    order: 1;
  }

  .md-panel {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .md-desc {
    order: 3;
  }

  .md-specs {
    order: 4;
  }

  .md-panel {
    position: static;
  }

  .md-specs-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 767px) {
  .md-gallery-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
  }

  .md-gallery-thumb {
    width: 60px;
    height: 45px;
  }

  .md-context {
    flex-direction: column;
  }

  .md-specs-grid {
    grid-template-columns: 1fr;
  }

  .md-specs-row {
    flex-wrap: wrap;
  }

  .md-specs-row dt {
    flex-shrink: 1;
    word-break: break-word;
    white-space: normal;
    width: 100%;
  }

  .md-specs-row dd {
    white-space: normal;
    word-break: break-word;
    text-align: left;
    width: 100%;
  }

  .md-specs-table,
  .md-specs-table thead,
  .md-specs-table tbody,
  .md-specs-table tr {
    display: block;
  }

  .md-specs-table tr {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }

  .md-specs-table tbody tr:nth-child(odd),
  .md-specs-table tbody tr:nth-child(even) {
    background: var(--color-surface);
  }

  .md-specs-table th,
  .md-specs-table td {
    display: block;
    padding: 0;
    width: 100%;
    border: none;
    font-size: var(--text-xs);
  }

  .md-specs-table th {
    color: var(--color-muted);
    font-weight: 400;
    margin-bottom: 1px;
    width: auto;
  }

  .md-specs-table td {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-gallery-slide {
    transition: none;
  }

  .md-adv-card:hover {
    transform: none;
  }
}

/* ============================================================
   18. LEGACY PAGE STYLES (backward compatibility)
   ============================================================ */

/* These styles preserve existing page template rendering.
   They are overridden by new component styles above but ensure
   that existing page templates (home.php, category.php, model.php)
   continue to render correctly until they are migrated. */

/* Homepage hero */
.industrial-hero {
  position: relative;
  min-height: min(860px, 86vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
  color: #fff;
}

.industrial-hero-media {
  position: absolute;
  inset: -40px;
  background: var(--hero-image, none);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
}

.industrial-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 700px at 20% 10%, rgba(201, 151, 53, .18), transparent 55%),
    linear-gradient(90deg, rgba(7, 13, 24, .94) 0%, rgba(7, 13, 24, .74) 46%, rgba(7, 13, 24, .22) 100%),
    linear-gradient(180deg, rgba(7, 13, 24, .35) 0%, rgba(7, 13, 24, .88) 88%);
}

.industrial-hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 200px rgba(0,0,0,.5);
}

.industrial-hero-noise {
  display: none;
}

.industrial-hero-beam,
.industrial-hero-beam-left,
.industrial-hero-beam-right {
  display: none;
}

.industrial-hero-grid {
  display: none;
}

.industrial-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.industrial-hero-copy {
  max-width: 60ch;
}

.industrial-hero-visual {
  display: grid;
  place-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-6);
  max-width: 690px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: rgba(255, 255, 255, .08);
}

.metric strong {
  display: block;
  font-size: 28px;
}

.metric span {
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
}

/* Category explorer (homepage) */
.category-explorer {
  margin-top: var(--space-5);
}

.category-explorer-cinematic {
  margin-top: var(--space-5);
}

.category-explorer-track {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-explorer-track-cinematic {
  composes: category-explorer-track;
}

.explorer-card {
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--color-strong);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease-out);
}

.explorer-card:hover {
  border-color: rgba(201, 151, 53, .30);
}

.explorer-card.is-active {
  background: radial-gradient(900px 320px at 20% 0%, rgba(201, 151, 53, .22), var(--color-surface) 65%);
  border-color: rgba(201, 151, 53, .45);
}

.explorer-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-panel);
  margin-top: var(--space-4);
}

.explorer-stage-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 18% 0%, rgba(201, 151, 53, .22), transparent 55%),
    radial-gradient(900px 600px at 85% 20%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(90deg, rgba(7, 13, 24, .92) 0%, rgba(7, 13, 24, .58) 55%, rgba(7, 13, 24, .25) 100%);
}

.explorer-stage-dominant {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
}

.explorer-stage-copy h3 {
  font-size: 34px;
  color: #fff;
  margin: 0;
}

.explorer-stage-copy p {
  color: rgba(255, 255, 255, .82);
  margin-top: 12px;
  max-width: 56ch;
}

.explorer-stage-visual {
  display: grid;
  place-items: center;
}

.explorer-stage-visual img {
  width: min(520px, 100%);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, .45));
}

.explorer-stage-meta {
  display: none;
}

/* Showcase (legacy) */
.showcase-tabs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.showcase-tab {
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--color-strong);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease-out);
}

.showcase-tab:hover {
  border-color: rgba(201, 151, 53, .30);
}

.showcase-tab.is-active {
  background: radial-gradient(900px 320px at 20% 0%, rgba(201, 151, 53, .22), var(--color-surface) 65%);
  border-color: rgba(201, 151, 53, .45);
}

.showcase-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-panel);
}

.showcase-stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 18% 0%, rgba(201, 151, 53, .22), transparent 55%),
    radial-gradient(900px 600px at 85% 20%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(90deg, rgba(7, 13, 24, .92) 0%, rgba(7, 13, 24, .58) 55%, rgba(7, 13, 24, .25) 100%);
}

.showcase-stage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
}

.showcase-copy h3 {
  color: #fff;
  font-size: 34px;
}

.showcase-copy p {
  color: rgba(255, 255, 255, .82);
  margin-top: 12px;
  max-width: 56ch;
}

.showcase-visual {
  display: grid;
  place-items: center;
}

.showcase-image {
  width: min(520px, 100%);
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, .45));
}

/* Catalog sidebar / filters (legacy) */
.catalog-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 132px;
}

.catalog-filters {
  display: grid;
  gap: 0;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.catalog-filters label {
  display: grid;
  gap: 8px;
  color: var(--color-steel);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.catalog-filters label:not(:first-of-type) {
  margin-top: 4px;
}

.catalog-filters input:not([type="range"]),
.catalog-filters select {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 12px 42px 12px 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.catalog-filters select {
  min-height: 40px;
  padding: 6px 36px 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667085' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 7px;
  cursor: pointer;
}

.catalog-filters input:not([type="range"]):hover,
.catalog-filters select:hover {
  border-color: var(--color-steel);
  background: var(--color-surface);
}

.catalog-filters input:not([type="range"]):focus,
.catalog-filters select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(201, 151, 53, .14);
  background: var(--color-surface);
}

.catalog-filters .btn {
  margin-top: 16px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 13px;
  border-radius: var(--radius-md);
}

.catalog-filters .btn-outline {
  margin-top: 10px;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 20px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

.catalog-toolbar h2 {
  font-size: 20px;
  font-weight: 750;
  color: var(--color-strong);
}

.catalog-toolbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.catalog-toolbar-count {
  font-size: 20px;
  font-weight: 750;
  color: var(--color-strong);
  margin: 0;
}

.catalog-toolbar-sub {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin: 2px 0 0;
}

/* Catalog cards (legacy) */
.catalog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .26);
}

.catalog-card-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform var(--duration) var(--ease-out);
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.04);
}

.catalog-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-bg));
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px 24px;
  flex: 1;
}

.catalog-card-topline {
  display: none;
}

.catalog-card-topline .eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
}

.catalog-card-topline .badge {
  display: none;
}

.catalog-card-summary {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 2px;
}

.catalog-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--color-line);
}

.catalog-card-pricebox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.catalog-card-footer .card-price {
  font-size: clamp(18px, 1.5vw, 20px);
  font-weight: 800;
  color: var(--color-strong);
  white-space: nowrap;
  text-align: left;
}

.card-avail-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.card-availability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-green .card-avail-dot { background: #22c55e; }
.status-green { color: #16a34a; }

.status-amber .card-avail-dot { background: #f59e0b; }
.status-amber { color: #d97706; }

.status-muted .card-avail-dot { background: #9ca3af; }
.status-muted { color: #6b7280; }

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.avail-badge--sm {
  font-size: 11px;
}
.avail-badge--md {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
}
.avail-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avail-badge--md .avail-badge-dot {
  width: 8px;
  height: 8px;
}
.avail-stock .avail-badge-dot { background: #22c55e; }
.avail-stock { color: #16a34a; }
.avail-soon .avail-badge-dot { background: #eab308; }
.avail-soon { color: #ca8a04; }
.avail-order .avail-badge-dot { background: #f97316; }
.avail-order { color: #ea580c; }
.avail-request .avail-badge-dot { background: #9ca3af; }
.avail-request { color: #6b7280; }
.avail-badge--md.avail-stock { background: rgba(34,197,94,0.1); }
.avail-badge--md.avail-soon { background: rgba(234,179,8,0.1); }
.avail-badge--md.avail-order { background: rgba(249,115,22,0.1); }
.avail-badge--md.avail-request { background: rgba(156,163,175,0.1); }

.avail-badge-sep {
  opacity: .4;
  margin: 0 1px;
}

.avail-badge-dl {
  font-weight: 500;
  opacity: .75;
}

.avail-badge--md .avail-badge-dl {
  font-weight: 600;
  opacity: .9;
}

.card-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.card-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* Full-width catalog grid (no sidebar — brand hub pages) */
.catalog-shell--no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.catalog-shell--no-sidebar .catalog-card-grid-strong {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199px) {
  .catalog-shell--no-sidebar .catalog-card-grid-strong {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .catalog-shell--no-sidebar .catalog-card-grid-strong {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .catalog-shell--no-sidebar .catalog-card-grid-strong {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Visual specs (legacy) */
.visual-specs {
  display: grid;
  gap: var(--space-3);
}

.visual-specs-grid {
  grid-template-columns: 1fr 1fr;
}

.visual-spec {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.visual-spec-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 800;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.visual-spec div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.visual-spec strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-strong);
}

.visual-spec span {
  font-size: 11px;
  color: var(--color-muted);
}

/* Card badges (legacy) */
.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 2px;
}

.card-badges span {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  font-weight: 600;
}

/* Model page legacy */
.model-page {
  padding-block: var(--space-6);
}

.model-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-7);
}

.model-gallery-main {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.model-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: var(--space-4);
}

.model-summary {
  position: sticky;
  top: 96px;
}

.model-summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
}

.model-spec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.model-spec-card {
  padding: var(--space-3);
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.model-spec-card strong {
  display: block;
  font-size: var(--text-sm);
}

.model-spec-card span {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.model-detail-block {
  margin-top: var(--space-7);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.spec-table th {
  background: var(--color-bg);
  font-weight: 700;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  color: var(--color-steel);
}

.spec-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-line);
}

/* Category overview grid — premium cards */
.category-overview-grid {
  display: grid;
  gap: 20px;
}

.category-overview-grid-strong {
  grid-template-columns: 1fr 1fr;
}

.overview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.overview-card-strong h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-strong);
  margin-top: 4px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.spec-pill-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.spec-pill span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.spec-pill strong {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-accent-dark);
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scenario-list li {
  position: relative;
  padding: 10px 16px 10px 32px;
  font-size: var(--text-sm);
  color: var(--color-strong);
  line-height: 1.45;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.scenario-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Subcategory strip — premium cards */
.subcategory-strip {
  display: grid;
  gap: 20px;
}

.subcategory-strip-strong {
  grid-template-columns: repeat(3, 1fr);
}

.subcategory-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  text-decoration: none;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.subcategory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .35);
}

.subcategory-card-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-accent-dark);
}

.subcategory-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.2;
  margin: 0;
}

.subcategory-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.4;
  margin: 0;
}

.subcategory-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-dark);
}

.subcategory-card-link::after {
  content: "→";
  transition: transform var(--duration-fast) var(--ease-out);
}

.subcategory-card:hover .subcategory-card-link::after {
  transform: translateX(4px);
}

/* Filter shortcut cards */
.section-filters-shortcut {
  background: transparent;
}

.filter-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.filter-shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  text-decoration: none;
  min-width: 160px;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.filter-shortcut-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 151, 53, .35);
}

.filter-shortcut-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent-dark);
}

.filter-shortcut-card strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-strong);
}

/* Filter cards (legacy) */
.filter-card {
  padding: 24px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.filter-card h2,
.filter-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.2;
}

.filter-card-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent-dark);
  margin-bottom: 6px;
}

.filter-card p {
  color: var(--color-muted);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.45;
}

.filter-route-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.filter-route-chip {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.filter-route-chip:hover {
  border-color: var(--color-accent);
  background: rgba(201, 151, 53, .04);
}

.filter-route-chip span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.filter-route-chip strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-strong);
}

.catalog-route-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.catalog-route-card {
  padding: var(--space-3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease-out);
}

.catalog-route-card:hover {
  border-color: var(--color-accent);
}

.catalog-route-card span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* Empty panel */
.empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
}

.empty-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

/* Category entry grid (catalog index) */
.category-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.category-entry-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out), border-color var(--duration-slow) var(--ease-out);
}

.category-entry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elev);
  border-color: rgba(201, 151, 53, .4);
}

.category-entry-media {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-2);
  background: #ffffff;
}

.category-entry-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--duration-slow) var(--ease-out);
}

.category-entry-card:hover .category-entry-media img {
  transform: scale(1.02);
}

.category-entry-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
}

.category-entry-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-strong);
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-entry-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-accent-dark);
  transition: gap var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.category-entry-card:hover .category-entry-link {
  gap: var(--space-2);
  color: var(--color-accent);
}

.category-entry-info {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.4;
  margin-top: var(--space-1);
}

/* Capacity strip */
/* Trust ribbon */
.trust-ribbon {
  padding-block: var(--space-6);
}

.trust-ribbon-card {
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

/* CTA panel (legacy) */
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-7);
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(201, 151, 53, .22), transparent 55%),
    radial-gradient(1100px 700px at 80% 30%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(180deg, rgba(7, 13, 24, .98), rgba(7, 13, 24, .92));
  color: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-panel);
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, .75);
}

/* Form card (legacy) */
.form-card {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.quick-form {
  display: grid;
  gap: var(--space-3);
}

/* Split panel (legacy) */
.split-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-6);
  align-items: center;
}

/* SEO panel */
.seo-panel {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}

.seo-panel p {
  color: var(--color-muted);
}

/* Company page legacy */
.company-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  margin-bottom: var(--space-6);
}

.company-hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-7);
  color: #fff;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 24, .8));
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.company-card {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.company-card strong {
  display: block;
  font-size: var(--text-2xl);
  color: var(--color-accent-dark);
}

.company-card span {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

/* Page-head (breadcrumb container) */
.catalog-page-head {
  padding: var(--space-4) 0 var(--space-3);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
  margin-bottom: var(--space-5);
}

/* --- Unified commercial page hero --- */

.page-hero {
  padding: var(--space-6) 0 var(--space-5);
  background: var(--color-surface-2);
}

.page-hero--image {
  position: relative;
  color: #fff;
  background: var(--color-navy);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,13,24,.88) 0%, rgba(7,13,24,.72) 32%, rgba(7,13,24,.42) 62%, rgba(7,13,24,.20) 100%);
  pointer-events: none;
}

.page-hero--image .container {
  position: relative;
  z-index: 2;
}

.page-hero.page-hero--image h1 {
  color: #fff;
}

.page-hero.page-hero--image .lead,
.page-hero.page-hero--image .page-intro {
  color: rgba(255,255,255,.85);
}

.page-hero.page-hero--image .eyebrow {
  color: var(--color-accent-light);
}

.page-hero.page-hero--image .breadcrumbs,
.page-hero.page-hero--image .breadcrumbs a {
  color: rgba(255,255,255,.7);
}

.page-hero.page-hero--image .breadcrumbs a:hover {
  color: var(--color-accent-light);
}

.page-hero.page-hero--image .breadcrumbs .breadcrumb-current {
  color: rgba(255,255,255,.92);
}

.page-hero.page-hero--image .breadcrumbs .breadcrumb-sep {
  color: rgba(255,255,255,.45);
}

.page-hero .breadcrumbs {
  margin-bottom: var(--space-3);
}

.page-hero .eyebrow {
  margin-bottom: 4px;
}

.page-hero h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  margin: 0;
  color: var(--color-strong);
  line-height: 1.15;
}

.page-hero .lead {
  margin-top: var(--space-3);
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 64ch;
}

.page-intro {
  margin-top: var(--space-4);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 72ch;
}

/* --- Content card grid (company/service/leasing/delivery) --- */

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.page-card {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  transition:
    transform .22s var(--ease-out),
    box-shadow .22s var(--ease-out),
    border-color .22s var(--ease-out);
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  border-color: rgba(201,151,53,.3);
}

.page-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(201,151,53,.12);
  color: var(--color-accent-dark);
}

.page-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.page-card h2 {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-strong);
}

.page-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* --- Trust strip (CTA with two buttons) --- */

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
}

.trust-strip .eyebrow {
  margin: 0;
}

.trust-strip h2 {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  margin: 4px 0 0;
  color: var(--color-strong);
}

.trust-strip-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Leasing financial partners block */
.leasing-partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.leasing-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), border-color var(--duration) var(--ease-out);
}

.leasing-partner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 151, 53, .35);
}

.leasing-partner img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.leasing-partner:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 1023px) {
  .leasing-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .leasing-partners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-card-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    flex-direction: column;
    text-align: center;
  }

  .trust-strip-actions {
    flex-direction: column;
    width: 100%;
  }

  .trust-strip-actions .btn {
    text-align: center;
  }
}

/* --- Legal page body --- */

.legal-body {
  max-width: 768px;
}

.legal-section + .legal-section {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.legal-section h2 {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-strong);
}

.legal-section-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.legal-section-text p {
  margin: 0 0 var(--space-3);
}

.legal-section-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

/* Desktop large (>=1280px) */

/* Desktop (1024-1279px) */

/* Tablet (768-1023px) */
/* Note: topline hidden but nav and phone remain visible.
   Only phones (<768px) hide nav and phone behind drawer. */
@media (max-width: 1023px) {
  /* Header */
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    min-height: 68px;
    padding-block: var(--space-2);
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 8px;
    font-size: 11px;
    letter-spacing: .06em;
  }

  .main-nav a:nth-child(3),
  .main-nav a:nth-child(4),
  .main-nav a:nth-child(5) {
    display: none;
  }

  .city-selector-phone {
    display: none;
  }

  .city-selector-trigger {
    padding: 5px 8px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Grids */
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Layouts */
  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .catalog-shell {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  /* Model page */
  .model-shell {
    grid-template-columns: 1fr;
  }

  .model-summary {
    position: static;
  }

  /* Brand logos */
  .brand-logo-row {
    gap: 18px 24px;
  }

  .brand-logo-img {
    max-height: 52px;
  }

  /* Breadcrumbs */
  .breadcrumbs .breadcrumb-hidden {
    display: none;
  }
}

/* Compact desktop header (1024-1279px): keep nav + phones, avoid overflow */
@media (min-width: 1024px) and (max-width: 1279px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 8px;
    font-size: 11px;
    letter-spacing: .06em;
  }

  .main-nav a:nth-child(3),
  .main-nav a:nth-child(4),
  .main-nav a:nth-child(5) {
    display: none;
  }

  .header-contact-phone-link:nth-of-type(n+2) {
    display: none;
  }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
  /* Header: nav hidden behind drawer */
  .main-nav {
    display: none;
  }

  .city-selector {
    display: none;
  }

  /* Containers */
  .container,
  .container-xl {
    width: calc(100% - 24px);
  }

  .header-inner {
    min-height: 60px;
    padding-block: var(--space-2);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-note {
    font-size: 10px;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-auto {
    grid-template-columns: 1fr;
  }

  .category-entry-grid {
    grid-template-columns: 1fr;
  }

  .category-entry-media {
    height: 180px;
  }

  .brand-logo-row {
    gap: 14px 18px;
  }

  .brand-logo-img {
    max-height: 44px;
  }

  /* Typography responsive */
  h1 {
    font-size: clamp(26px, 8vw, 36px);
  }

  h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero (legacy) */
  .industrial-hero {
    min-height: 60vh;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  /* Catalog card grid */
  .catalog-card-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card-grid-strong {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .catalog-card-body {
    padding: 16px;
    gap: 10px;
  }

  .card-actions {
    flex-direction: column;
  }

  .catalog-card-media {
    padding: 12px;
  }

  /* Model */
  .model-spec-cards {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-panel {
    padding: var(--space-5);
  }

  .cta-actions {
    flex-direction: column;
  }

  /* Company */
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Sticky CTA */
  .sticky-cta {
    padding: var(--space-3);
    font-size: var(--text-xs);
    gap: var(--space-3);
  }

  /* Inquiry panel */
  .inquiry-panel-sheet {
    max-height: 90dvh;
  }
  .inquiry-panel-header {
    padding: var(--space-4);
  }
  .inquiry-panel-body {
    padding: var(--space-4);
  }
  .inquiry-panel-success {
    padding: var(--space-8) var(--space-4);
  }

  /* Pagination */
  .pagination {
    gap: var(--space-1);
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-1);
  }

  .pagination .pagination-prev,
  .pagination .pagination-next {
    padding: 0 var(--space-2);
  }
}

/* Small phones (<480px) */
@media (max-width: 479px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-note {
    display: none;
  }

  .brand-logo-row {
    gap: 12px 14px;
  }

  .brand-logo-img {
    max-height: 38px;
  }

  .pagination .pagination-prev span,
  .pagination .pagination-next span {
    display: none;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   18. UTILITY
   ============================================================ */

/* Display */
.d-none { display: none; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }

/* Flex */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

/* Spacing */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Width */
.w-full { width: 100%; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Consent checkbox — LC-02 */
.consent-checkbox-wrap {
  margin: var(--space-3) 0;
}
.consent-checkbox-label {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2, 8px);
  cursor: pointer;
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.4;
}
.consent-checkbox-input {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.consent-checkbox-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-checkbox-text a:hover {
  color: var(--color-accent);
}
.consent-checkbox-error {
  margin: var(--space-1) 0 0;
  font-size: var(--text-xs);
  color: #dc2626;
  line-height: 1.3;
}
.consent-checkbox-wrap--error .consent-checkbox-input {
  outline: 2px solid #dc2626;
  outline-offset: 1px;
}

.hp-hero-form .consent-checkbox-label,
.hp-hero-form .consent-checkbox-text a {
  color: rgba(255, 255, 255, .55);
}
.hp-hero-form .consent-checkbox-error {
  color: #fca5a5;
}
.hp-hero-form .consent-checkbox-input {
  accent-color: var(--color-accent);
}

@media (max-width: 767px) {
  .consent-checkbox-label {
    font-size: 11px;
  }
}

/* Legal page — LC-02 */
.legal-hero {
  padding: var(--space-8) 0 var(--space-5);
}
.legal-hero .eyebrow {
  margin-bottom: var(--space-2);
}
.legal-hero h1 {
  font-size: var(--text-3xl);
  line-height: 1.2;
  margin: var(--space-4) 0 var(--space-3);
}
.legal-intro {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 720px;
}
.legal-body {
  max-width: 800px;
}
.legal-section {
  margin-bottom: var(--space-6);
}
.legal-section h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.legal-section-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.45;
}

/* ============================================================
   19. ABOUT PAGE — Redesigned Company Info
   ============================================================ */

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-6);
  color: var(--color-text);
}

/* --- About Hero --- */

.about-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.about-hero-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,15,22,.92) 0%, rgba(10,15,22,.82) 22%, rgba(10,15,22,.55) 45%, rgba(10,15,22,.15) 70%, transparent 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  max-width: 560px;
  padding: var(--space-8) 0;
}

.about-hero-content .breadcrumbs {
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
}

.about-hero-content .breadcrumbs a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

.about-hero-content .breadcrumbs a:hover {
  color: var(--color-accent-light);
}

.about-hero-content .breadcrumbs .breadcrumb-current {
  color: rgba(255,255,255,.9);
}

.about-hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent-light);
  margin: 0 0 var(--space-3);
}

.about-hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-4);
  color: #fff;
}

.about-hero-lead {
  font-size: var(--text-xl);
  line-height: 1.45;
  color: rgba(255,255,255,.85);
  margin: 0 0 var(--space-4);
}

.about-hero-text {
  font-size: var(--text-md);
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin: 0;
  max-width: 560px;
}

/* --- About Values (Почему выбирают) --- */

.about-values {
  background: var(--color-surface);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.about-value-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-7);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast);
}

.about-value-card:hover {
  box-shadow: var(--shadow-card);
}

.about-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,151,53,.12);
  color: var(--color-accent);
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 28px;
  height: 28px;
}

.about-value-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}

.about-value-text {
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

/* --- About Steps (Как мы работаем) --- */

.about-steps {
  background: var(--color-surface-2);
}

.about-steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.about-steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  opacity: .35;
  border-radius: 2px;
  pointer-events: none;
}

.about-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  text-align: center;
  position: relative;
}

.about-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(201,151,53,.18);
}

.about-step-icon {
  color: var(--color-steel);
}

.about-step-icon svg {
  width: 24px;
  height: 24px;
}

.about-step-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  max-width: 160px;
}

.about-step-arrow {
  position: absolute;
  right: -8px;
  top: 16px;
  color: var(--color-accent);
  opacity: .4;
  z-index: 2;
}

.about-step-arrow svg {
  width: 22px;
  height: 22px;
}

/* --- About Directions (Другие направления) --- */

.about-directions {
  background: var(--color-surface);
}

.about-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.about-dir-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  background: var(--color-bg);
}

.about-dir-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.about-dir-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-dir-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.about-dir-card:hover .about-dir-image img {
  transform: scale(1.05);
}

.about-dir-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  flex: 1;
}

.about-dir-title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}

.about-dir-text {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0;
  flex: 1;
}

.about-dir-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* --- About Trust (Почему доверяют) --- */

.about-trust {
  background: var(--color-surface-2);
}

.about-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.about-trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.about-trust-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.about-trust-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,151,53,.12);
  color: var(--color-accent);
  flex-shrink: 0;
}

.about-trust-card-icon svg {
  width: 24px;
  height: 24px;
}

.about-trust-card-text {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}

/* --- About Page Responsive --- */

@media (max-width: 1023px) {
  .about-values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-dir-grid {
    grid-template-columns: 1fr;
  }

  .about-dir-image {
    height: 200px;
  }

  .about-steps-row::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 450px;
  }

  .about-hero-title {
    font-size: var(--text-3xl);
  }

  .about-hero-lead {
    font-size: var(--text-md);
  }

  .about-hero-content {
    padding-left: 0;
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-value-card {
    padding: var(--space-6);
  }

  .about-steps-row {
    flex-direction: column;
    gap: var(--space-4);
  }

  .about-step {
    flex-direction: row;
    gap: var(--space-4);
    text-align: left;
  }

  .about-step-arrow {
    display: none;
  }

  .about-step-title {
    max-width: none;
  }

  .about-step-icon {
    display: none;
  }

  .about-dir-image {
    height: 180px;
  }

  .about-dir-body {
    padding: var(--space-4);
  }

  .about-trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-trust-card {
    padding: var(--space-5);
  }
}

@media (max-width: 480px) {
  .about-trust-row {
    grid-template-columns: 1fr;
  }
}
