.hero.v19-hero-direct .hero-copy {
  min-width: 0;
}

.hero.v19-hero-direct .eyebrow {
  letter-spacing: .13em;
}

.hero.v19-hero-direct h1 {
  max-width: 790px;
  font-size: clamp(50px, 5.25vw, 76px);
  line-height: .99;
}

.hero.v19-hero-direct .hero-text {
  max-width: 690px;
}

.hero.v19-hero-direct .hero-actions .button-primary {
  min-width: 270px;
}

.hero.v19-hero-direct .hero-video-top {
  max-width: calc(100% - 40px);
  line-height: 1.3;
}

.v18-offers {
  position: relative;
  overflow: hidden;
  padding: 112px 0 118px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgba(243, 19, 43, .18), transparent 32%),
    radial-gradient(circle at 8% 74%, rgba(243, 19, 43, .08), transparent 29%),
    #090909;
}

.v18-offers::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.v18-offers .container {
  position: relative;
  z-index: 1;
}

.v18-offers-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 48px;
}

.v18-offers-head .kicker {
  margin-bottom: 22px;
}

.v18-offers-head h2 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.055em;
}

.v18-offers-head h2 span {
  color: var(--red);
}

.v18-offers-explain {
  padding: 23px 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  color: #b9b9b9;
  background: rgba(255, 255, 255, .055);
  font-size: 13px;
  line-height: 1.65;
  backdrop-filter: blur(12px);
}

.v18-offers-explain strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
}

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

.v18-offer-card {
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(19, 19, 19, .94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.v18-offer-card:nth-child(4),
.v18-offer-card:nth-child(5) {
  grid-column: span 3;
}

.v18-offer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 19, 43, .72);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42);
}

.v18-offer-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #181818;
}

.v18-offer-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .08), transparent 52%, rgba(0, 0, 0, .48));
}

.v18-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

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

.v18-offer-tag,
.v18-offer-market {
  position: absolute;
  z-index: 2;
  top: 15px;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.v18-offer-tag {
  left: 15px;
  color: #fff;
  background: rgba(7, 7, 7, .76);
  border: 1px solid rgba(255, 255, 255, .2);
}

.v18-offer-tag::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(243, 19, 43, .2);
  content: "";
}

.v18-offer-market {
  right: 15px;
  color: #161616;
  background: rgba(255, 255, 255, .91);
}

.v18-offer-body {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  padding: 23px 23px 21px;
}

.v18-offer-meta {
  margin: 0 0 9px;
  color: #8d8d8d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.v18-offer-body h3 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.v18-offer-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0 21px;
}

.v18-offer-price span {
  color: #8f8f8f;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.v18-offer-price strong {
  color: #fff;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.v18-offer-button {
  display: flex;
  width: 100%;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  padding: 0 17px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.v18-offer-button:hover {
  background: #ff263b;
  transform: translateY(-1px);
}

.v18-offer-button svg {
  flex: none;
}

.v18-offers-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .045);
}

.v18-offers-bottom strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 18px;
}

.v18-offers-bottom p {
  margin: 0;
  color: #898989;
  font-size: 10px;
  line-height: 1.6;
}

.v18-offers-bottom .button {
  min-width: 210px;
}

.v18-review-signal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  margin-bottom: 38px;
  border-radius: 18px;
  padding: 19px 22px;
  color: #fff;
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.v18-review-signal i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(243, 19, 43, .16);
}

.v18-review-signal strong {
  font-size: 15px;
}

.v18-review-signal span {
  color: #8e8e8e;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reviews.v18-reviews-prominent {
  position: relative;
  border-top: 5px solid var(--red);
  background:
    radial-gradient(circle at 92% 5%, rgba(243, 19, 43, .075), transparent 28%),
    #fff;
}

.reviews.v18-reviews-prominent::before {
  position: absolute;
  top: 0;
  right: 4vw;
  color: rgba(15, 15, 15, .035);
  content: "10 ВЫДАЧ";
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(80px, 13vw, 190px);
  line-height: .8;
  letter-spacing: -.04em;
  pointer-events: none;
}

.reviews.v18-reviews-prominent .reviews-heading {
  margin-bottom: 38px;
}

