@font-face {
  font-family: "Share";
  src: url("assets/Share-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Share";
  src: url("assets/Share-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Share";
  src: url("assets/Share-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Share";
  src: url("assets/Share-BoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f7f7;
  --surface: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #d8d8d8;
  --button: #111111;
  --button-text: #ffffff;
  --button-hover: #2a2a2a;
  --site-header-height: 76px;
  font-family: "Share", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

.entry-page,
.login-page,
.app-page,
.landing-page {
  min-height: 100vh;
}

.landing-page {
  background: #f7f7f7;
  overflow-x: hidden;
}

.landing-page.is-intro-playing {
  background: #050505;
  overflow: hidden;
}

.site-header {
  align-items: center;
  background: #050505;
  border-bottom: 1px solid #1e1e1e;
  opacity: 1;
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr);
  height: var(--site-header-height);
  min-height: 0;
  padding: 14px 36px;
  position: fixed;
  left: 0;
  max-width: 100vw;
  overflow: hidden;
  right: 0;
  top: 0;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease, visibility 0s linear 0s;
  width: 100%;
  visibility: visible;
  z-index: 20;
}

.site-brand-mark {
  max-width: 210px;
}

.site-header .site-brand-mark img {
  height: auto;
  max-height: 40px;
  width: 100%;
}

.landing-page.is-intro-playing .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms;
  visibility: hidden;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav a {
  border-radius: 6px;
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.site-nav a:hover {
  background: #171717;
  color: #ffffff;
}

.mobile-menu-toggle,
.mobile-nav-backdrop,
.mobile-nav-drawer,
.mobile-nav-close {
  display: none;
}

.mobile-menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  justify-content: center;
  margin-left: auto;
  position: relative;
  padding: 10px;
}

.mobile-menu-icon {
  display: block;
  height: 24px;
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.mobile-menu-icon-close {
  display: none;
}

.mobile-nav-backdrop {
  background: rgba(0, 0, 0, 0.42);
  inset: 0;
  opacity: 0;
  position: fixed;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 29;
}

.mobile-nav-drawer {
  background: #050505;
  border-left: 1px solid #1d1d1d;
  bottom: 0;
  color: #ffffff;
  padding: 18px 18px 28px;
  position: fixed;
  right: 0;
  top: var(--site-header-height);
  transform: translateX(100%);
  transition: transform 260ms ease;
  width: min(82vw, 320px);
  z-index: 30;
}

.mobile-nav-drawer-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mobile-nav-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 34px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.mobile-nav-links {
  display: grid;
  gap: 8px;
}

.mobile-nav-links a {
  border-bottom: 1px solid #1d1d1d;
  color: #ffffff;
  display: block;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 0;
  text-decoration: none;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}

body.mobile-nav-open .mobile-menu-icon-open {
  display: none;
}

body.mobile-nav-open .mobile-menu-icon-close {
  display: block;
}

.site-login-link {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.landing-hero {
  background: #050505;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-media {
  inset: 0;
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
}

.hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-copy {
  align-content: start;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.02) 0%, rgba(5, 5, 5, 0.32) 34%, rgba(5, 5, 5, 0.8) 100%);
  color: #ffffff;
  display: grid;
  inset: 0;
  justify-items: start;
  padding: clamp(96px, 14vw, 192px) clamp(28px, 5vw, 72px) clamp(32px, 5vw, 64px);
  position: absolute;
}

.hero-eyebrow {
  color: #e8e8e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(42px, 6.8vw, 96px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 820px;
  text-transform: uppercase;
}

.hero-copy > p {
  color: #f0f0f0;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 620px;
}

.hero-cta {
  margin-top: 24px;
  width: fit-content;
}

.landing-main {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1220px;
  padding: 30px 24px 64px;
  transition: opacity 700ms ease, transform 700ms ease, visibility 0s linear 0s;
  will-change: opacity, transform;
}

.landing-page.is-intro-playing .landing-main {
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms;
  visibility: hidden;
}

.landing-page.is-intro-done .landing-main {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.landing-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  opacity: 1;
  padding: 24px;
  transform: translateY(0);
  transition: opacity 680ms ease, transform 680ms ease;
}

.landing-page.is-intro-playing .landing-section {
  opacity: 0;
  transform: translateY(18px);
}

.landing-page.is-intro-done .landing-main > section:nth-of-type(1) {
  transition-delay: 110ms;
}

.landing-page.is-intro-done .landing-main > section:nth-of-type(2) {
  transition-delay: 190ms;
}

.landing-page.is-intro-done .landing-main > section:nth-of-type(3) {
  transition-delay: 270ms;
}

.landing-page.is-intro-done .landing-main > section:nth-of-type(4) {
  transition-delay: 350ms;
}

.landing-page.is-intro-done .landing-main > section:nth-of-type(5) {
  transition-delay: 430ms;
}

.landing-page.is-intro-done .landing-section {
  opacity: 1;
  transform: translateY(0);
}

.inventory-showcase {
  background: transparent;
  border: 0;
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: auto;
  padding: 16px 0 10px;
  scroll-margin-top: calc(var(--site-header-height) + 18px);
}

.intro-section {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
}

.intro-section h1,
.landing-section h2 {
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.intro-section h1 {
  font-size: 42px;
}

.intro-section > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.landing-section-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.public-car-grid {
  display: grid;
  gap: 12px;
  grid-auto-rows: minmax(0, 1fr);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 0;
}

.inventory-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.inventory-page-button {
  min-width: 120px;
}

.public-car-card {
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: clip;
  position: relative;
  height: 100%;
}

.public-car-image {
  aspect-ratio: 16 / 9;
  background: #ececec;
  overflow: hidden;
}

.public-car-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.public-car-card:hover .public-car-image img {
  transform: scale(1.035);
}

.public-car-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.public-car-card-link:hover .public-car-image img {
  transform: scale(1.035);
}

.public-car-card-link:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.public-car-content {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.public-car-specs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 0;
}

.public-car-specs span {
  line-height: 1.35;
}

.public-car-specs span + span {
  border-left: 1px solid var(--line);
  margin-left: 9px;
  padding-left: 9px;
}

.public-car-content h3,
.service-grid h3,
.process-grid h3 {
  font-size: 18px;
  letter-spacing: 0;
  margin: 0 0 5px;
}

.public-car-content p,
.service-grid p,
.process-grid p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.public-car-footer {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.public-car-price-wrap {
  align-items: start;
  display: grid;
  gap: 6px;
}

.public-price-stack,
.car-price-stack {
  display: grid;
  gap: 2px;
}

.car-meta .car-price-stack {
  align-items: start;
  color: #111111;
}

.public-price-old,
.car-price-old {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.public-price-new,
.car-price-new {
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.sold-badge {
  align-items: center;
  border: 1px solid #111111;
  color: #111111;
  display: inline-flex;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding: 8px 12px;
  text-transform: uppercase;
}

.sold-badge--detail {
  font-size: 15px;
  padding: 10px 14px;
}

.public-car-footer strong {
  font-size: 18px;
  letter-spacing: 0;
}

.public-car-footer.has-promotion {
  align-items: end;
}

.promotion-badge {
  border: 1px solid #111111;
  border-radius: 4px;
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
}

.destaque-badge,
.destaque-pill {
  background: #111111;
  border: 1px solid #111111;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
}

.public-car-status {
  border: 0;
  color: #111111;
  padding: 0;
}

.inventory-showcase .landing-section-heading {
  align-items: end;
  border-bottom: 1px solid #111111;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.inventory-showcase .eyebrow {
  color: #111111;
}

.inventory-showcase h2 {
  font-size: clamp(26px, 4.2vw, 52px);
  letter-spacing: 0;
  line-height: 0.95;
  max-width: 760px;
  text-transform: uppercase;
}

.founder-section {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  padding: 0;
}

.founder-visual {
  align-self: start;
  max-width: 640px;
  margin: 0;
}

.founder-visual img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.founder-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 0;
}

.founder-copy h2 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  text-transform: none;
}

.founder-copy p {
  margin: 0;
  max-width: 56ch;
}

.founder-highlight {
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 44ch;
}

.founder-meta {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 0;
}

.founder-meta p {
  color: #111111;
  font-weight: 400;
  line-height: 1.35;
  max-width: 28ch;
}

.founder-meta a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.founder-meta a:hover {
  color: #111111;
}

.founder-partners {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  max-width: 100%;
}

.founder-partners-label {
  color: #6f6f6f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-partner-logos {
  align-items: center;
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  justify-content: space-between;
  width: 100%;
}

.founder-partner-logo {
  align-items: center;
  display: flex;
  justify-content: center;
  flex: 1 1 0;
  min-height: 46px;
  min-width: 0;
}

.founder-partner-logo img {
  display: block;
  max-height: 34px;
  object-fit: contain;
  max-width: 100%;
  width: auto;
}

.contact-section {
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  padding: 10px 0 0;
}

.contact-copy {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 8px 0 0;
}

.contact-copy h2 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
  max-width: 18ch;
  text-transform: none;
}

.contact-copy .eyebrow {
  margin-bottom: 2px;
}

.contact-copy p {
  max-width: 52ch;
}

.contact-section p,
.location-section p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 620px;
}

.location-section {
  align-items: stretch;
  display: grid;
  gap: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  box-shadow: none;
}

.location-section .secondary-button {
  margin-top: 18px;
}

.map-widget {
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  min-height: 320px;
}

.map-widget iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 320px;
  width: 100%;
}

.site-footer {
  background: #050505;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(120px, 0.5fr));
  align-items: start;
  padding: 42px 36px 24px;
  transition: opacity 760ms ease, transform 760ms ease, visibility 0s linear 0s;
  will-change: opacity, transform;
}

.site-footer > div {
  align-self: start;
}

.footer-brand-column {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.landing-page.is-intro-playing .site-footer {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms;
  visibility: hidden;
}

.landing-page.is-intro-done .site-footer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-footer p {
  color: #cfcfcf;
  line-height: 1.5;
  margin: 0;
  max-width: 420px;
}

.footer-brand-mark {
  display: block;
  max-width: 230px;
}

.footer-brand-mark img {
  display: block;
  max-height: 44px;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 14px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.site-footer a {
  color: #cfcfcf;
  display: block;
  font-weight: 700;
  margin: 0 0 10px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer .footer-legal-links a {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #242424;
  grid-column: 1 / -1;
  margin-top: 4px;
  max-width: none;
  padding-top: 22px;
}

.contact-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.contact-icon-actions {
  margin-top: 8px;
}

.contact-icon-link {
  align-items: center;
  background: #111111;
  border: 1px solid #111111;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  height: 44px;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 44px;
}

.contact-icon-link svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.contact-icon-link:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  transform: translateY(-1px);
}

.contact-icon-link:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.contact-visual {
  align-self: stretch;
  order: -1;
  margin: 0;
  min-height: 380px;
}

.contact-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  width: 100%;
}

.car-page {
  background: #f7f7f7;
  color: #111111;
}

.car-page.is-car-loading,
.car-page.is-car-revealing,
.landing-page.is-home-loading,
.landing-page.is-home-revealing {
  overflow: hidden;
}

.car-page.is-car-loading .car-header,
.car-page.is-car-loading .car-main,
.car-page.is-car-loading .site-footer,
.landing-page.is-home-loading .site-header,
.landing-page.is-home-loading .landing-hero,
.landing-page.is-home-loading .landing-main,
.landing-page.is-home-loading .site-footer {
  opacity: 0;
  pointer-events: none;
}

.car-splash {
  background: #050505;
  color: #ffffff;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  inset: 0;
  justify-items: center;
  overflow: hidden;
  padding: 32px;
  position: fixed;
  z-index: 100;
}

.car-splash::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%);
  content: "";
  inset: 0;
  opacity: 0.42;
  position: absolute;
  transform: translateX(-35%);
}

.car-splash-mark {
  align-items: center;
  display: grid;
  grid-row: 2;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.car-splash img {
  animation: carLogoLoad 1.45s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.86));
  height: auto;
  max-width: min(72vw, 420px);
  position: relative;
  width: 100%;
  z-index: 1;
}

.car-splash-text {
  align-self: end;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  grid-row: 3;
  letter-spacing: 0.14em;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.car-page.is-car-revealing .car-header,
.car-page.is-car-revealing .car-main,
.car-page.is-car-revealing .site-footer,
.car-page.is-car-loaded .car-header,
.car-page.is-car-loaded .car-main,
.car-page.is-car-loaded .site-footer,
.landing-page.is-home-revealing .site-header,
.landing-page.is-home-revealing .landing-hero,
.landing-page.is-home-revealing .landing-main,
.landing-page.is-home-revealing .site-footer,
.landing-page.is-home-loaded .site-header,
.landing-page.is-home-loaded .landing-hero,
.landing-page.is-home-loaded .landing-main,
.landing-page.is-home-loaded .site-footer {
  animation: carPageSettle 700ms ease both;
}

.car-page.is-car-revealing .car-splash,
.landing-page.is-home-revealing .home-splash {
  animation: carSplashFade 880ms ease forwards;
  pointer-events: none;
}

.car-page.is-car-revealing .car-splash img,
.car-page.is-car-revealing .car-splash-text,
.landing-page.is-home-revealing .home-splash img,
.landing-page.is-home-revealing .home-splash .car-splash-text {
  animation: carSplashContentOut 620ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes carLogoLoad {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(0.985);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes carSplashContentOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes carSplashFade {
  0% {
    opacity: 1;
  }

  68% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes carPageSettle {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .car-splash img,
  .car-page.is-car-revealing .car-header,
  .car-page.is-car-revealing .car-main,
  .car-page.is-car-revealing .site-footer,
  .car-page.is-car-loaded .car-header,
  .car-page.is-car-loaded .car-main,
  .car-page.is-car-loaded .site-footer,
  .car-page.is-car-revealing .car-splash,
  .car-page.is-car-revealing .car-splash img,
  .car-page.is-car-revealing .car-splash-text,
  .landing-page.is-home-revealing .site-header,
  .landing-page.is-home-revealing .landing-hero,
  .landing-page.is-home-revealing .landing-main,
  .landing-page.is-home-revealing .site-footer,
  .landing-page.is-home-loaded .site-header,
  .landing-page.is-home-loaded .landing-hero,
  .landing-page.is-home-loaded .landing-main,
  .landing-page.is-home-loaded .site-footer,
  .landing-page.is-home-revealing .home-splash,
  .landing-page.is-home-revealing .home-splash img,
  .landing-page.is-home-revealing .home-splash .car-splash-text {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}

.car-header {
  align-items: center;
  background: #050505;
  border-bottom: 1px solid #1e1e1e;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 36px;
}

.car-header .brand-mark {
  max-width: 210px;
}

.car-header .brand-mark img {
  display: block;
  height: auto;
  max-height: 40px;
  width: 100%;
}

.car-back-link {
  align-items: center;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.car-back-link svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
  width: 16px;
}

.car-back-link:hover {
  background: #171717;
}

.car-main {
  margin: 0 auto;
  max-width: 1280px;
  padding: 30px 24px 72px;
}

.car-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 820px;
}

.car-hero .eyebrow {
  color: var(--muted);
}

.car-hero h1 {
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.car-hero p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 68ch;
}

.car-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.car-gallery {
  display: grid;
  gap: 12px;
}

.car-main-image {
  aspect-ratio: 16 / 10;
  background: #111111;
  overflow: hidden;
  position: relative;
}

.car-main-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.car-main-image:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 4px;
}

.car-main-image:fullscreen {
  aspect-ratio: auto;
  background: #050505;
  height: 100vh;
  width: 100vw;
}

.car-main-image:fullscreen img {
  object-fit: contain;
}

.car-gallery-counter {
  background: rgba(17, 17, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  left: 14px;
  line-height: 1;
  padding: 8px 10px;
  position: absolute;
  top: 14px;
}

.car-gallery-controls {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 14px;
  top: 14px;
}

.car-gallery-button {
  align-items: center;
  background: rgba(17, 17, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 42px;
}

.car-gallery-button:hover,
.car-gallery-button:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.94);
  color: #111111;
}

.car-gallery-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.car-gallery-button:active {
  transform: scale(0.96);
}

.car-gallery-button:disabled {
  cursor: default;
  opacity: 0.42;
}

.car-gallery-button svg {
  display: block;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.car-main-placeholder {
  align-items: center;
  color: #cfcfcf;
  display: flex;
  font-size: 18px;
  height: 100%;
  justify-content: center;
  text-transform: uppercase;
}

.car-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.pdf-debug-panel {
  background: #111111;
  border-bottom: 2px solid #d51f1f;
  color: #ffffff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  left: 0;
  line-height: 1.45;
  max-height: 34vh;
  overflow: auto;
  padding: 10px 14px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000;
}

.pdf-debug-panel strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  margin-bottom: 4px;
}

.car-thumb-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.car-thumb-button.is-active {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111 inset;
}

.car-thumb-button img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.car-summary {
  display: grid;
  gap: 22px;
  align-content: start;
}

.car-summary-panel {
  display: grid;
  gap: 14px;
}

.car-price-row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.car-price-row strong,
.car-price-display {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
}

.car-price-row.has-promotion {
  align-items: start;
}

.car-price-meta {
  display: grid;
  gap: 2px;
}

.car-price-meta .car-price-new {
  font-size: clamp(28px, 3.2vw, 44px);
}

.car-price-meta .car-price-old {
  font-size: 14px;
}

.car-spec-list {
  display: grid;
  gap: 10px;
}

.car-spec-item {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
}

.car-spec-item span:first-child {
  color: var(--muted);
}

.car-spec-item span:last-child {
  font-weight: 700;
  text-align: right;
}

.car-description {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.car-description h2 {
  font-size: 22px;
  letter-spacing: 0;
  margin: 0;
}

.car-description p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.car-description-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  justify-content: flex-start;
  margin-top: 10px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.car-description-toggle:hover,
.car-description-toggle:focus-visible {
  color: #000000;
}

.car-description-toggle:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.car-extras {
  display: grid;
  gap: 10px;
}

.car-extras h2 {
  font-size: 22px;
  letter-spacing: 0;
  margin: 0;
}

.car-extras-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.car-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.car-actions .contact-icon-link {
  flex: 0 0 auto;
}

.car-share-button.is-copied {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.car-contact-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.car-contact-section h2 {
  font-size: 22px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.car-contact-copy {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 42ch;
}

.car-lead-form {
  display: grid;
  gap: 12px;
}

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

.car-lead-actions {
  margin-top: 2px;
}

.car-lead-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  min-height: 1.5em;
}

.promotion-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.promotion-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
}

.filter-button span {
  border: 0;
  color: #111111;
  font-size: 12px;
  min-width: 16px;
  text-align: right;
}

.filter-button.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.filter-button.is-active span {
  color: #ffffff;
}

.promotion-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
}

.promotion-editor[hidden] {
  display: none;
}

.promo-form {
  display: grid;
  gap: 12px;
}

.promo-form-field {
  display: grid;
  gap: 6px;
}

.promo-form-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.promo-car-hint,
.promo-note {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.promo-note {
  font-size: 14px;
}

.promo-availability {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.promo-list {
  display: grid;
  gap: 10px;
}

.promo-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.promo-item-header {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.promo-item-header strong {
  display: block;
  font-size: 15px;
}

.promo-item-header span {
  color: var(--muted);
  font-size: 13px;
}

.promo-item-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.promo-item-prices .car-price-old,
.promo-item-prices .car-price-new {
  font-size: 14px;
}

.promo-item-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
}

.promo-item-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.promo-empty {
  color: var(--muted);
}

.car-not-found {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 18px;
  padding-top: 18px;
}

.legal-page {
  background: #f7f7f7;
  color: #111111;
}

.legal-header {
  align-items: center;
  background: #050505;
  border-bottom: 1px solid #1e1e1e;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 36px;
}

.legal-brand-mark {
  max-width: 210px;
}

.legal-brand-mark img {
  display: block;
  height: auto;
  max-height: 40px;
  width: 100%;
}

.legal-back-link {
  align-items: center;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.legal-back-link:hover {
  background: #171717;
}

.legal-main {
  padding: 36px 24px 72px;
}

.legal-article {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 980px;
}

.legal-hero {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.legal-hero p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 64ch;
}

.legal-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding-top: 20px;
}

.legal-section h2 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-section ul {
  margin: 0;
  padding-left: 18px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.brand-header {
  align-items: center;
  background: #050505;
  border-bottom: 1px solid #1e1e1e;
  display: flex;
  justify-content: center;
  min-height: 112px;
  padding: 20px 28px;
}

.entry-header {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.brand-mark {
  display: inline-flex;
  max-width: min(520px, 82vw);
  text-decoration: none;
}

.brand-mark img {
  display: block;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  width: 100%;
}

.entry {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 112px);
  padding: 24px;
}

.login-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 420px;
  padding: 36px;
  width: 100%;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 28px;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-page .auth-tabs,
.login-page .tab-button {
  display: none !important;
}

.auth-tabs {
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 24px;
  overflow: hidden;
}

.tab-button {
  background: var(--surface);
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  height: 42px;
}

.tab-button + .tab-button {
  border-left: 1px solid var(--line);
}

.tab-button.is-active {
  background: var(--text);
  color: var(--button-text);
}

label {
  font-size: 14px;
  font-weight: 600;
}

input,
select {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  height: 46px;
  margin-bottom: 6px;
  padding: 0 14px;
  width: 100%;
}

textarea {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--text);
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.primary-button {
  align-items: center;
  background: var(--button);
  border: 1px solid var(--button);
  border-radius: 6px;
  color: var(--button-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  min-width: 160px;
  padding: 0 24px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.primary-button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.secondary-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  padding: 0 18px;
}

.danger-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  padding: 0 12px;
}

.danger-button:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--button-text);
}

.primary-button:disabled,
.tab-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.login-form .primary-button {
  margin-top: 10px;
  width: 100%;
}

.form-message {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 18px 0 0;
  min-height: 20px;
}

.form-message[data-type="error"] {
  color: #111111;
  font-weight: 700;
}

.form-message[data-type="success"] {
  color: #111111;
}

.session-email {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  margin: 0 0 18px;
  min-height: 46px;
  padding: 12px 14px;
  word-break: break-word;
}

.login-panel > .primary-button {
  width: 100%;
}

.app-page {
  background: var(--bg);
  height: 100vh;
  overflow: hidden;
}

.app-header {
  align-items: center;
  background: #050505;
  border-bottom: 1px solid #1e1e1e;
  color: #ffffff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 84px;
  padding: 12px 28px;
}

.header-brand-block {
  align-items: center;
  display: flex;
  gap: 20px;
  min-width: 0;
}

.app-brand-mark {
  flex: 0 0 220px;
  max-width: 220px;
}

.app-brand-mark img {
  max-height: 42px;
}

.app-header h1,
.section-heading h2 {
  letter-spacing: 0;
  margin: 0;
}

.app-header h1 {
  font-size: 24px;
  line-height: 1.05;
}

.app-header .eyebrow {
  color: #bdbdbd;
  margin-bottom: 4px;
}

.app-header .session-email {
  border: 0;
  color: #d5d5d5;
  font-size: 14px;
  margin: 5px 0 0;
  min-height: 0;
  padding: 0;
}

.app-header .secondary-button {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
  flex: 0 0 auto;
  height: 42px;
}

.app-shell,
.backoffice-shell {
  display: grid;
  gap: 14px;
  padding: 14px 24px;
}

.app-shell {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.backoffice-shell {
  align-items: start;
  grid-template-columns: 210px minmax(0, 1fr);
  height: calc(100vh - 84px);
  overflow: hidden;
}

.side-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 8px;
  position: sticky;
  top: 0;
}

.nav-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 0 12px;
  text-align: left;
}

.nav-button.is-active,
.nav-button:hover {
  background: var(--text);
  color: var(--button-text);
}

.content-stack {
  display: grid;
  gap: 14px;
  max-height: 100%;
  min-height: 0;
  overflow: auto;
}

.workspace-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading.compact {
  margin-bottom: 14px;
}

.section-heading h3 {
  font-size: 18px;
  letter-spacing: 0;
  margin: 0;
}

.status-pill {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.inventory-count {
  border: 0;
  color: #111111;
  padding: 0;
}

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

.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}

.stat-card span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.quick-actions .primary-button,
.quick-actions .secondary-button {
  min-width: 0;
  width: 100%;
  height: 48px;
}

.overview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.status-breakdown {
  display: grid;
  gap: 8px;
}

.status-breakdown div {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.status-breakdown span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.status-breakdown strong {
  font-size: 20px;
}

.car-form {
  display: grid;
  gap: 12px;
}

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

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

.warranty-panel label {
  display: block;
  margin-bottom: 4px;
}

.warranty-panel [hidden] {
  display: none !important;
}

.warranty-preview {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.image-preview-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  min-height: 0;
}

.image-upload-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 2px 0 2px;
}

.image-preview-tile {
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: grab;
  position: relative;
  overflow: hidden;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.image-preview-tile.is-dragging {
  cursor: grabbing;
  opacity: 0.5;
  transform: scale(0.98);
}

.image-preview-tile.is-drop-target {
  border-color: #111111;
  box-shadow: 0 0 0 2px #111111 inset;
}

.image-remove-button {
  align-items: center;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 18px;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 26px;
}

.image-remove-button:hover {
  background: #d11b1b;
  border-color: #d11b1b;
}

.extras-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 2px 0 4px;
  padding: 14px;
}

.extras-section legend {
  font-size: 14px;
  font-weight: 700;
  padding: 0 6px;
}

.extras-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.extras-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.extras-group:last-child {
  margin-bottom: 0;
}

.extras-group summary {
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  list-style: none;
  position: relative;
  padding-right: 24px;
  user-select: none;
}

.extras-group summary::-webkit-details-marker {
  display: none;
}

.extras-group summary::after {
  content: "▾";
  color: var(--muted);
  font-size: 13px;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.18s ease;
}

.extras-group[open] summary::after {
  transform: rotate(180deg);
}

.extras-group .extras-grid {
  padding-top: 2px;
}

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

.extras-custom-entry {
  display: grid;
  gap: 8px;
  margin: 14px 0 10px;
}

.extras-custom-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.extras-custom-row input {
  min-width: 0;
}

.custom-extras-list {
  display: grid;
  gap: 8px;
}

.custom-extra-item {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-height: 42px;
  padding: 8px 10px;
}

.custom-extra-item span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.custom-extra-remove {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
}

.extras-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.check-option {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  line-height: 1.3;
  min-height: 42px;
  padding: 10px;
}

.check-option input {
  flex: 0 0 auto;
  height: 16px;
  margin: 1px 0 0;
  padding: 0;
  width: 16px;
}

.image-preview-tile img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  width: 100%;
}

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

.compact-list {
  gap: 8px;
}

.car-row {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 14px;
}

.compact-list .car-row {
  align-items: center;
  gap: 12px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 10px;
}

.car-row-body {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-width: 0;
}

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

.compact-list .car-row-body {
  grid-template-columns: 1fr;
}

.compact-list .car-row-controls {
  display: none;
}

.car-row-titleline {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
  min-width: 0;
}

.car-row-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.destaque-option {
  margin-top: 2px;
}

.compact-status {
  flex: 0 0 auto;
  padding: 5px 9px;
}

.car-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 14px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.car-meta span + span {
  color: var(--text);
  font-weight: 700;
}

.car-row-controls {
  align-content: start;
  display: grid;
  gap: 10px;
}

.feature-toggle-button {
  justify-self: stretch;
  width: 100%;
}

.row-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.row-actions .secondary-button,
.row-actions .danger-button {
  min-width: 0;
  width: 100%;
}

.status-control {
  display: grid;
  gap: 5px;
}

.status-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-control select {
  height: 38px;
  margin: 0;
  padding: 0 10px;
}

.inventory-list {
  grid-template-columns: minmax(0, 1fr);
}

.car-row h3 {
  font-size: 16px;
  letter-spacing: 0;
  margin: 0 0 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.car-row p,
.empty-state {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
}

.car-row .extras-preview {
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-thumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.car-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 480px) {
  .login-panel {
    padding: 28px 22px;
  }
}

@media (max-width: 860px) {
  :root {
    --site-header-height: 76px;
  }

  .site-header {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 18px;
  }

  .site-brand-mark {
    max-width: 180px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-toggle,
  .mobile-nav-drawer,
  .mobile-nav-close {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav-backdrop {
    display: block;
  }

  .mobile-nav-drawer {
    display: block;
  }

  .landing-main {
    padding: 18px;
  }

  .hero-copy {
    gap: 14px;
    padding: 116px 18px 24px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 54px);
    max-width: 16ch;
  }

  .hero-copy > p {
    font-size: 16px;
    max-width: 28ch;
  }

  .intro-section,
  .intro-section h1 {
    font-size: 32px;
  }

  .public-car-grid,
  .founder-section,
  .location-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .inventory-showcase .status-pill {
    display: none;
  }

  .public-car-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
  }

  .inventory-showcase {
    min-height: auto;
    padding: 12px 0 10px;
  }

  .founder-section {
    gap: 14px;
  }

  .founder-visual {
    order: -1;
  }

  .founder-visual img {
    min-height: 240px;
  }

  .founder-copy h2 {
    font-size: 28px;
  }

  .founder-highlight {
    font-size: 16px;
    max-width: none;
  }

  .founder-meta {
    padding-top: 0;
  }

  .founder-partner-logos {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .founder-partner-logo {
    flex: 1 1 calc(50% - 8px);
    min-height: 36px;
  }

  .founder-partner-logo img {
    max-height: 28px;
  }

  .location-section {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 8px 0 0;
  }

  .map-widget {
    min-height: 260px;
  }

  .map-widget iframe {
    min-height: 260px;
  }

  .public-car-card {
    background: transparent;
    box-shadow: none;
    gap: 8px;
    grid-template-rows: auto auto;
    overflow: visible;
  }

  .public-car-image {
    aspect-ratio: 4 / 3;
    background: #e4e4e4;
    border-radius: 8px;
  }

  .public-car-content {
    gap: 8px;
    padding: 0 2px 6px;
  }

  .public-car-content h3 {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .public-car-content p {
    font-size: 14px;
  }

  .public-car-specs {
    gap: 0;
  }

  .public-car-specs span {
    font-size: 11px;
  }

  .public-car-specs span + span {
    margin-left: 7px;
    padding-left: 7px;
  }

  .public-car-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .public-car-price-wrap {
    gap: 4px;
  }

  .public-car-footer strong {
    font-size: 16px;
  }

  .public-car-footer .public-car-status {
    display: inline;
    font-size: 12px;
  }

  .promotion-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .promotion-filters,
  .promotion-toolbar .primary-button {
    width: 100%;
  }

  .filter-button {
    justify-content: center;
    width: 100%;
  }

  .promotion-editor {
    padding: 14px;
  }

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

  .warranty-panel {
    grid-template-columns: 1fr;
  }

  .inventory-actions {
    justify-content: space-between;
  }

  .inventory-page-button {
    flex: 1 1 0;
    min-width: 0;
  }

  .contact-section {
    gap: 16px;
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .contact-actions {
    gap: 8px;
  }

  .contact-copy {
    padding: 0;
  }

  .contact-copy h2 {
    font-size: 24px;
    max-width: 18ch;
  }

  .contact-visual {
    min-height: 220px;
  }

  .car-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .car-header .brand-mark {
    max-width: 170px;
  }

  .car-back-link {
    font-size: 13px;
    padding: 9px 12px;
  }

  .car-main {
    padding: 24px 18px 64px;
  }

  .car-layout {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .car-main-image {
    aspect-ratio: 16 / 11;
  }

  .car-gallery-counter {
    font-size: 12px;
    left: 10px;
    padding: 7px 9px;
    top: 10px;
  }

  .car-gallery-controls {
    gap: 6px;
    right: 10px;
    top: 10px;
  }

  .car-gallery-button {
    height: 36px;
    width: 36px;
  }

  .car-gallery-button svg {
    height: 18px;
    width: 18px;
  }

  .car-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .car-lead-grid {
    grid-template-columns: 1fr;
  }

  .car-spec-item {
    gap: 12px;
  }

  .car-spec-item span:last-child {
    max-width: 60%;
  }

  .legal-header {
    gap: 12px;
    padding: 12px 18px;
  }

  .legal-brand-mark {
    max-width: 170px;
  }

  .legal-back-link {
    font-size: 13px;
    padding: 9px 12px;
  }

  .legal-main {
    padding: 28px 18px 64px;
  }

  .app-page {
    height: auto;
    overflow: auto;
  }

  .app-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    padding: 14px 18px;
  }

  .header-brand-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .app-brand-mark {
    flex-basis: auto;
    max-width: min(300px, 82vw);
  }

  .app-shell,
  .backoffice-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    padding: 18px;
  }

  .backoffice-shell {
    gap: 12px;
  }

  .content-stack {
    max-height: none;
    overflow: visible;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px;
    position: static;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    text-align: center;
  }

  .stats-grid,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

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

  .warranty-panel {
    grid-template-columns: 1fr;
  }

  .workspace-panel {
    padding: 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading .secondary-button {
    width: 100%;
  }

  .section-heading .status-pill {
    align-self: flex-start;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
  }

  .quick-actions {
    gap: 8px;
  }

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

  .car-row {
    gap: 12px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .compact-list .car-row {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .compact-list .car-row-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .car-thumb {
    aspect-ratio: 16 / 9;
  }

  .compact-list .car-thumb {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .car-row-titleline {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 6px;
  }

  .car-row-badges {
    justify-content: flex-start;
  }

  .car-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .car-meta span + span {
    margin-left: 0;
    padding-left: 0;
  }

  .car-row h3 {
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .car-row p,
  .empty-state {
    overflow-wrap: anywhere;
  }

  .car-row .extras-preview {
    white-space: normal;
  }

  .car-row .car-price-stack {
    align-items: flex-start;
    width: 100%;
  }

  .car-row .car-price-stack .car-price-old,
  .car-row .car-price-stack .car-price-new {
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .car-row-controls {
    gap: 8px;
    width: 100%;
  }

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

  .row-actions .secondary-button,
  .row-actions .danger-button {
    height: 42px;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

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

  .custom-extra-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-extra-remove {
    width: 100%;
  }
}
