:root {
  --bg: #07080b;
  --panel: #15171c;
  --panel-2: #20232b;
  --text: #f4f6f8;
  --muted: #a6acb5;
  --line: rgba(255, 255, 255, 0.16);
  --red: #d61928;
  --red-2: #ff3b49;
  --white-soft: rgba(255, 255, 255, 0.82);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(214, 25, 40, 0.12), transparent 24%),
    linear-gradient(180deg, #090a0e, var(--bg) 42%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 14, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  width: 156px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a:hover,
.section-heading a:hover,
.site-footer a:hover {
  color: var(--red-2);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-size: 0.9rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--red), #8d0f19);
  color: white;
  box-shadow: 0 16px 38px rgba(214, 25, 40, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    background 180ms ease;
  transition-delay: calc(var(--reveal-index, 0) * 35ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  min-height: 760px;
  padding: 148px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 25, 40, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08), var(--bg) 88%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 38%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.1) 8.2%, transparent 8.6% 24%, rgba(214, 25, 40, 0.18) 24.2%, transparent 24.7% 100%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.065) 90px, transparent 92px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035));
  opacity: 0.55;
  transform: perspective(420px) rotateX(58deg) translateY(34%);
  transform-origin: bottom;
  animation: showroomFloor 8s linear infinite;
  pointer-events: none;
}

.hero-light-trails {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-light-trails span {
  position: absolute;
  left: -34vw;
  width: 34vw;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(255, 59, 73, 0.72), transparent);
  filter: blur(0.2px) drop-shadow(0 0 14px rgba(255, 59, 73, 0.36));
  opacity: 0;
  animation: trailDrive 6.5s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.hero-light-trails span:nth-child(1) {
  top: 28%;
}

.hero-light-trails span:nth-child(2) {
  top: 47%;
  animation-delay: 1.45s;
  animation-duration: 7.2s;
}

.hero-light-trails span:nth-child(3) {
  top: 63%;
  animation-delay: 3.1s;
  animation-duration: 6.8s;
}

.hero-media {
  position: absolute;
  inset: 84px 2vw auto;
  height: 370px;
  opacity: 0.88;
  z-index: 2;
}

.light-line,
.light-dot {
  position: absolute;
  border-radius: 999px;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.34));
}

.line-roof {
  left: 18%;
  top: 48px;
  width: 47%;
  height: 10px;
  background: var(--white-soft);
  transform: skewX(-24deg) rotate(5deg);
  animation: lightSweep 4.8s ease-in-out infinite;
}

.line-body {
  left: 8%;
  top: 176px;
  width: 79%;
  height: 9px;
  background: var(--white-soft);
  transform: rotate(2deg);
  animation: lightSweep 5.4s ease-in-out infinite 500ms;
}

.line-front {
  right: 4%;
  top: 212px;
  width: 11%;
  height: 9px;
  background: var(--white-soft);
  transform: rotate(24deg);
  animation: lightPulse 3.6s ease-in-out infinite;
}

.dot-left,
.dot-right {
  width: 74px;
  height: 8px;
  background: var(--red-2);
  box-shadow: 0 0 32px rgba(255, 59, 73, 0.55);
}

.dot-left {
  left: 4%;
  top: 232px;
  transform: rotate(-64deg);
  animation: tailPulse 2.8s ease-in-out infinite;
}

.dot-right {
  right: 8%;
  top: 218px;
  transform: rotate(45deg);
  animation: tailPulse 2.8s ease-in-out infinite 400ms;
}

.hero-content,
.hero-panel,
.section,
.trust-strip {
  position: relative;
}

.hero-content {
  max-width: 860px;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.hero-subline {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.16;
}

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

.hero-search {
  display: grid;
  grid-template-columns: minmax(260px, 420px) auto;
  gap: 10px;
  max-width: 620px;
  margin-top: 18px;
}

.hero-search input {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-search-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  align-self: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 26, 32, 0.84);
  box-shadow: var(--shadow);
  z-index: 3;
  animation: panelGlow 4.6s ease-in-out infinite;
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 3rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 132px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #12141a, #0b0c10);
}

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

.trust-strip strong {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-grid article,
.service-grid article,
.form-card,
.vehicle-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
}

.feature-grid article:hover,
.service-grid article:hover,
.vehicle-card:hover {
  border-color: rgba(255, 59, 73, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
}

.feature-grid article {
  padding: 24px;
}

.service {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 59, 73, 0.12), transparent 28%),
    #101217;
  border-top: 1px solid var(--line);
}

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

.service-grid article {
  padding: 24px;
}

.service-grid h3 {
  margin-bottom: 8px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red-2);
  font-weight: 900;
}

.feature-grid p,
.split-copy p,
.section-heading p,
.vehicle-body p,
.form-status {
  color: var(--muted);
  line-height: 1.65;
}

.inventory {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    #0d0f14;
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 740px;
  margin-bottom: 0;
}

.section-heading a {
  color: var(--muted);
  font-weight: 800;
}

.inventory-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 220px;
  gap: 12px;
  margin-bottom: 16px;
}

.inventory-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.inventory-meta span:first-child {
  color: var(--text);
  font-weight: 900;
}

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

.vehicle-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  animation: cardDriveIn 620ms ease both;
  animation-delay: calc(var(--reveal-index, 0) * 35ms);
}

.vehicle-image {
  display: block;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #111318;
}