@media (max-width: 1080px) {
  .v18-offers-head {
    gap: 38px;
  }

  .v18-offer-card,
  .v18-offer-card:nth-child(4),
  .v18-offer-card:nth-child(5) {
    grid-column: span 3;
  }

  .v18-offer-card:last-child {
    grid-column: 2 / span 4;
  }
}

@media (max-width: 760px) {
  .hero.v19-hero-direct h1 {
    max-width: 650px;
    font-size: clamp(43px, 10.5vw, 62px);
  }

  .hero.v19-hero-direct .hero-actions .button-primary {
    min-width: 0;
  }

  .v18-offers {
    padding: 82px 0 88px;
  }

  .v18-offers-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 34px;
  }

  .v18-offers-head h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .v18-offers-explain {
    max-width: 560px;
  }

  .v18-offers-grid {
    display: flex;
    width: calc(100% + max(24px, (100vw - var(--container)) / 2));
    gap: 13px;
    overflow-x: auto;
    padding: 2px max(24px, (100vw - var(--container)) / 2) 15px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .v18-offers-grid::-webkit-scrollbar {
    display: none;
  }

  .v18-offer-card,
  .v18-offer-card:nth-child(4),
  .v18-offer-card:nth-child(5),
  .v18-offer-card:last-child {
    flex: 0 0 min(84vw, 380px);
    width: min(84vw, 380px);
    scroll-snap-align: start;
  }

  .v18-offer-body {
    min-height: 216px;
  }

  .v18-offer-price strong {
    font-size: 28px;
  }

  .v18-offers-bottom {
    grid-template-columns: 1fr;
  }

  .v18-offers-bottom .button {
    width: 100%;
  }

  .v18-review-signal {
    grid-template-columns: auto 1fr;
  }

  .v18-review-signal span {
    grid-column: 2;
  }
}

@media (max-width: 540px) {
  .hero.v19-hero-direct .eyebrow {
    max-width: 310px;
    font-size: 8px;
    line-height: 1.45;
  }

  .hero.v19-hero-direct h1 {
    font-size: clamp(40px, 11.4vw, 48px);
  }

  .hero.v19-hero-direct .hero-text {
    margin-top: 24px;
  }

  .v18-offers {
    padding: 72px 0 76px;
  }

  .v18-offers-head .kicker {
    margin-bottom: 18px;
  }

  .v18-offers-explain {
    padding: 20px;
    font-size: 12px;
  }

  .v18-offer-card,
  .v18-offer-card:nth-child(4),
  .v18-offer-card:nth-child(5),
  .v18-offer-card:last-child {
    flex-basis: calc(100vw - 58px);
    width: calc(100vw - 58px);
    border-radius: 21px;
  }

  .v18-offer-media {
    aspect-ratio: 16 / 10.5;
  }

  .v18-offer-body {
    min-height: 208px;
    padding: 20px 19px 18px;
  }

  .v18-offer-body h3 {
    font-size: 25px;
  }

  .v18-offer-price {
    margin: 17px 0 19px;
  }

  .v18-offer-price strong {
    font-size: 26px;
  }

  .v18-offers-bottom {
    padding: 21px 20px;
  }

  .v18-review-signal {
    margin-bottom: 29px;
    padding: 18px;
  }

  .v18-review-signal strong {
    font-size: 13px;
    line-height: 1.35;
  }
}

/* V20: the country directions are informational, not catalogue cards. */
.countries .country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #d1cec7;
  border-bottom: 1px solid #d1cec7;
}

.countries .country-card {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-right: 1px solid #d1cec7;
  border-radius: 0;
  padding: 31px 36px 33px;
  background: transparent;
  cursor: default;
  box-shadow: none;
  transition: none;
}

.countries .country-card:last-child {
  border-right: 0;
}

.countries .country-card:hover {
  border-color: #d1cec7;
  background: transparent;
  transform: none;
}

.countries .country-index {
  display: none;
}

.countries .country-mark {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 25px;
  border-radius: 0;
  color: #111;
  background: transparent;
  letter-spacing: 0;
}

.v20-country-flag {
  display: inline-flex;
  width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d5ce;
  border-radius: 5px;
  background: #fff;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 5px 13px rgba(0, 0, 0, .05);
}

