:root {
  --bg: #191919;
  --panel: #101010;
  --panel-soft: #242424;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --line: #363636;
  --brand: #CE1919;
  --brand-hover: #b01515;
  --green: #13b80a;
  --red: #f0441a;
  --blue: #0c5ea8;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ce1919;
  outline-offset: 3px;
}

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

input,
select,
textarea,
button {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 28px;
  justify-content: center;
  left: 50%;
  max-width: 960px;
  padding: 12px 18px;
  position: sticky;
  top: 16px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 10;
}

.admin-header {
  align-items: center;
  background: #101010;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  padding: 12px 28px;
  width: 100%;
}

.admin-logo {
  color: #fff;
}

.logo {
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.nav a {
  color: var(--muted);
}

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

.admin-nav a {
  border-radius: 999px;
  padding: 8px 10px;
}

.admin-nav a.active {
  background: var(--brand);
  color: #fff;
}

.nav-search input {
  background: #1d1d1d;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  min-height: 34px;
  padding: 0 14px;
  width: min(220px, 100%);
}

.hero {
  align-items: flex-end;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12)), url('/images/hero-car.svg') center / cover;
  display: flex;
  min-height: 430px;
  margin-top: -60px;
  padding: 140px max(28px, calc((100vw - 1120px) / 2)) 56px;
}

.hero-copy {
  max-width: 520px;
}

