.black-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 90px) 20px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 105%, #66240e, #160d0b 58%, #080808);
  border-bottom: 1px solid #d05821;
}
.black-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(122deg, transparent 0 56px, #ff75451a 57px 58px, transparent 60px 128px);
  mask-image: linear-gradient(90deg, black, transparent 48%, black);
}
.black-hero .eyebrow { margin: 0 auto 16px; color: #ffb99e; }
.black-hero h1 {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(40px, 11vw, 132px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -.075em;
  color: #fff5ed;
  animation: black-entrance .65s ease-out both;
}
.black-hero h1 span {
  background: linear-gradient(105deg, #ff783e 32%, #ffe0ba 49%, #ff783e 65%);
  background-size: 230% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: black-shine 1.8s 1s 2 both;
}
.black-hero .black-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 18px);
  margin: 23px auto 20px;
  color: #fff0e7;
  font-size: clamp(14px, 3.4vw, 24px);
  font-weight: 800;
}
.black-benefits span {
  padding: .38em .66em;
  border: 1px solid #ff966b;
  border-radius: 6px;
  background: #25140f;
  animation: black-entrance .65s .25s ease-out both;
}
.black-benefits span:last-child { animation-delay: .42s; }
.black-benefits b { color: #ff9d70; }
.black-link {
  display: inline-block;
  padding: 11px 16px;
  color: #1d0b06;
  background: #ffa074;
  border-radius: 6px;
  font-weight: 800;
}
.black-link span { margin-left: 4px; }
.top-offer { max-width: 1050px; margin: 25px auto 55px; }
.top-offer > img { height: 280px; }
.photo { height: 185px; }
.arrivals-grid .arrival-photo { height: 200px; }
@keyframes black-entrance {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes black-shine {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}
@media (max-width: 1100px) {
  .top-offer { margin-right: 16px; margin-left: 16px; }
}
@media (max-width: 650px) {
  .top-offer > img { height: 195px; }
  .arrivals-grid .arrival-photo { height: 155px; }
  .photo { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .black-hero h1, .black-hero h1 span, .black-benefits span { animation: none; }
}
body { background: #0a0909; }
header { border-bottom-color: #ea662d; }
.filters, .card, dialog { background: #171212; border-color: #5b372a; }
input, select { background: #211818; border-color: #684334; }
.card .year, .summary span, .offer-tag { color: #ffb395; }
.featured-card { border-color: #e7723c; }
.info .price, .modalbody .price {
  background: linear-gradient(115deg, #e47849, #ffaf82 52%, #ef8052);
  border-color: #ffa97e;
}
.top-offer { background: linear-gradient(120deg, #181313, #301913); border-color: #e7723c; }
.detail { border-color: #a56750; background: #2c1b17; color: #ffe4d8; }

/* Campaign colors and compact inventory */
body { background: #100f0e; color: #fff; }
.black-hero {
  padding-block: clamp(42px, 6vw, 75px);
  background: radial-gradient(ellipse at 50% 108%, #a23700 0%, #22140d 47%, #080808 76%);
}
.black-hero h1 { font-size: clamp(38px, 10.2vw, 145px); }
.black-hero h1 span {
  background-image: linear-gradient(105deg, #ff6a00 28%, #fff 50%, #ff6a00 71%);
  animation: black-shine 3.6s ease-in-out infinite alternate;
}
.black-benefits span {
  border-color: #ff863e;
  color: #fff;
  background: #17100c;
  animation: black-float 2.5s ease-in-out infinite;
}
.black-benefits span:last-child { animation-delay: .35s; }
.black-link, .contact, .actions .cta, .top-offer-info .cta, .modalbody .cta {
  background: #ff741f;
  color: #101010;
  border-color: #ff883f;
}
.black-ribbon {
  overflow: hidden;
  background: #ff741f;
  color: #101010;
  border-block: 1px solid #ffaf78;
  padding-block: 8px;
}
.black-track {
  display: flex;
  width: max-content;
  animation: black-scroll 26s linear infinite;
}
.black-track span {
  display: block;
  padding-inline: 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}
.black-track i { color: #fff; margin-inline: .65em; font-style: normal; }
.black-ribbon:hover .black-track { animation-play-state: paused; }
main .black-ribbon { margin-block: 24px; border-radius: 4px; }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.top-offer { max-width: 760px; margin: 24px auto 47px; }
.top-offer > img { height: 220px; }
.top-offer-info { padding: 17px; gap: 8px; }
.top-offer h2 { font-size: clamp(20px, 3vw, 29px); }
.top-offer-price strong { font-size: 28px; }
.photo { height: clamp(110px, 12vw, 153px); }
.arrivals-grid .arrival-photo { height: 142px; }
.arrivals-grid .arrival-info { padding: 14px; gap: 5px; }
.arrivals-grid .arrival-info h2 { font-size: 23px; }
.card .info { padding: 12px; }
.card .vehicle-logo { display: none; }
.card-black { display: grid; gap: 3px; margin-bottom: 10px; }
.card-black span { color: #ff8036; font-weight: 900; font-size: 11px; letter-spacing: .08em; }
.card-black small { color: #fff; font-size: 11px; line-height: 1.2; }
.card .info h3 { font-size: 17px; margin: 5px 0; }
.card .specs { min-height: 0; font-size: 12px; }
.card .info .price {
  width: calc(100% + 24px);
  margin: 10px -12px;
  padding: 8px 5px;
  font-size: clamp(17px, 2.2vw, 23px);
  background: #fff;
  border-color: #fff;
}
.card .actions { margin-top: 12px; gap: 6px; flex-wrap: wrap; }
.card .actions a.cta, .card .actions .detail { padding: 7px 6px; font-size: 12px; }
@keyframes black-scroll { to { transform: translateX(-50%); } }
@keyframes black-float { 50% { transform: translateY(-5px); } }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .top-offer { margin-inline: 16px; }
}
@media (max-width: 650px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card .info { padding: 8px; }
  .card .info h3 { font-size: 14px; }
  .card .info .price { width: calc(100% + 16px); margin-inline: -8px; }
  .card .actions a.cta, .card .actions .detail { width: 100%; flex: auto; }
  .photo { height: clamp(103px, 29vw, 141px); }
  .top-offer > img { height: 155px; }
  .arrivals-grid .arrival-photo { height: 122px; }
}
@media (prefers-reduced-motion: reduce) {
  .black-hero h1 span, .black-benefits span, .black-track { animation: none; }
}

/* Move the current price while keeping the previous price still. */
.price :is(.offer-now), .top-offer-price strong {
  display: block;
  transform-origin: center;
  animation: price-bounce 3.4s ease-in-out infinite;
}
.card:nth-child(even) .offer-now { animation-delay: .45s; }
@keyframes price-bounce {
  0%, 27%, 100% { transform: translateY(0) scale(1); }
  12% { transform: translateY(-3px) scale(1.045); }
}
@media (prefers-reduced-motion: reduce) {
  .price .offer-now, .top-offer-price strong { animation: none; }
}

/* Small campaign lettering scrolls behind the inventory cards. */
.grid {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: #100f0e;
}
.grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("black-lettering.svg");
  background-repeat: repeat;
  background-size: 116px 30px;
  animation: inventory-lettering 5s linear infinite;
}
@keyframes inventory-lettering {
  from { background-position: 0 0; }
  to { background-position: 116px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .grid::before { animation: none; }
}

/* Keep the two 2018 Amarok cover photos fully visible. */
.photo:is([src="assets/amarok-trendline-2018.jpeg"], [src="assets/07-00.jpg"]) {
  object-fit: contain;
  object-position: center;
  background: #121212;
}

.photo[src="assets/gol-track-2014-nova-08.jpeg"] {
  object-fit: contain;
  object-position: center;
  background: #121212;
}

#print-catalog {
  cursor: pointer;
  margin: 4px;
  border: 1px solid #ffa074;
  background: transparent;
  color: #fff;
}
@media print {
  body, header, footer, .black-hero, .card, .top-offer {
    background: white;
    color: black;
  }
  header .contact, .black-link, .black-ribbon, .filters, .actions,
  .top-offer-info .cta, dialog, .count, .grid::before { display: none; }
  .black-hero { padding: 12px; }
  .black-hero h1, .black-hero h1 span, .black-hero .black-benefits span,
  .card .info h3, .card-black small, .card .specs, .top-offer h2,
  .top-offer h2 span, footer strong { background: none; color: black; }
  .black-hero h1, .black-hero h1 span, .black-benefits span,
  .price .offer-now, .top-offer-price strong { animation: none; }
  .grid { background: white; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo, .top-offer > img { height: 115px; object-fit: contain; }
  .card, .arrival-card, .top-offer { break-inside: avoid; }
}

.black-hero .black-deadline {
  display: inline-block;
  margin: 20px 0 0;
  padding: .25em .52em;
  border-radius: 6px;
  background: #ff741f;
  color: #101010;
  font-size: clamp(27px, 7vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}
@media print {
  .black-hero .black-deadline { background: none; color: black; }
}