.v20-country-code {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid #d8d5ce;
  border-radius: 999px;
  padding: 0 9px;
  color: #817e78;
  background: rgba(255, 255, 255, .58);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .15em;
}

.countries .country-card > p {
  margin-bottom: 8px;
  font-size: 9px;
}

.countries .country-card h3 {
  font-size: 29px;
}

.countries .country-line {
  margin: 18px 0;
}

.countries .country-card > span:last-child {
  max-width: 390px;
  font-size: 12px;
  line-height: 1.65;
}

.reviews.v18-reviews-prominent::before {
  content: "РЕАЛЬНЫЕ ВЫДАЧИ";
}

@media (max-width: 820px) {
  .countries .country-grid {
    grid-template-columns: 1fr;
  }

  .countries .country-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d1cec7;
    padding: 27px 0 29px;
  }

  .countries .country-card:last-child {
    border-bottom: 0;
  }

  .countries .country-mark {
    margin-bottom: 20px;
  }
}

/* V21: clearer promise, richer offer cards, 160 hp explainer and deal case. */
.v21-hero-note {
  max-width: 590px;
  margin: 13px 0 0;
  color: #7f7f7f;
  font-size: 10px;
  line-height: 1.5;
}

.v18-offer-body {
  min-height: 258px;
}

.v18-offer-market {
  font-size: 7px;
}

.v18-offer-price {
  margin-bottom: 12px;
}

.v21-offer-included {
  margin: 0 0 18px;
  color: #858585;
  font-size: 9px;
  line-height: 1.55;
}

.v21-offer-included b {
  color: #d6d6d6;
}

.v21-power {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #151515;
  background:
    radial-gradient(circle at 5% 100%, rgba(243, 19, 43, .11), transparent 30%),
    #eceae4;
}

.v21-power::after {
  position: absolute;
  top: -48px;
  right: -32px;
  color: rgba(17, 17, 17, .035);
  content: "160";
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 310px;
  line-height: 1;
  pointer-events: none;
}

.v21-power-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 270px;
  gap: 55px;
  align-items: center;
}

.v21-power-number {
  display: grid;
  width: 205px;
  height: 205px;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: #0b0b0b;
  text-align: center;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .2);
}

.v21-power-number span {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.v21-power-number strong {
  margin: 2px 0 -2px;
  font-size: 76px;
  line-height: .95;
  letter-spacing: -.07em;
}

.v21-power-number small {
  color: #929292;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.v21-power-copy .kicker {
  margin-bottom: 16px;
}

.v21-power-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(37px, 3.8vw, 56px);
  line-height: 1;
  letter-spacing: -.05em;
}

.v21-power-copy > p:not(.kicker) {
  max-width: 760px;
  margin: 23px 0 0;
  color: #66635e;
  font-size: 13px;
  line-height: 1.75;
}

.v21-power-more {
  max-width: 760px;
  margin-top: 20px;
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 15px;
  color: #6a6761;
  font-size: 12px;
  line-height: 1.6;
}

.v21-power-more b {
  color: #151515;
}

.v21-power-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  border: 1px solid #d1cec6;
  border-radius: 22px;
  padding: 23px;
  background: rgba(255, 255, 255, .55);
}

.v21-power-action > span {
  color: #77736d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}

.v21-power-action .button {
  width: 100%;
  min-height: 53px;
  padding-inline: 19px;
  font-size: 11px;
}

.v21-power-action small {
  color: #8a8781;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.v21-case {
  position: relative;
  overflow: hidden;
  padding: 112px 0 118px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(243, 19, 43, .16), transparent 30%),
    #0a0a0a;
}

.v21-case::before {
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.v21-case > .container {
  position: relative;
  z-index: 1;
}

.v21-case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 75px;
  align-items: end;
  margin-bottom: 48px;
}

.v21-case-heading .kicker {
  margin-bottom: 20px;
}