.vehicle-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.vehicle-card:hover .vehicle-image::before {
  transform: translateX(120%);
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.vehicle-card:hover .vehicle-image img {
  transform: scale(1.045) translateX(2px);
}

.vehicle-card:hover .vehicle-body strong {
  color: var(--red-2);
}

.vehicle-visual {
  position: relative;
  min-height: 190px;
  background:
    linear-gradient(160deg, transparent 45%, rgba(255, 255, 255, 0.76) 46%, rgba(255, 255, 255, 0.76) 48%, transparent 49%),
    radial-gradient(circle at 24% 72%, rgba(255, 255, 255, 0.32), transparent 12%),
    radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.32), transparent 12%),
    linear-gradient(135deg, #282d35, #0b0d10);
}

.vehicle-visual.red {
  background-color: #2b080c;
}

.vehicle-visual.graphite {
  background-color: #15181d;
}

.vehicle-visual.silver {
  background-color: #2a3038;
}

.vehicle-visual::after {
  content: attr(data-brand);
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 22px;
}

.vehicle-body span {
  color: var(--red-2);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-body strong {
  display: block;
  margin-top: 18px;
  font-size: 1.35rem;
}

.vehicle-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.vehicle-facts span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
}

.vehicle-facts span,
.detail-facts span,
.detail-tags span {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.vehicle-facts span:hover,
.detail-facts span:hover,
.detail-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 59, 73, 0.32);
  color: var(--text);
}

.vehicle-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.vehicle-actions .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
}

.vehicle-detail {
  padding-top: clamp(42px, 6vw, 74px);
  background: #0d0f14;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-back:hover {
  color: var(--red-2);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.detail-media {
  position: relative;
}

.detail-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  border-radius: 12px;
  background:
    linear-gradient(120deg, transparent, rgba(255, 59, 73, 0.16), transparent),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0.7;
  animation: detailAura 5.5s ease-in-out infinite;
}

.detail-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: detailImageSettle 720ms ease both;
}

.detail-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: rgba(9, 10, 14, 0.72);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
}

.detail-copy {
  max-width: 660px;
}

.detail-copy h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
}

.detail-price {
  display: block;
  margin: 18px 0 18px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 900;
  position: relative;
}

.detail-price::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-2), transparent);
  animation: priceLine 900ms ease both 220ms;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.detail-facts span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 800;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.detail-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-cta {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 25, 40, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.055);
}

.detail-cta p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.split-copy {
  max-width: 760px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px rgba(214, 25, 40, 0.55);
}

.form-card,
.search-form {
  display: grid;
  gap: 14px;
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 59, 73, 0.55);
  border-color: transparent;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.search-order {
  background:
    linear-gradient(90deg, rgba(214, 25, 40, 0.16), transparent 54%),
    #0a0b0d;
  border-block: 1px solid var(--line);
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.search-form {
  grid-template-columns: 1.25fr 0.75fr 0.78fr 1fr auto;
  margin-top: 28px;
}

.search-form .form-status {
  grid-column: 1 / -1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(220px, 0.45fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: clamp(24px, 5vw, 58px);
}

address {
  color: var(--muted);
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.fixed-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  gap: 8px;
}

.fixed-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, border-color 180ms ease;
}

.fixed-contact-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes lightSweep {
  0%,
  100% {
    opacity: 0.62;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.48));
  }
}

@keyframes lightPulse {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
}

@keyframes tailPulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 59, 73, 0.32);
  }
  50% {
    box-shadow: 0 0 42px rgba(255, 59, 73, 0.68);
  }
}

@keyframes panelGlow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 32px rgba(214, 25, 40, 0.12);
  }
}

@keyframes detailImageSettle {
  from {
    opacity: 0;
    transform: scale(0.985) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes priceLine {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes showcarLightPulse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes trailDrive {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }
  12% {
    opacity: 0.9;
  }
  58% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateX(150vw) skewX(-18deg);
  }
}

@keyframes showroomFloor {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 420px 0, 260px 0, 0 0;
  }
}

@keyframes cardDriveIn {
  from {
    opacity: 0;
    transform: translateY(18px) translateX(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }
}

@keyframes detailAura {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-8px);
  }
  50% {
    opacity: 0.82;
    transform: translateX(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

.fixed-contact-btn.whatsapp {
  background: #25d366;
}

.fixed-contact-btn.phone {
  background: linear-gradient(135deg, var(--red), #8d0f19);
}

.fixed-contact-btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  min-height: 70vh;
}

.legal-section {
  max-width: 980px;
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.legal-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.admin-page {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.admin-message {
  padding: 14px 16px;
  border: 1px solid rgba(255, 59, 73, 0.35);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 59, 73, 0.12);
}

.admin-login {
  max-width: 420px;
  display: grid;
  gap: 14px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-form .button {
  align-self: end;
}

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

.admin-list h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row span {
  margin-top: 6px;
  color: var(--muted);
}

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

.admin-actions form {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro,
  .split,
  .detail-layout,
  .contact,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
    padding-top: 128px;
  }

  .hero-panel {
    max-width: 320px;
  }

  .trust-strip,
  .vehicle-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-heading,
  .contact,
  .admin-heading,
  .admin-row,
  .admin-actions {
    display: block;
  }

  .section-heading a,
  .contact-actions {
    display: inline-flex;
    margin-top: 18px;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    width: 126px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 690px;
    padding-top: 118px;
  }

  .hero-media {
    inset-inline: -38vw;
    transform: scale(0.78);
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: 1;
  }

  .trust-strip,
  .vehicle-grid,
  .service-grid,
  .form-row,
  .search-form {
    grid-template-columns: 1fr;
  }

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

  .trust-strip div {
    min-height: 104px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-actions,
  .contact-actions,
  .hero-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
