:root {
  --ink: #07080a;
  --asphalt: #101216;
  --panel: rgba(16, 18, 22, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f3ee;
  --muted: #b7b0a6;
  --red: #e32821;
  --red-dark: #8f1612;
  --status-orange: #ff5a1f;
  --steel: #d9dde2;
  --gold: #d9af62;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 70%);
  z-index: 5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(7, 8, 10, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.hero-actions,
.trust-strip,
.price-row,
.toggle-group,
.contact-actions {
  display: flex;
}

.brand {
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(135deg, var(--red), #f46f36);
  color: #fff;
  font-weight: 1000;
  transform: skew(-9deg);
  box-shadow: 0 16px 38px rgba(227, 40, 33, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.06em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.call-button,
.primary-action,
.ghost-action,
.price-row a,
.toggle-group button {
  min-height: 46px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.call-button,
.ghost-action,
.price-row a,
.toggle-group button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  padding: 0 18px;
}

.primary-action {
  background: var(--red);
  color: #fff;
  padding: 0 22px;
  box-shadow: 0 18px 48px rgba(227, 40, 33, 0.34);
}

.ghost-action.dark {
  color: var(--asphalt);
  border-color: rgba(16,18,22,0.18);
  background: rgba(16,18,22,0.06);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 126px max(24px, calc((100vw - 1240px) / 2)) 58px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,8,10,0.96) 0%, rgba(7,8,10,0.72) 38%, rgba(7,8,10,0.16) 72%),
    linear-gradient(180deg, rgba(7,8,10,0.24) 0%, rgba(7,8,10,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-bottom: 6vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(68px, 12vw, 166px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 0.94;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.98;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.hero-lead {
  max-width: 640px;
  color: var(--steel);
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 58px;
  width: min(330px, calc(100vw - 48px));
  padding: 22px;
  background: rgba(245, 243, 238, 0.94);
  color: var(--asphalt);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 3px 0 8px;
  font-size: 44px;
  line-height: 1;
}

.hero-panel p {
  margin: 0;
  color: #4f5359;
}

.trust-strip {
  width: min(1240px, calc(100vw - 48px));
  margin: -26px auto 0;
  position: relative;
  z-index: 8;
  background: #f5f3ee;
  color: var(--asphalt);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip div {
  flex: 1;
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(16,18,22,0.12);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip b,
.trust-strip span {
  display: block;
}

.trust-strip b {
  margin-bottom: 5px;
  font-size: 20px;
}

.trust-strip span {
  color: #68635d;
  font-size: 14px;
}

.models,
.all-products,
.category-showcase,
.engineering,
.selector,
.gallery,
.systems,
.location,
.contact {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 58px 0 22px;
}

.category-showcase a {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(16,18,22,0.72);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.category-showcase a:hover {
  border-color: rgba(227,40,33,0.66);
  background:
    linear-gradient(180deg, rgba(227,40,33,0.18), rgba(255,255,255,0.03)),
    rgba(16,18,22,0.82);
  transform: translateY(-2px);
}

.category-showcase span,
.category-showcase small {
  color: var(--muted);
}

.category-showcase span {
  font-size: 12px;
  font-weight: 950;
}

.category-showcase b {
  margin-top: auto;
  font-size: 26px;
}

.category-showcase small {
  display: block;
  margin-top: 10px;
  line-height: 1.45;
}

.models {
  padding: 82px 0 44px;
}

.section-title {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-title.compact {
  max-width: 980px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.model-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.model-card.featured {
  border-color: rgba(227,40,33,0.45);
}

.model-media {
  position: relative;
  aspect-ratio: 1.45;
  background: #16191e;
  overflow: hidden;
}

.model-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.model-card:hover .model-media img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 18px;
  top: 18px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: var(--red);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.model-info {
  padding: 24px;
}

.model-info ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}

.model-info li {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--steel);
  font-size: 14px;
}

.all-products {
  padding: 52px 0 76px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.catalog-toolbar input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font: inherit;
  padding: 0 16px;
  outline: none;
}

.catalog-toolbar input::placeholder {
  color: rgba(245,243,238,0.46);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-filters button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  padding: 0 14px;
  font-weight: 900;
}

.catalog-filters button.active {
  background: var(--red);
  border-color: var(--red);
}

.premium-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.premium-product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
}

.premium-product-card img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  background: #181b20;
}

.premium-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.premium-product-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--status-orange);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.premium-product-topline .out {
  color: #9b9fa6;
}

.premium-product-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.08;
}

.premium-product-card p {
  display: -webkit-box;
  min-height: 70px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
}

.premium-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.premium-product-bottom b {
  font-size: 20px;
}

.catalog-price {
  display: grid;
  gap: 4px;
}

.catalog-price del,
.product-detail-price del {
  color: var(--muted);
  font-weight: 850;
}

.catalog-price del {
  font-size: 13px;
}

.premium-product-bottom a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.price-row {
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.price-row strong {
  font-size: 34px;
}

.engineering {
  padding: 72px 0;
}

.engineering-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.engineering-layout > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-matrix div {
  padding: 24px;
  min-height: 250px;
  background: #f5f3ee;
  color: var(--asphalt);
  border-radius: 8px;
}

.feature-matrix span {
  color: var(--red);
  font-weight: 1000;
}

.feature-matrix b {
  display: block;
  margin: 34px 0 10px;
  font-size: 24px;
}

.feature-matrix p {
  color: #5f6267;
}

.selector {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  padding: 72px 0;
}

.selector-copy {
  align-self: center;
}

.toggle-group {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.toggle-group button {
  cursor: pointer;
}

.toggle-group button.active {
  background: var(--red);
  border-color: var(--red);
}

.selector-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--asphalt);
}

.selector-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.spec-list {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.spec-list div {
  min-height: 78px;
  padding: 12px;
  background: rgba(7,8,10,0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.spec-list b,
.spec-list span {
  display: block;
}

.spec-list b {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-list span {
  margin-top: 6px;
  color: var(--text);
  font-weight: 850;
}

.gallery {
  padding: 72px 0 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 290px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.systems {
  padding: 38px 0 76px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.system-grid div {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    var(--panel);
}

.system-grid b,
.system-grid span {
  display: block;
}

.system-grid b {
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-grid span {
  color: var(--steel);
  line-height: 1.55;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 22px;
  padding: 32px 0 96px;
}

.location-copy {
  align-self: center;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.map-shell {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #15181d;
  box-shadow: var(--shadow);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.88);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding: 34px;
  background: #f5f3ee;
  color: var(--asphalt);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact h2 {
  font-size: clamp(32px, 5vw, 62px);
}

.contact p {
  color: #5f6267;
}

.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.chat-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  min-width: 148px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 20px 60px rgba(227, 40, 33, 0.36);
}

.chat-float span,
.chat-float b {
  display: block;
}

.chat-float span {
  color: rgba(255,255,255,0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-float b {
  margin-top: 2px;
}

.mobile-dock {
  display: none;
}

.designer-panel {
  position: fixed;
  left: 18px;
  top: 88px;
  z-index: 80;
  width: min(300px, calc(100vw - 36px));
  min-width: 220px;
  min-height: 190px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--asphalt);
  cursor: grab;
  font-family: inherit;
}

.designer-drag-handle {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(16,18,22,0.92);
  color: #fff;
  cursor: grab;
  padding: 7px 10px;
  user-select: none;
  touch-action: none;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
}

.designer-drag-handle span {
  font-size: 12px;
  font-weight: 1000;
}

.designer-drag-handle small {
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  font-weight: 850;
}

.designer-panel-dragging,
.designer-panel-dragging .designer-drag-handle,
.designer-panel-resizing {
  cursor: grabbing;
}

.designer-resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  z-index: 2;
}

.designer-resize-handle::before {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  border-right: 3px solid rgba(16,18,22,0.42);
  border-bottom: 3px solid rgba(16,18,22,0.42);
}

.designer-panel input,
.designer-panel textarea,
.designer-panel select,
.designer-panel button {
  cursor: auto;
}

.designer-toggle {
  margin-top: 8px;
  min-height: 48px;
  min-width: 78px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: var(--asphalt);
  cursor: pointer;
  font-weight: 1000;
  box-shadow: 0 18px 45px rgba(0,0,0,0.34);
}

.designer-tools {
  display: grid;
  flex: 1;
  min-height: 0;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid rgba(16,18,22,0.16);
  border-radius: 8px;
  background: rgba(245,243,238,0.98);
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow);
}

.designer-tools[hidden] {
  display: none !important;
}

.designer-tools strong,
.designer-tools small,
.designer-tools label {
  display: block;
}

.designer-tools small {
  color: #666;
}

.designer-tools label {
  color: #555960;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.designer-tools input,
.designer-tools textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(16,18,22,0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--asphalt);
  font: inherit;
  padding: 8px;
}

.designer-tools input {
  height: 38px;
}

.designer-tools textarea {
  min-height: 86px;
  resize: vertical;
}

.designer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.designer-actions button {
  min-height: 36px;
  border: 1px solid rgba(16,18,22,0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--asphalt);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.designer-grid-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.designer-grid-fields label {
  min-width: 0;
}

.designer-grid-fields input[type="range"] {
  padding: 0;
}

.designer-status {
  margin: 0;
  color: #666;
  font-size: 12px;
}

.designer-editing [contenteditable="true"] {
  outline: 1px dashed rgba(217,175,98,0.65);
  outline-offset: 3px;
  cursor: text;
}

.designer-editing main > section {
  position: relative;
}

.designer-editing main > section:hover {
  box-shadow: inset 0 0 0 1px rgba(217,175,98,0.38);
}

.designer-selected {
  box-shadow: inset 0 0 0 2px var(--gold) !important;
}

.designer-element-selected {
  outline: 2px solid var(--red) !important;
  outline-offset: 4px !important;
}

.gm-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  font-family: inherit;
}

.gm-chat-button {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(227,40,33,0.42);
}

.gm-chat-button span {
  position: absolute;
  inset: 14px 12px 17px;
  border: 3px solid currentColor;
  border-radius: 13px;
}

.gm-chat-button span::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -8px;
  width: 10px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  background: var(--red);
  transform: rotate(-18deg);
}

.gm-chat-button b {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  font-size: 18px;
  line-height: 1;
}

.gm-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245,243,238,0.98);
  color: var(--asphalt);
  box-shadow: var(--shadow);
}

.gm-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--asphalt);
  color: var(--text);
}

.gm-chat-head strong,
.gm-chat-head small {
  display: block;
}

.gm-chat-head small {
  margin-top: 4px;
  color: var(--muted);
}

.gm-chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.gm-chat-form {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.gm-chat-form label,
.gm-chat-form label span {
  display: block;
}

.gm-chat-form label span {
  margin-bottom: 6px;
  color: #555960;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.gm-chat-form input,
.gm-chat-form textarea {
  width: 100%;
  border: 1px solid rgba(16,18,22,0.16);
  border-radius: 6px;
  background: #fff;
  color: var(--asphalt);
  font: inherit;
  padding: 11px 12px;
  outline: none;
}

.gm-chat-form textarea {
  resize: vertical;
}

.gm-chat-form input:focus,
.gm-chat-form textarea:focus {
  border-color: var(--red);
}

.gm-chat-form button[type="submit"] {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 950;
}

.gm-chat-form button[type="submit"] {
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.gm-chat-status {
  min-height: 20px;
  margin: 0;
  color: #555960;
  font-size: 13px;
  line-height: 1.45;
}

.gm-chat-status a {
  color: var(--red);
  font-weight: 900;
}

.product-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(227,40,33,0.16), transparent 34%),
    var(--ink);
}

.product-detail {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 126px 0 80px;
  min-width: 0;
}

.back-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255,255,255,0.06);
  color: var(--steel);
  font-size: 14px;
  font-weight: 900;
}

.back-link:hover {
  border-color: rgba(227,40,33,0.62);
  color: var(--text);
}

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: stretch;
}

.product-detail-copy,
.product-detail-media,
.product-missing,
.product-loading {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    var(--panel);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.product-detail-copy h1,
.product-missing h1,
.product-loading h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.product-detail-lead {
  color: var(--steel);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.product-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
}

.product-detail-price strong {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

.product-detail-price del {
  font-size: 24px;
}

.product-detail-price span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--status-orange) 58%, transparent);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--status-orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.product-detail-media {
  overflow: hidden;
  background: #14171c;
}

.product-main-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  background: #171a1f;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.product-thumbs button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  padding: 0;
}

.product-thumbs button.active {
  border-color: var(--red);
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  padding: 34px 0 0;
  min-width: 0;
}

.product-description-card,
.product-spec-table {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    var(--panel);
}

.product-description-card {
  padding: 24px;
}

.product-description-card h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.product-description-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.product-description-list p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.product-spec-table {
  overflow: hidden;
}

.product-spec-table div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.product-spec-table div:last-child {
  border-bottom: 0;
}

.product-spec-table span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-spec-table b {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-detail-actions button {
  cursor: pointer;
}

.product-missing,
.product-loading {
  min-height: 520px;
  padding: 28px;
}

.product-loading {
  color: var(--asphalt);
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-panel {
    left: 24px;
    right: auto;
  }

  .trust-strip,
  .category-showcase,
  .model-grid,
  .catalog-toolbar,
  .premium-product-grid,
  .engineering-layout,
  .selector,
  .product-hero-detail,
  .product-info-section,
  .system-grid,
  .location,
  .contact {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(16,18,22,0.12);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .spec-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .product-main-image {
    height: 520px;
  }

}

@media (max-width: 620px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .topbar {
    height: 70px;
  }

  .brand small {
    display: none;
  }

  .call-button {
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    order: 1;
    min-height: 430px;
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .hero-bg {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7,8,10,0.54) 0%, rgba(7,8,10,0.92) 58%, rgba(7,8,10,0.98) 100%);
  }

  h1 {
    font-size: clamp(54px, 19vw, 90px);
  }

  .hero-lead {
    display: none;
  }

  .hero-actions,
  .hero-panel,
  .trust-strip,
  .category-showcase {
    display: none;
  }

  .all-products {
    order: 2;
    padding-top: 28px;
  }

  .models {
    order: 3;
  }

  .engineering,
  .selector,
  .gallery,
  .systems,
  .location,
  .contact {
    order: 4;
  }

  .product-detail {
    width: calc(100vw - 28px);
    max-width: 100%;
    padding-top: 96px;
  }

  .product-detail-copy {
    padding: 18px;
  }

  .product-detail-copy h1,
  .product-missing h1,
  .product-loading h1 {
    font-size: clamp(38px, 14vw, 64px);
  }

  .product-detail-lead {
    font-size: 16px;
  }

  .product-detail-actions a,
  .product-detail-actions button {
    width: 100%;
  }

  .product-main-image {
    height: 360px;
  }

  .product-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .product-info-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 18px;
  }

  .product-spec-table div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 14px;
  }

  .model-info ul,
  .feature-matrix,
  .spec-list,
  .gallery-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .premium-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .premium-product-card {
    border-radius: 7px;
  }

  .premium-product-card img {
    aspect-ratio: 1;
  }

  .premium-product-body {
    padding: 10px;
  }

  .premium-product-topline {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .premium-product-card h3 {
    min-height: 38px;
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.15;
  }

  .premium-product-card p {
    min-height: 48px;
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .premium-product-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding-top: 9px;
  }

  .premium-product-bottom b {
    font-size: 15px;
  }

  .premium-product-bottom a {
    min-height: 34px;
    width: 100%;
    font-size: 12px;
  }

  .catalog-toolbar {
    gap: 10px;
  }

  .catalog-toolbar input {
    min-height: 46px;
  }

  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .catalog-filters button {
    min-height: 36px;
    padding: 0 7px;
    font-size: 12px;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .engineering-layout > img,
  .selector-card img {
    min-height: 0;
    height: 390px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-grid img:first-child {
    grid-row: span 1;
  }

  .system-grid div {
    min-height: 138px;
  }

  .system-grid b {
    margin-bottom: 18px;
  }

  .location {
    padding-bottom: 68px;
  }

  .map-shell,
  .map-shell iframe {
    min-height: 360px;
  }

  .chat-float {
    display: none;
  }

  .gm-chat {
    right: 16px;
    bottom: 84px;
  }

  .gm-chat-button {
    width: 52px;
    height: 52px;
  }

  .gm-chat-panel {
    right: -6px;
    bottom: 62px;
  }

  .mobile-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7,8,10,0.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.34);
  }

  .mobile-dock a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 950;
  }

  .mobile-dock a:first-child {
    background: var(--red);
  }

  body {
    padding-bottom: 74px;
  }
}