.v21-case-heading h2 {
  margin: 0;
  font-size: clamp(43px, 4.8vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
}

.v21-case-heading h2 span {
  color: var(--red);
}

.v21-case-heading > p {
  margin: 0;
  color: #999;
  font-size: 13px;
  line-height: 1.75;
}

.v21-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.v21-case-story,
.v21-case-cost {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 27px;
}

.v21-case-story {
  padding: 31px;
  background: rgba(255, 255, 255, .055);
}

.v22-case-photos {
  display: grid;
  height: 315px;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
  gap: 10px;
  margin-bottom: 28px;
}

.v22-case-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 17px;
  background: #171717;
}

.v22-case-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, .76));
  content: "";
  pointer-events: none;
}

.v22-case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v22-case-photo-car img {
  object-position: center 54%;
}

.v22-case-photo-client img {
  object-position: center 45%;
}

.v22-case-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.v21-case-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 13px;
  align-items: center;
  margin-bottom: 34px;
}

.v21-case-route > span {
  display: grid;
  gap: 5px;
  border-radius: 15px;
  padding: 16px;
  color: #fff;
  background: #171717;
  font-size: 14px;
  font-weight: 800;
}

.v21-case-route > span b {
  color: var(--red);
  font-size: 8px;
  letter-spacing: .12em;
}

.v21-case-route > span small {
  color: #777;
  font-size: 8px;
  font-weight: 600;
}

.v21-case-route > i {
  color: var(--red);
  line-height: 0;
}

.v21-case-story > p {
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
}

.v21-case-story > p strong {
  color: #fff;
}

.v21-case-time {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 27px;
}

.v21-case-time > div {
  min-height: 105px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  padding: 16px;
}

.v21-case-time strong,
.v21-case-time span {
  display: block;
}

.v21-case-time strong {
  margin-bottom: 9px;
  color: #fff;
  font-size: 15px;
}

.v21-case-time span {
  color: #777;
  font-size: 9px;
  line-height: 1.5;
}

.v21-case-result {
  margin-top: 13px;
  border-radius: 15px;
  padding: 18px 19px;
  background: var(--red);
}

.v21-case-result span,
.v21-case-result strong {
  display: block;
}

.v21-case-result span {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .68);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v21-case-result strong {
  font-size: 14px;
  line-height: 1.45;
}

.v21-case-cost {
  padding: 30px;
  color: #151515;
  background: #f4f2ed;
}

.v21-case-cost-title {
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 850;
}

.v22-case-explain {
  margin: -5px 0 20px;
  border-left: 3px solid var(--red);
  padding-left: 13px;
  color: #77736d;
  font-size: 9px;
  line-height: 1.6;
}

.v22-case-explain strong {
  color: #181818;
}

.v21-case-cost dl {
  margin: 0;
  border-top: 1px solid #d6d2ca;
}

.v21-case-cost dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid #d6d2ca;
}

.v21-case-cost dt {
  color: #5f5c57;
  font-size: 10px;
  line-height: 1.4;
}

.v21-case-cost dt small {
  display: block;
  margin-top: 3px;
  color: #99958e;
  font-size: 8px;
}