.hero span,
.vehicle-brand,
.status {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
  margin: 12px 0;
  text-transform: uppercase;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.button {
  align-items: center;
  background: var(--brand);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.button:hover {
  background: var(--brand-hover);
}

.button.primary {
  background: var(--brand);
}

.button.whatsapp {
  background: var(--green);
  color: #fff;
}

.button.ghost,
.ghost-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.button.danger {
  background: var(--red);
  color: #fff;
}

.button.full {
  width: 100%;
}

.brand-strip {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 26px auto 8px;
  max-width: 960px;
  overflow-x: auto;
  padding: 0 18px;
}

.brand-strip a {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  min-width: 84px;
  padding: 12px;
  text-align: center;
}

.section,
.page,
.admin-page {
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px;
}

.section-title,
.admin-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title h2,
.admin-title h1 {
  margin: 0;
  text-transform: uppercase;
}

.vehicle-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.vehicle-card {
  background: var(--panel);
  border: 1px solid #252525;
}

.vehicle-photo {
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
  display: block;
  overflow: hidden;
}

.vehicle-photo img,
.main-photo img,
.admin-row img,
.image-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.vehicle-card-body {
  padding: 14px;
}

.vehicle-card h3 {
  font-size: 15px;
  line-height: 1.25;
  min-height: 38px;
  margin: 8px 0;
  text-transform: uppercase;
}

.vehicle-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.vehicle-card strong,
.price {
  color: var(--text);
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
}

.vehicle-actions {
  display: grid;
  gap: 8px;
}

.sell-banner {
  align-items: center;
  background: linear-gradient(90deg, #050505, #1c1c1c);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 24px auto;
  max-width: 960px;
  padding: 28px;
}

.sell-banner h2 {
  margin: 0 0 6px;
}

.sell-banner p {
  color: var(--muted);
  margin: 0;
}

.stock-layout {
  display: grid;
  gap: 26px;
  grid-template-columns: 250px 1fr;
}

.filters,
.detail-card,
.detail-section,
.login-card,
.admin-form,
.image-manager,
.empty-state {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.filters {
  align-self: start;
  background: transparent;
  color: var(--text);
  padding: 0;
}

.filters form,
.admin-form fieldset {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 4px;
  min-height: 40px;
  padding: 9px 11px;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.detail-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 360px;
}

.main-photo {
  aspect-ratio: 4 / 3;
  background: #d9d9d9;
}

.thumbs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 10px;
}

.thumbs img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-card h1 {
  color: var(--text);
  font-size: 24px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.price {
  color: var(--red);
}

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

.spec-grid span {
  border: 1px solid var(--line);
  display: grid;
  font-size: 12px;
  gap: 4px;
  padding: 10px;
  text-align: center;
}

.location-box {
  background: #fff;
  margin-top: 18px;
  padding: 16px;
}

.detail-section {
  margin-top: 20px;
}

.options-list {
  columns: 4 170px;
  line-height: 2;
  list-style: none;
  padding: 0;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  max-width: 380px;
  width: 100%;
}

.form-error {
  background: #ffe2dc;
  color: #8b1d0b;
  padding: 10px;
}

.admin-title p {
  color: var(--muted);
  margin: 6px 0 0;
}

.admin-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-metric {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.admin-metric:hover,
.admin-metric.active {
  background: var(--panel-soft);
  border-color: #ce1919;
  transform: translateY(-1px);
}

.admin-metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-metric strong {
  font-size: 34px;
  line-height: 1;
}

.admin-toolbar {
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-bottom: 18px;
  padding: 16px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  gap: 18px;
  grid-template-columns: 128px 1fr auto;
  padding: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-row:hover {
  border-color: #ce1919;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.admin-row.sold {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.7;
}

.admin-row.sold img {
  filter: grayscale(1);
  opacity: 0.74;
}

.admin-row img {
  aspect-ratio: 4 / 3;
  height: auto;
  background: #fff;
  border-radius: 8px;
}

.admin-row h2 {
  color: var(--text);
  font-size: 17px;
  margin: 0 0 6px;
}

.admin-row p {
  color: var(--muted);
  margin: 0 0 8px;
}

.admin-row-main {
  min-width: 0;
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-badges span,
.status {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  text-transform: uppercase;
}

.status.published {
  background: rgba(19, 184, 10, 0.1);
  border-color: var(--green);
  color: var(--green);
}

.admin-badges .sold {
  background: rgba(206, 25, 25, 0.1);
  border-color: var(--brand);
  color: var(--brand);
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions form {
  margin: 0;
}

.admin-empty {
  background: var(--panel);
  border: 1px dashed var(--line);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.admin-page .button.ghost,
.admin-page .ghost-button {
  border-color: var(--line);
  color: var(--text);
}

.admin-page .button.ghost:hover,
.admin-page .ghost-button:hover {
  background: var(--panel-soft);
}

.admin-form,
.image-manager {
  display: grid;
  gap: 20px;
}

.admin-form fieldset {
  border: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  padding: 18px;
}

.admin-form legend {
  font-weight: 800;
  padding: 0 8px;
}

.admin-form .wide {
  grid-column: span 4;
}

.admin-option-presets {
  display: grid;
  gap: 10px;
}

.admin-option-presets > span {
  color: var(--text);
  font-weight: 700;
}

.admin-option-presets > div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preset-check {
  align-items: center;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-size: 13px;
  gap: 8px;
  min-height: 42px;
  padding: 10px;
}

.preset-check input {
  min-height: auto;
  width: auto;
}

.preset-check:has(input:checked) {
  background: var(--panel-soft);
  border-color: #ce1919;
}

.check {
  align-items: center;
  display: flex;
  gap: 8px;
}

.check input {
  min-height: auto;
  width: auto;
}

.image-manager {
  margin-top: 24px;
}

.paste-upload,
.remote-image-form {
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.paste-upload-zone {
  align-items: center;
  background: var(--panel-soft);
  border: 2px dashed var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: copy;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 150px;
  padding: 24px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.paste-upload-zone strong {
  font-size: 20px;
  text-transform: uppercase;
}

.paste-upload-zone span,
.paste-upload-zone small {
  color: #626b78;
}

.paste-upload-zone:focus,
.paste-upload-zone.drag-over {
  background: var(--panel-soft);
  border-color: #ce1919;
  transform: translateY(-1px);
}

.paste-upload-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.paste-upload-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.paste-upload-actions .button {
  min-height: 42px;
}

.paste-upload-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.paste-upload-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.paste-upload-preview figure {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 8px;
}

.paste-upload-preview img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.paste-upload-preview figcaption {
  color: #626b78;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paste-upload-preview button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  cursor: pointer;
  min-height: 34px;
}

.remote-image-form {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
}

.image-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.image-grid article {
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding: 8px;
}

.image-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.banner-create-form {
  margin-bottom: 24px;
}

.banner-admin-list {
  display: grid;
  gap: 16px;
}

.banner-admin-card {
  background: var(--panel);
  color: var(--text);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  padding: 16px;
}

.banner-preview {
  display: grid;
  gap: 8px;
}

.banner-preview img {
  aspect-ratio: 16 / 7;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.banner-preview span,
.banner-admin-card small {
  color: #626b78;
  font-size: 12px;
}

.banner-admin-card form {
  align-content: start;
  display: grid;
  gap: 10px;
}

.footer {
  background: #0d0d0d;
  display: grid;
  gap: 26px;
  grid-template-columns: 2fr 1fr 1fr;
  margin: 40px auto 0;
  max-width: 1120px;
  padding: 36px 28px;
}

.footer p {
  color: var(--muted);
}

.footer-logo {
  display: block;
  height: 38px;
  object-fit: contain;
  width: 180px;
}

@media (max-width: 820px) {
  .site-header,
  .admin-header {
    align-items: stretch;
    border-radius: 0;
    flex-direction: column;
    gap: 12px;
    left: auto;
    position: static;
    transform: none;
    width: 100%;
  }

  .nav-search input {
    width: 100%;
  }

  .hero {
    margin-top: 0;
    min-height: 360px;
    padding: 64px 24px 36px;
  }

  .stock-layout,
  .detail-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .sell-banner,
  .section-title,
  .admin-title {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .row-actions {
    flex-wrap: wrap;
  }

  .admin-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .admin-title-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-row {
    align-items: stretch;
    grid-template-columns: 96px 1fr;
  }

  .admin-row .row-actions {
    grid-column: 1 / -1;
  }

  .admin-form fieldset {
    grid-template-columns: 1fr;
  }

  .admin-form .wide {
    grid-column: auto;
  }

  .admin-option-presets > div {
    grid-template-columns: 1fr;
  }

  .remote-image-form {
    grid-template-columns: 1fr;
  }

  .banner-admin-card {
    grid-template-columns: 1fr;
  }
}

.figma-home {
  background: #101010;
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow: hidden;
}

.home-with-intro .figma-home-header,
.home-with-intro .figma-hero,
.home-with-intro .figma-brands,
.home-with-intro .figma-section,
.home-with-intro .figma-consult-banner,
.home-with-intro .figma-faq,
.home-with-intro .figma-footer {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1400ms cubic-bezier(.5, 0, 0, 1), transform 1400ms cubic-bezier(.5, 0, 0, 1);
}

.site-entered .home-with-intro .figma-home-header,
.site-entered .home-with-intro .figma-hero,
.site-entered .home-with-intro .figma-brands,
.site-entered .home-with-intro .figma-section,
.site-entered .home-with-intro .figma-consult-banner,
.site-entered .home-with-intro .figma-faq,
.site-entered .home-with-intro .figma-footer {
  opacity: 1;
  transform: translateY(0);
}

.figma-home-header {
  align-items: center;
  backdrop-filter: blur(11px);
  background: #101010;
  display: flex;
  gap: 32px;
  height: 99px;
  justify-content: center;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.figma-logo {
  display: inline-flex;
  height: 32px;
  line-height: 1;
  width: 148px;
  white-space: nowrap;
}

.figma-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.site-intro {
  align-items: center;
  background: #101010;
  display: flex;
  filter: blur(0);
  inset: 0;
  justify-content: center;
  opacity: 1;
  position: fixed;
  transform: scale(1);
  transition: opacity 2200ms ease, filter 2200ms ease, transform 2200ms ease;
  z-index: 9999;
}

.site-intro.is-hidden {
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
}

.site-intro-logo {
  animation: siteIntroLogo 1450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  display: block;
  height: min(120px, 18vw);
  object-fit: contain;
  transform-origin: center;
  width: min(560px, 70vw);
}

@keyframes siteIntroLogo {
  from {
    filter: blur(18px);
    opacity: 0;
    transform: translateY(18px) scale(0.82);
  }

  55% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introLetterIn {
  from {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introPulseRed {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(206, 25, 25, 0);
  }

  45% {
    text-shadow: 0 0 28px rgba(206, 25, 25, 0.9);
  }
}

@keyframes introPulseGreen {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(0, 129, 0, 0);
  }

  45% {
    text-shadow: 0 0 28px rgba(0, 129, 0, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro,
  .site-intro-logo,
  .site-intro.is-hidden {
    animation-duration: 1ms;
  }
}

.figma-home-nav {
  align-items: center;
  display: flex;
  gap: 42px;
}

.figma-home-nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.figma-home-search {
  align-items: center;
  background: transparent;
  border: 1px solid #4A4A4A;
  border-radius: 8px;
  display: flex;
  height: 50px;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
  width: min(352px, 30vw);
  min-width: 180px;
}

.figma-home-search:focus-within {
  background: rgba(74, 74, 74, 0.08);
  border-color: #6a6a6a;
}

.figma-home-search input {
  background: transparent;
  border: 0;
  color: #fff;
  flex: 1;
  font: inherit;
  outline: none;
  min-height: 50px;
  min-width: 0;
  padding: 0 16px;
}

.figma-home-search input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
}

.figma-home-search input::placeholder {
  color: #4A4A4A;
  opacity: 1;
}

.figma-home-search button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4A4A4A;
  cursor: pointer;
  display: flex;
  height: 50px;
  justify-content: center;
  width: 52px;
}

.figma-home-search button,
.figma-details-button,
.figma-stock-filter button,
.figma-detail-whatsapp,
.figma-detail-evaluate,
.figma-detail-location a {
  gap: 8px;
}

.figma-home-search button img,
.figma-details-button img,
.figma-stock-filter button img,
.figma-detail-whatsapp img,
.figma-detail-evaluate img,
.figma-detail-location a img {
  flex: 0 0 auto;
  height: 18px;
  width: 18px;
}

.figma-home-search button img {
  opacity: 1;
}

.figma-details-button img,
.figma-stock-filter button img,
.figma-detail-whatsapp img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.figma-detail-location a img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(93%) saturate(2476%) hue-rotate(351deg) brightness(91%) contrast(95%);
}

.figma-detail-location a:hover img {
  filter: brightness(0) invert(1);
}

.figma-home-search button:hover {
  color: #fff;
}

.figma-hero {
  height: clamp(360px, 41.66vw, 800px);
  position: relative;
  width: 100%;
}

.figma-hero-carousel,
.figma-hero-slide {
  height: 100%;
  width: 100%;
}

.figma-hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 420ms ease;
}

.figma-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.figma-hero-slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.figma-hero-dots {
  align-items: center;
  bottom: 24px;
  display: flex;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.figma-hero-dots button {
  background: #fff;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  display: block;
  height: 10px;
  padding: 0;
  position: relative;
  width: 10px;
}

.figma-hero-dots button::before {
  content: '';
  position: absolute;
  inset: -16px;
}

.figma-hero-dots button.active {
  background: #ce1919;
  width: 68px;
}

.figma-brands {
  margin: 48px auto 28px;
  max-width: 1280px;
  overflow: hidden;
  padding: 4px 0;
  position: relative;
  width: calc(100% - 48px);
}

.figma-brands:hover .figma-brand-track {
  animation-play-state: paused;
}

.figma-brands::before,
.figma-brands::after {
  content: "";
  height: 130px;
  pointer-events: none;
  position: absolute;
  top: -15px;
  width: 180px;
  z-index: 1;
}

.figma-brands::before {
  background: linear-gradient(90deg, #101010 35%, rgba(16, 16, 16, 0));
  left: 0;
}

.figma-brands::after {
  background: linear-gradient(270deg, #101010 35%, rgba(16, 16, 16, 0));
  right: 0;
}

.figma-brand-track {
  animation: scroll-brands 30s linear infinite;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  min-width: max-content;
  width: max-content;
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 6px));
  }
}

.figma-brand-item {
  align-items: center;
  background: #101010;
  border: 1px solid #424242;
  border-radius: 12px;
  display: flex;
  height: 100px;
  justify-content: center;
  padding: 18px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  width: 100px;
}

.figma-brand-item:hover {
  background: #161616;
  border-color: rgba(206, 25, 25, 0.72);
  transform: translateY(-2px);
}

.figma-brand-item img {
  max-height: 60px;
  object-fit: contain;
}

.figma-brand-item strong {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.figma-section {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 24px 48px;
}

.figma-section h1 {
  font-size: 40px;
  font-weight: 500;
  margin: 0 0 32px;
  text-align: center;
  text-transform: uppercase;
}

.figma-card-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.figma-card-grid-three {
  max-width: 1126px;
  margin: 0 auto;
}

.figma-vehicle-card {
  background: #101010;
  border: 1px solid #202020;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.figma-vehicle-card:hover {
  border-color: rgba(206, 25, 25, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.figma-card-photo {
  aspect-ratio: 330 / 232;
  background: #191919;
  border-radius: 4px;
  overflow: hidden;
}

.figma-card-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.figma-vehicle-card:hover .figma-card-photo img {
  transform: scale(1.035);
}

.figma-vehicle-card > span {
  color: #b9b9b9;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.figma-vehicle-card h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  min-height: 48px;
  text-transform: uppercase;
}

.figma-card-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.figma-card-meta p {
  align-items: center;
  color: #b9b9b9;
  display: flex;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.figma-card-meta img {
  filter: brightness(0) saturate(100%) invert(77%);
  height: 13px;
  object-fit: contain;
  width: 13px;
}

.figma-vehicle-card > strong {
  color: #fff;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.figma-details-button {
  align-items: center;
  background: #767676;
  border-radius: 4px;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: 14px 18px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 100%;
}

.figma-details-button:hover {
  background: #ce1919;
  color: #fff;
  transform: translateY(-1px);
}

.figma-consult-banner {
  margin: 0 auto 48px;
  max-width: 1200px;
  padding: 0 24px;
}

.figma-consult-banner img {
  aspect-ratio: 1200 / 376;
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
}

.figma-stock-filter {
  margin: 40px auto 32px;
  max-width: 1200px;
  padding: 0 24px;
  width: 100%;
}

.figma-stock-filter form {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1fr);
}

.figma-stock-filter select,
.figma-stock-filter button {
  border-radius: 7px;
  height: 55px;
  text-align: center;
  text-transform: uppercase;
}

.figma-stock-filter select {
  appearance: none;
  background: #101010;
  border: 1px solid #737373;
  color: #737373;
  cursor: pointer;
  padding: 0 20px;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.figma-stock-filter select:hover,
.figma-stock-filter select:focus {
  background: #151515;
  border-color: #ce1919;
  color: #fff;
}

.figma-stock-filter button {
  align-items: center;
  background: #008100;
  border: 1px solid #008100;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.figma-stock-filter button:hover {
  background: #006600;
  border-color: #006600;
  transform: translateY(-1px);
}

.figma-stock-results {
  padding-bottom: 80px;
  scroll-margin-top: 24px;
}

.figma-stock-empty {
  border: 1px solid #202020;
  color: #b9b9b9;
  margin: 0 auto 32px;
  max-width: 720px;
  padding: 24px;
  text-align: center;
  text-transform: uppercase;
}

.figma-load-more {
  align-items: center;
  background: #ce1919;
  border-radius: 4px;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  margin: 48px auto 0;
  min-height: 50px;
  padding: 14px 24px;
  text-transform: uppercase;
  width: min(308px, 100%);
}

.figma-load-more:hover {
  background: #a91414;
}

.figma-vitrine {
  padding-bottom: 56px;
}

.figma-faq {
  display: grid;
  gap: 20px;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 24px 80px;
}

.figma-faq details {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(167, 167, 167, 0.13);
  border-radius: 6px;
  color: #bbb;
}

.figma-faq summary {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 22px;
  justify-content: space-between;
  line-height: 1.4;
  list-style: none;
  padding: 20px 32px;
  gap: 16px;
}

.figma-faq summary::-webkit-details-marker {
  display: none;
}

.figma-faq summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 9px;
  margin-top: 7px;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  width: 9px;
}

.figma-faq details[open] summary {
  color: #fff;
}

.figma-faq details[open] summary::after {
  transform: rotate(225deg);
}

.figma-faq p {
  color: #bbb;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  padding: 0 32px 24px;
}

.figma-footer {
  margin: 0 auto;
  max-width: 1440px;
  padding: 100px 12.7% 64px;
}

.figma-footer-line {
  background: #ce1919;
  height: 2px;
  margin-bottom: 90px;
  width: 100%;
}

.figma-footer-main {
  align-items: flex-start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr) minmax(0, 1fr);
}

.figma-footer-logo {
  display: inline-flex;
  height: clamp(42px, 5vw, 56px);
  max-width: 100%;
  width: clamp(190px, 24vw, 260px);
}

.figma-footer-info {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.figma-footer-info.new-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.figma-footer-contact-item {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 14px;
  gap: 12px;
  margin: 0;
}

.figma-footer-info p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.figma-footer-info b {
  color: #fff;
  font-weight: 400;
}

.figma-socials {
  align-items: center;
  display: flex;
  gap: 3px;
  margin: 0;
}

.figma-footer-info.new-layout .figma-socials {
  margin-top: 8px;
}


.figma-socials img {
  box-sizing: content-box;
  height: 24px;
  padding: 10px;
  width: 24px;
}

.figma-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(206, 25, 25, 0.2);
  display: flex;
  justify-content: space-between;
  margin-top: 96px;
  padding-top: 22px;
}

.figma-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

.figma-footer-bottom a,
.figma-footer-bottom span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.figma-detail {
  gap: 34px;
  padding-bottom: 0;
}

.figma-detail-hero {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 560px) minmax(300px, 365px);
  margin: 0 auto;
  max-width: 1040px;
  padding: 8px 24px 8px;
  width: 100%;
}

.figma-detail-gallery {
  display: grid;
  gap: 4px;
  width: 100%;
}

.figma-detail-main-photo {
  aspect-ratio: 560 / 374;
  background: #2b2b2b;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.figma-detail-main-photo img,
.figma-detail-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.figma-detail-arrow {
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
}



.figma-detail-arrow-prev {
  left: 18px;
}

.figma-detail-arrow-next {
  right: 18px;
}

.figma-detail-open-label {
  background: rgba(16, 16, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 8px 12px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.figma-detail-main-photo:hover .figma-detail-open-label,
.figma-detail-main-photo:focus-visible .figma-detail-open-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.figma-detail-thumbs {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.figma-detail-thumb {
  aspect-ratio: 78 / 56;
  background: #3a3a3a;
  border: 0;
  cursor: pointer;
  min-width: 0;
  opacity: 0.86;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: opacity 180ms ease, outline-color 180ms ease, transform 180ms ease;
}

.figma-detail-thumb.active,
.figma-detail-thumb:hover {
  opacity: 1;
  outline: 1px solid #ce1919;
  transform: none;
}

.figma-detail-thumb-more span {
  align-items: center;
  background: rgba(16, 16, 16, 0.72);
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.figma-detail-summary {
  background: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  text-transform: uppercase;
}

.figma-detail-breadcrumb {
  color: #ce1919;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 -2px;
}

.figma-detail-breadcrumb span {
  color: #8e8e8e;
}

.figma-detail-summary h1 {
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  max-width: 100%;
}

.figma-detail-specs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.figma-detail-specs div {
  align-items: center;
  background: transparent;
  border: 1px solid #252525;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 50px;
  justify-content: center;
  padding: 8px 6px;
  text-align: center;
}

.figma-detail-specs span {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.figma-detail-specs strong {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.figma-detail-price {
  color: #fff;
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-top: 2px;
}

.figma-detail-whatsapp,
.figma-detail-evaluate {
  align-items: center;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.figma-detail-whatsapp {
  background: #39b63d;
  color: #fff;
  margin-top: -4px;
}

.figma-detail-whatsapp:hover {
  background: #2e962e;
  transform: translateY(-1px);
}

.figma-detail-evaluate {
  background: #f3f3f3;
  color: #101010;
}

.figma-detail-evaluate:hover {
  background: #fff;
  transform: translateY(-1px);
}

.figma-detail-description {
  align-items: center;
  background: transparent;
  display: flex;
  flex-direction: column;
  margin: 70px auto 0;
  max-width: 760px;
  padding: 0 24px;
  text-align: center;
  width: 100%;
}

.figma-detail-description h2,
.figma-detail-options h2,
.figma-detail-location h2,
.figma-detail-recent h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.figma-detail-description p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.35;
  margin: 0;
  max-width: 720px;
  white-space: pre-line;
}

.figma-detail-options {
  background: transparent;
  border: 1px solid #252525;
  border-radius: 11px;
  margin: 0;
  max-width: none;
  padding: 22px 20px 18px;
  text-align: center;
  width: 100%;
}

.figma-detail-options h2 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.figma-detail-option-columns {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  text-align: left;
}

.figma-detail-option-columns ul {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 300;
  line-height: 2.1;
  margin: 0;
  min-height: 1px;
  padding-left: 18px;
  text-transform: uppercase;
}

.figma-detail-recent {
  margin: 58px auto 0;
  max-width: 1040px;
  padding: 0 24px;
  text-align: center;
  width: 100%;
}

.figma-detail-recent h2 {
  font-size: 34px;
  margin: 0;
}

.figma-detail-recent .figma-vehicle-card {
  text-align: left;
}

.figma-detail-recent .figma-vehicle-card > span {
  font-size: 11px;
}

.figma-detail-recent .figma-vehicle-card h2 {
  font-size: 18px;
  min-height: 42px;
}

.figma-detail-recent .figma-vehicle-card .figma-card-meta {
  gap: 10px 14px;
}

.figma-detail-recent .figma-vehicle-card .figma-card-meta p {
  font-size: 11px;
}

.figma-detail-recent .figma-vehicle-card .figma-card-meta img {
  height: 11px;
  width: 11px;
}

.figma-detail-recent .figma-vehicle-card > strong {
  font-size: 32px;
}

.figma-detail-recent .figma-vehicle-card .figma-details-button {
  font-size: 14px;
  min-height: 44px;
  padding: 12px 16px;
}

.figma-detail-location {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 56px auto 20px;
  max-width: 1040px;
  padding: 36px 24px 0;
  text-align: center;
  width: 100%;
}

.figma-detail-location p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.figma-detail-location a {
  align-items: center;
  color: #ce1919;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  text-transform: uppercase;
}

.figma-detail-location a:hover {
  color: #fff;
}

.figma-photo-lightbox[hidden] {
  display: none;
}

.figma-evaluate-modal[hidden] {
  display: none;
}

.figma-evaluate-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 1100;
}

.figma-evaluate-backdrop {
  background: rgba(0, 0, 0, 0.1);
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.figma-evaluate-panel {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  color: #fff;
  max-height: calc(100vh - 56px);
  max-width: 480px;
  overflow: auto;
  padding: 38px 60px 36px;
  position: relative;
  width: min(100%, 480px);
  z-index: 1;
}

.figma-evaluate-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  top: 14px;
}

.figma-evaluate-panel h2 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 26px;
  text-align: center;
}

.figma-evaluate-panel label {
  color: #fff;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
}

.figma-evaluate-fields {
  display: grid;
  gap: 13px;
}

.figma-evaluate-panel input,
.figma-evaluate-panel textarea {
  background: #fff;
  border: 0;
  border-radius: 4px;
  color: #101010;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  outline: 0;
  padding: 9px 12px;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.figma-evaluate-panel input:focus,
.figma-evaluate-panel textarea:focus {
  box-shadow: 0 0 0 2px rgba(57, 182, 61, 0.45);
}

.figma-evaluate-radio {
  border: 0;
  color: #fff;
  display: grid;
  gap: 6px;
  margin: 17px 0 0;
  padding: 0;
}

.figma-evaluate-radio legend {
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 5px;
}

.figma-evaluate-radio label {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-size: 10px;
  font-weight: 500;
  gap: 7px;
}

.figma-evaluate-radio input {
  accent-color: #39b63d;
  height: 18px;
  min-height: 0;
  width: 18px;
}

.figma-evaluate-submit {
  align-items: center;
  background: #39b63d;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  justify-content: center;
  margin-top: 18px;
  min-height: 44px;
  padding: 10px 18px;
  transition: background 180ms ease, transform 180ms ease;
  width: 100%;
}

.figma-evaluate-submit:hover {
  background: #2e962e;
  transform: translateY(-1px);
}

.figma-evaluate-logo {
  display: flex;
  height: 38px;
  margin: 26px auto 0;
  text-align: center;
  width: 178px;
}

.figma-photo-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(13px);
  display: grid;
  grid-template-rows: 1fr auto;
  inset: 0;
  justify-items: center;
  padding: 82px 28px 34px;
  position: fixed;
  z-index: 1000;
}

.figma-lightbox-backdrop {
  background: rgba(0, 0, 0, 0.38);
  border: 0;
  cursor: zoom-out;
  inset: 0;
  position: absolute;
}

.figma-lightbox-close {
  background: rgba(16, 16, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  position: absolute;
  right: 28px;
  text-transform: uppercase;
  top: 26px;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 4;
}

.figma-lightbox-close:hover {
  background: #ce1919;
  border-color: #ce1919;
}

.figma-lightbox-stage {
  align-items: center;
  display: grid;
  gap: clamp(12px, 2.5vw, 32px);
  grid-template-columns: minmax(120px, 0.7fr) minmax(320px, 1006px) minmax(120px, 0.7fr);
  max-width: 1780px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.figma-lightbox-main {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.figma-lightbox-main img {
  aspect-ratio: 1006 / 691;
  background: #191919;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
  height: min(72vh, 691px);
  object-fit: contain;
  width: 100%;
  transition: transform 0.3s ease-out;
  will-change: transform;
  cursor: zoom-in;
}

.figma-lightbox-main img.zoomed {
  cursor: zoom-out;
  touch-action: none;
}

.figma-lightbox-main img.zoomed:active {
  cursor: grabbing;
}

.figma-lightbox-main figcaption {
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
  text-align: center;
  text-transform: uppercase;
}

.figma-lightbox-main figcaption span {
  color: #ce1919;
  font-size: 13px;
  font-weight: 800;
}

.figma-lightbox-main figcaption strong {
  font-size: 14px;
  font-weight: 700;
}

.figma-lightbox-side {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: min(67vh, 644px);
  opacity: 0.74;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: opacity 180ms ease, transform 180ms ease;
}

.figma-lightbox-side:hover {
  opacity: 0.94;
  transform: scale(1.015);
}

.figma-lightbox-side img {
  filter: blur(7px);
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  width: 100%;
}



.figma-lightbox-thumbs {
  display: flex;
  gap: 8px;
  max-width: min(1006px, 100%);
  overflow-x: auto;
  padding: 18px 2px 2px;
  position: relative;
  scrollbar-width: thin;
  z-index: 2;
}

.figma-lightbox-thumbs button {
  aspect-ratio: 86 / 59;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  flex: 0 0 86px;
  opacity: 0.58;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.figma-lightbox-thumbs button.active,
.figma-lightbox-thumbs button:hover {
  border-color: #ce1919;
  opacity: 1;
  transform: translateY(-2px);
}

.figma-lightbox-thumbs img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 1180px) {
  .figma-home-header {
    gap: 20px;
  }

  .figma-logo {
    height: 29px;
    width: 132px;
  }

  .figma-home-nav {
    gap: 22px;
  }

  .figma-home-nav a {
    font-size: 13px;
  }

  .figma-home-search {
    width: 220px;
  }

  .figma-card-grid {
    grid-template-columns: repeat(2, minmax(0, 354px));
  }

  .figma-footer-main,
  .figma-footer-info {
    grid-template-columns: 1fr;
  }

  .figma-stock-filter form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-detail-hero {
    gap: 30px;
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .figma-detail-summary {
    width: 100%;
  }

  .figma-detail-summary h1 {
    max-width: none;
  }

  .figma-photo-lightbox {
    padding-top: 76px;
  }

  .figma-lightbox-stage {
    grid-template-columns: minmax(80px, 0.42fr) minmax(300px, 1fr) minmax(80px, 0.42fr);
  }
}

@media (max-width: 760px) {
  .figma-home-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    gap: 12px;
    padding: 18px 16px 16px;
  }

  .figma-home-header .nav-toggle {
    display: flex;
    order: 1;
    margin-left: auto;
  }

  .figma-home-header .figma-logo {
    order: 0;
  }

  .figma-logo {
    height: 32px;
    width: 150px;
  }

  .figma-home-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 6px;
    order: 3;
    overflow-x: visible;
    padding: 8px 0 0;
  }

  .figma-home-nav.open {
    display: flex;
  }

  .figma-home-nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
    background: #181818;
    border: 1px solid #262626;
    border-radius: 999px;
  }

  .figma-home-search {
    flex-basis: 100%;
    order: 4;
    height: 46px;
    width: 100%;
  }

  .figma-home-search input {
    min-width: 0;
  }

  .figma-home-search button {
    height: 46px;
  }

  .figma-hero {
    height: clamp(240px, 62vw, 320px);
  }

  .figma-hero-dots {
    bottom: 14px;
  }

  .figma-hero-dots button {
    height: 10px;
    width: 10px;
  }

  .figma-hero-dots button.active {
    width: 42px;
  }

  .figma-brands {
    margin-top: 24px;
    overflow-x: hidden;
    width: 100%;
  }

  .figma-brands::before,
  .figma-brands::after {
    display: none;
  }

  .figma-brand-track {
    justify-content: flex-start;
    padding: 0;
  }

  .figma-brand-item {
    border-radius: 10px;
    height: 78px;
    padding: 14px;
    width: 78px;
  }

  .figma-section h1 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 22px;
  }

  .figma-section {
    padding: 0 16px 42px;
  }

  .figma-card-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .figma-stock-filter form {
    grid-template-columns: 1fr;
  }

  .figma-stock-filter {
    margin: 24px auto 26px;
    padding: 0 16px;
  }

  .figma-stock-filter select,
  .figma-stock-filter button {
    height: 48px;
  }

  .figma-stock-results {
    padding-bottom: 48px;
  }

  .figma-detail-hero {
    gap: 28px;
    padding: 0 18px 20px;
  }

  .figma-detail-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .figma-detail-thumbs::-webkit-scrollbar {
    display: none;
  }

  .figma-detail-thumb {
    flex: 0 0 calc(25% - 4px);
  }

  .figma-detail-arrow-prev {
    left: 18px;
  }

  .figma-detail-arrow-next {
    right: 18px;
  }

  .figma-detail-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-detail-summary {
    gap: 18px;
  }

  .figma-detail-summary h1 {
    font-size: 21px;
  }

  .figma-detail-specs div {
    height: 54px;
  }

  .figma-detail-price {
    font-size: 36px;
  }

  .figma-detail-description {
    min-height: auto;
    margin-top: 38px;
    padding: 0 18px;
  }

  .figma-detail-description h2,
  .figma-detail-options h2,
  .figma-detail-location h2,
  .figma-detail-recent h2 {
    font-size: 20px;
  }

  .figma-detail-description p {
    font-size: 13px;
  }

  .figma-detail-options {
    margin: 0;
    padding: 22px 18px;
    width: 100%;
  }

  .figma-detail-option-columns {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-detail-recent {
    margin-top: 42px;
  }

  .figma-detail-recent h2 {
    font-size: 27px;
  }

  .figma-detail-location {
    margin-top: 42px;
  }

  .figma-photo-lightbox {
    align-content: center;
    padding: 70px 14px 22px;
  }

  .figma-evaluate-modal {
    align-items: center;
    padding: 14px;
  }

  .figma-evaluate-panel {
    max-height: calc(100vh - 28px);
    padding: 34px 30px 30px;
  }

  .figma-evaluate-close {
    right: 14px;
    top: 12px;
  }

  .figma-evaluate-panel h2 {
    font-size: 14px;
    padding-right: 0;
  }

  .figma-lightbox-close {
    right: 14px;
    top: 16px;
  }

  .figma-lightbox-stage {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .figma-lightbox-side {
    display: none;
  }

  .figma-lightbox-main img {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 66vh;
    object-fit: contain;
  }

  .figma-lightbox-main figcaption {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
  }

  .figma-lightbox-main figcaption strong {
    font-size: 12px;
    max-width: 88vw;
  }

  .figma-lightbox-thumbs {
    max-width: 100%;
    padding-top: 12px;
  }

  .figma-lightbox-thumbs button {
    flex-basis: 74px;
  }

  .figma-vehicle-card > strong {
    font-size: 30px;
    white-space: nowrap;
  }

  .figma-vehicle-card {
    border-radius: 6px;
    gap: 12px;
    padding: 10px;
  }

  .figma-vehicle-card h2 {
    font-size: 17px;
    min-height: auto;
  }

  .figma-card-meta {
    gap: 8px 12px;
  }

  .figma-details-button {
    font-size: 13px;
    min-height: 44px;
    padding: 12px;
  }

  .figma-consult-banner {
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .figma-consult-banner img {
    aspect-ratio: 16 / 9;
  }

  .figma-faq summary {
    font-size: 17px;
    padding: 18px;
  }

  .figma-faq p {
    padding: 0 18px 18px;
  }

  .figma-footer {
    padding: 52px 18px 36px;
  }

  .figma-footer-line {
    margin-bottom: 42px;
  }

  .figma-footer-logo {
    height: clamp(40px, 11vw, 54px);
    width: clamp(190px, 52vw, 250px);
  }

  .figma-footer-main {
    gap: 30px;
  }

  .figma-footer-info {
    gap: 18px;
  }

  .figma-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 48px;
  }

  .figma-footer-bottom nav {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
}

@media (max-width: 430px) {
  .site-intro-logo {
    height: min(70px, 18vw);
    width: min(320px, 82vw);
  }

  .figma-home-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-home-search {
    border-radius: 7px;
  }

  .figma-hero {
    height: 230px;
  }

  .figma-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-card-photo {
    aspect-ratio: 4 / 3;
  }

  .figma-vehicle-card > strong {
    font-size: 26px;
  }

  .figma-stock-filter {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-detail-hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-detail-main-photo {
    aspect-ratio: 4 / 3;
  }

  .figma-detail-thumbs {
    /* Retain flex behavior but show fewer items */
  }

  .figma-detail-thumb {
    flex: 0 0 calc(33.333% - 4px);
  }

  .figma-detail-specs {
    gap: 7px;
  }

  .figma-detail-specs span,
  .figma-detail-specs strong {
    font-size: 11px;
  }

  .figma-detail-price {
    font-size: 31px;
  }

  .figma-detail-description {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-detail-options {
    align-self: center;
    border-radius: 12px;
    margin: 0 auto;
    padding: 24px 16px;
    width: calc(100% - 24px);
  }

  .figma-photo-lightbox {
    padding-left: 10px;
    padding-right: 10px;
  }

  .figma-faq {
    padding-left: 12px;
    padding-right: 12px;
  }

  .figma-faq summary {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .figma-stock-filter form {
    grid-template-columns: 1fr;
  }
}

/* ── Ultra-small screens (≤360px) ── */
@media (max-width: 360px) {
  .figma-home-header { padding: 14px 8px 12px; }
  .figma-section { padding-left: 8px; padding-right: 8px; }
  .figma-detail-price { font-size: 26px; }
  .figma-faq summary { font-size: 14px; padding: 14px; }
  .figma-evaluate-panel { padding: 24px 12px 20px; }
}

/* ── Hamburger Menu Toggle ── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Mobile: show hamburger, collapse nav ── */


@media (max-width: 820px) {
  /* Old-style site-header */
  .site-header .nav-toggle {
    display: flex;
  }

  .site-header .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .site-header .nav.open {
    display: flex;
  }

  .site-header .nav a {
    padding: 12px 16px;
    text-align: center;
    border-radius: 6px;
  }

  .site-header .nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-header .nav-search {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .figma-footer-map {
    display: none;
  }
}

.figma-footer-map {
  width: 100%;
  height: 160px;
}

.figma-footer-map iframe {
  display: block;
  border-radius: 8px;
  border: none;
  filter: grayscale(20%) brightness(0.8);
  width: 100%;
  height: 100%;
}