.v21-case-cost dd {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.v21-case-cost dl > .v22-case-commission {
  margin-inline: -12px;
  border-bottom-color: rgba(243, 19, 43, .18);
  border-radius: 12px;
  padding-inline: 12px;
  background: rgba(243, 19, 43, .065);
}

.v22-case-commission dt,
.v22-case-commission dd {
  color: #b80f24;
}

.v21-case-total {
  display: grid;
  margin: 19px 0;
  border-radius: 17px;
  padding: 19px;
  color: #fff;
  background: #111;
}

.v21-case-total span {
  color: #8b8b8b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v21-case-total strong {
  margin: 5px 0 7px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.05em;
}

.v21-case-total small,
.v21-case-note {
  color: #797979;
  font-size: 8px;
  line-height: 1.45;
}

.v21-case-note {
  margin: 12px 2px 0;
  text-align: center;
}

@media (max-width: 1080px) {
  .v21-power-grid {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 38px;
  }

  .v21-power-number {
    width: 165px;
    height: 165px;
  }

  .v21-power-number strong {
    font-size: 64px;
  }

  .v21-power-action {
    grid-column: 2;
    max-width: 520px;
  }

  .v21-case-grid {
    grid-template-columns: 1fr;
  }

  .v21-case-cost {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .v18-offer-body {
    min-height: 250px;
  }

  .v21-power {
    padding: 72px 0 76px;
  }

  .v21-power-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .v21-power-number {
    width: 142px;
    height: 142px;
  }

  .v21-power-number strong {
    font-size: 56px;
  }

  .v21-power-action {
    grid-column: auto;
    max-width: 520px;
  }

  .v21-case {
    padding: 82px 0 88px;
  }

  .v21-case-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .v21-case-heading h2 {
    font-size: clamp(40px, 11vw, 55px);
  }

  .v21-case-route {
    grid-template-columns: 1fr;
  }

  .v22-case-photos {
    height: 280px;
  }

  .v21-case-route > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .v21-case-time {
    grid-template-columns: 1fr;
  }

  .v21-case-time > div {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .v21-hero-note {
    margin-top: 12px;
    font-size: 9px;
  }

  .v21-power-copy h2 {
    font-size: 39px;
  }

  .v21-power-copy > p:not(.kicker) {
    font-size: 12px;
  }

  .v21-case-story,
  .v21-case-cost {
    border-radius: 21px;
    padding: 21px 19px;
  }

  .v22-case-photos {
    height: 225px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    margin-bottom: 24px;
  }

  .v22-case-photo {
    border-radius: 13px;
  }

  .v22-case-photo figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 7px;
  }

  .v21-case-cost dl > div {
    gap: 10px;
  }

  .v21-case-cost dd {
    font-size: 11px;
  }

  .v21-case-total strong {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v18-offer-card,
  .v18-offer-media img,
  .v18-offer-button {
    transition: none;
  }
}

/* v27: new cars must read as new before a visitor reads the card copy. */
.v18-offer-card.v27-offer-new {
  position: relative;
  border-color: rgba(255, 34, 58, .82);
  background:
    linear-gradient(145deg, rgba(243, 19, 43, .14), transparent 46%),
    #151515;
  box-shadow:
    0 0 0 1px rgba(243, 19, 43, .22),
    0 28px 78px rgba(243, 19, 43, .16),
    0 24px 70px rgba(0, 0, 0, .3);
}

.v18-offer-card.v27-offer-new::before {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #ff3046 14%, #ff3046 86%, transparent);
  box-shadow: 0 0 22px rgba(255, 38, 59, .8);
  content: "";
}

.v18-offer-card.v27-offer-new:hover {
  border-color: #ff3046;
  box-shadow:
    0 0 0 1px rgba(243, 19, 43, .4),
    0 34px 88px rgba(243, 19, 43, .24),
    0 30px 76px rgba(0, 0, 0, .4);
}

.v27-new-banner {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 13px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #f3132b, #c6061c);
  box-shadow: 0 11px 26px rgba(150, 0, 18, .38);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.v27-new-banner b {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .075em;
}

.v27-new-banner span {
  border-left: 1px solid rgba(255, 255, 255, .35);
  padding-left: 9px;
  color: rgba(255, 255, 255, .82);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .12em;
}

.v27-offer-new .v18-offer-market {
  top: 68px;
  color: #fff;
  background: rgba(8, 8, 8, .78);
  border: 1px solid rgba(255, 255, 255, .2);
}

.v27-new-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -3px 0 11px;
  color: #f5a4ad;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.v27-new-note span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border-radius: 6px;
  padding: 0 7px;
  color: #fff;
  background: var(--red);
  font-size: 8px;
  letter-spacing: .12em;
}

.v27-offer-new .v18-offer-price strong {
  color: #ff5364;
}

.v27-sold-overlay {
  position: absolute;
  z-index: 5;
  inset: 50% auto auto 50%;
  border: 2px solid rgba(255, 255, 255, .88);
  padding: 9px 18px;
  color: #fff;
  background: rgba(4, 4, 4, .78);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .16em;
  transform: translate(-50%, -50%) rotate(-6deg);
  backdrop-filter: blur(7px);
}

.v27-offer-sold .v18-offer-media img {
  filter: saturate(.45) brightness(.68);
}

@media (max-width: 460px) {
  .v27-new-banner {
    right: 12px;
    left: 12px;
    justify-content: center;
  }

  .v27-offer-new .v18-offer-market {
    display: none;
  }
}

/* V25: expanded catalogue with filters and responsive photo galleries. */
.v25-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -8px 0 28px;
}

.v25-catalog-filters {
  display: inline-flex;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, .055);
}

.v25-catalog-filters button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #8e8e8e;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.v25-catalog-filters button:hover {
  color: #fff;
}

.v25-catalog-filters button.is-active {
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(243, 19, 43, .28);
}

.v25-catalog-filters button:focus-visible,
.v25-media-open:focus-visible,
.v25-media-arrow:focus-visible,
.v25-gallery-button:focus-visible,
.v25-gallery button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.v25-catalog-count {
  color: #747474;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.v25-catalog-count b {
  color: #fff;
  font-size: 15px;
}

.v18-offers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v18-offer-card,
.v18-offer-card:nth-child(4),
.v18-offer-card:nth-child(5),
.v18-offer-card:last-child {
  grid-column: auto;
}

.v25-offer-card[hidden] {
  display: none !important;
}

.v25-offer-card .v18-offer-media {
  isolation: isolate;
}

.v25-media-open {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.v25-offer-card .v18-offer-tag,
.v25-offer-card .v18-offer-market,
.v25-photo-count {
  pointer-events: none;
}

.v25-offer-card .v18-offer-market {
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v25-media-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: rgba(5, 5, 5, .72);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.v25-media-arrow:hover {
  background: var(--red);
  transform: translateY(-50%) scale(1.05);
}

.v25-media-arrow-prev {
  left: 13px;
}

.v25-media-arrow-next {
  right: 13px;
}

.v25-offer-card:hover .v25-media-arrow,
.v25-media-arrow:focus-visible {
  opacity: 1;
}

.v25-photo-count {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 13px;
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 0 11px;
  color: #fff;
  background: rgba(5, 5, 5, .72);
  font-size: 10px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.v25-photo-count b {
  font: inherit;
}

.v25-offer-card .v18-offer-media img {
  opacity: 1;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .16s ease;
}

.v25-offer-card .v18-offer-media img.is-switching {
  opacity: .46;
}

.v25-offer-card .v18-offer-body {
  min-height: 313px;
}

.v25-offer-card .v18-offer-meta {
  min-height: 25px;
  line-height: 1.45;
}

.v25-offer-card .v18-offer-body h3 {
  min-height: 55px;
}

.v25-gallery-button {
  display: flex;
  width: 100%;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 0 15px;
  color: #d7d7d7;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.v25-gallery-button:hover {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.v25-gallery-button span {
  display: inline-grid;
  min-width: 24px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #2b2b2b;
  font-size: 9px;
}

body.v25-gallery-open {
  overflow: hidden;
}

.v25-gallery[hidden] {
  display: none !important;
}

.v25-gallery {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .18s ease;
}

.v25-gallery.is-open {
  opacity: 1;
}

.v25-gallery-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, .88);
  cursor: zoom-out;
  backdrop-filter: blur(13px);
}

.v25-gallery-dialog {
  position: relative;
  display: grid;
  width: min(1180px, 94vw);
  max-height: calc(100dvh - 48px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  color: #fff;
  background: #101010;
  box-shadow: 0 35px 120px rgba(0, 0, 0, .72);
  transform: translateY(14px) scale(.985);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}

.v25-gallery.is-open .v25-gallery-dialog {
  transform: translateY(0) scale(1);
}

.v25-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 22px 18px 25px;
}

.v25-gallery-head > div > span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  color: #fff;
  background: var(--red);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.v25-gallery-head h3 {
  display: inline;
  margin: 0 0 0 10px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1;
  letter-spacing: -.04em;
}

.v25-gallery-head p {
  margin: 8px 0 0;
  color: #858585;
  font-size: 11px;
}

.v25-gallery-close {
  display: grid;
  width: 45px;
  height: 45px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: #191919;
  cursor: pointer;
}

.v25-gallery-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #050505;
  touch-action: pan-y;
  user-select: none;
}

.v25-gallery-stage figure {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
  margin: 0;
}

.v25-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(65vh, 720px);
  object-fit: contain;
  opacity: 1;
  transition: opacity .16s ease;
}

.v25-gallery-stage img.is-switching {
  opacity: .38;
}

.v25-gallery-stage figcaption {
  position: absolute;
  right: 17px;
  bottom: 16px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  font-size: 10px;
  backdrop-filter: blur(10px);
}

.v25-gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: rgba(12, 12, 12, .78);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease;
}

.v25-gallery-nav:hover {
  background: var(--red);
  transform: translateY(-50%) scale(1.04);
}

.v25-gallery-nav-prev {
  left: 18px;
}

.v25-gallery-nav-next {
  right: 18px;
}

.v25-gallery-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 14px 17px;
}

.v25-gallery-thumbs {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
  scrollbar-color: #3b3b3b transparent;
}

.v25-gallery-thumbs button {
  width: 76px;
  height: 54px;
  flex: 0 0 76px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #222;
  cursor: pointer;
  opacity: .56;
  transition: opacity .2s ease, border-color .2s ease;
}

.v25-gallery-thumbs button:hover,
.v25-gallery-thumbs button.is-active {
  border-color: var(--red);
  opacity: 1;
}

.v25-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v25-gallery-lead {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .v18-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v18-offer-card,
  .v18-offer-card:nth-child(4),
  .v18-offer-card:nth-child(5),
  .v18-offer-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .v25-catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .v25-catalog-filters {
    width: 100%;
  }

  .v25-catalog-filters button {
    flex: 1;
    padding-inline: 10px;
  }

  .v18-offers-grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 15px;
    overflow: visible;
    padding: 0;
  }

  .v18-offer-card,
  .v18-offer-card:nth-child(4),
  .v18-offer-card:nth-child(5),
  .v18-offer-card:last-child {
    width: auto;
    grid-column: auto;
    scroll-snap-align: none;
  }

  .v25-media-arrow {
    width: 40px;
    height: 40px;
    opacity: 1;
  }

  .v25-gallery {
    display: block;
    padding: 0;
  }

  .v25-gallery-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .v25-gallery-head {
    padding: 15px 16px 14px;
  }

  .v25-gallery-head > div > span {
    min-height: 21px;
  }

  .v25-gallery-head h3 {
    display: block;
    margin: 8px 0 0;
    font-size: 25px;
  }

  .v25-gallery-head p {
    max-width: 275px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .v25-gallery-close {
    width: 42px;
    height: 42px;
  }

  .v25-gallery-stage img {
    max-height: none;
  }

  .v25-gallery-nav {
    width: 43px;
    height: 43px;
  }

  .v25-gallery-nav-prev {
    left: 10px;
  }

  .v25-gallery-nav-next {
    right: 10px;
  }

  .v25-gallery-foot {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px 12px;
  }

  .v25-gallery-thumbs button {
    width: 68px;
    height: 48px;
    flex-basis: 68px;
  }

  .v25-gallery-lead {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .v25-offer-card .v18-offer-body {
    min-height: 300px;
  }

  .v25-offer-card .v18-offer-body h3 {
    min-height: 0;
  }

  .v25-catalog-filters button {
    min-height: 38px;
    font-size: 10px;
  }

  .v25-offer-card .v18-offer-tag,
  .v25-offer-card .v18-offer-market {
    top: 12px;
    min-height: 28px;
    padding-inline: 9px;
    font-size: 6px;
  }

  .v25-offer-card .v18-offer-tag {
    left: 12px;
  }

  .v25-offer-card .v18-offer-market {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v25-media-arrow,
  .v25-gallery,
  .v25-gallery-dialog,
  .v25-gallery-stage img,
  .v25-offer-card .v18-offer-media img {
    transition: none;
  }
}
/* v28: catalog pause state */
.v28-catalog-paused {
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0, rgba(215, 21, 34, .12), transparent 42%),
    #111214;
  text-align: center;
}

.v28-catalog-paused i {
  width: 10px;
  height: 10px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #d81722;
  box-shadow: 0 0 0 8px rgba(216, 23, 34, .1);
}

.v28-catalog-paused b {
  font-size: clamp(19px, 2.2vw, 28px);
  letter-spacing: -.035em;
}

.v28-catalog-paused span {
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
}
