/* КарМакс: approved dark showroom hero, version 2. Homepage only. */
.hero.hero--showroom {
  padding-top: 24px;
  background: linear-gradient(140deg, #06162a, #0c2845);
}
.hero--showroom .showroom-hero__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 590px;
  border: 1px solid #2a4159;
  border-radius: 26px;
  background: #061526;
  box-shadow: 0 22px 60px rgb(0 0 0 / 20%);
}
.hero--showroom .showroom-hero__visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 58%;
  overflow: hidden;
}
.hero--showroom .showroom-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  /* Sign clarity is part of the photograph; do not brighten the entire facade. */
  filter: none;
}
.hero--showroom .showroom-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061526, rgb(6 21 38 / 82%) 9%, transparent 33%),
              linear-gradient(0deg, rgb(6 21 38 / 62%), transparent 40%);
  pointer-events: none;
}
.hero--showroom .showroom-hero__copy {
  width: 60%;
  padding: 52px 0 42px 44px;
}
.hero--showroom .showroom-hero__eyebrow {
  margin: 0;
  color: #46bbfa;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hero--showroom .showroom-hero__title {
  max-width: 640px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(44px, 4.1vw, 60px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero--showroom .showroom-hero__title-main {
  display: block;
  margin: 0;
  color: #fff;
}
.hero--showroom .showroom-hero__subtitle {
  display: block;
  margin-top: 20px;
  color: #d4e8fa;
  font-size: .7em;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.hero--showroom .showroom-hero__lead {
  max-width: 510px;
  margin: 22px 0 0;
  color: #c4d7e9;
  font-size: 18px;
  line-height: 1.65;
}
.hero--showroom .showroom-hero__lead-mobile,
.hero--showroom .showroom-hero__rating-label-mobile { display: none; }
.hero--showroom .showroom-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero--showroom .showroom-hero__facts > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #275477;
  border-radius: 11px;
  background: rgb(7 29 51 / 88%);
  color: #deecfa;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}
.hero--showroom .showroom-hero__facts svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #30b8ff;
}
.hero--showroom .showroom-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 24px;
}
.hero--showroom .showroom-hero__actions > a {
  min-height: 56px;
  padding: 14px 22px;
  font-size: 16px;
}
.hero--showroom .showroom-hero__actions .site-button {
  color: #071b34 !important;
  background: #fff;
}
.hero--showroom .showroom-hero__actions .site-button:hover {
  background: #e6f3fe;
}
.hero--showroom .showroom-hero__actions .outline-button {
  background: rgb(4 17 32 / 75%);
  border-color: #d9e7f3;
}
.hero--showroom .showroom-hero__actions .outline-button:hover {
  background: #102d48;
}
.hero--showroom .showroom-hero__visit {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 28px;
  color: #c1d4e6;
  font-size: 14px;
  line-height: 1.5;
}
.hero--showroom .showroom-hero__visit > svg {
  flex: none;
  width: 22px;
  height: 26px;
}
.hero--showroom .showroom-hero__visit p { margin: 0 0 4px; }
.hero--showroom .showroom-hero__visit-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.hero--showroom .showroom-hero__visit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero--showroom .showroom-hero__visit a svg,
.hero--showroom .showroom-hero__review-link svg { width: 19px; height: 19px; }
.hero--showroom .showroom-hero__rating {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 16px;
  padding: 17px 20px;
  border: 1px solid #58718a;
  border-radius: 16px;
  background: rgb(5 23 43 / 95%);
  color: #fff;
  transition: border-color .15s, background-color .15s;
}
.hero--showroom .showroom-hero__rating:hover {
  background: #102e4b;
  border-color: #9accea;
}
.hero--showroom .showroom-hero__rating-value {
  font-size: 44px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero--showroom .showroom-hero__rating-info {
  display: grid;
  gap: 2px;
  color: #d0e1f1;
  font-size: 12px;
  line-height: 1.4;
}
.hero--showroom .showroom-hero__stars {
  color: #ffc348;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 2px;
}
.hero--showroom .showroom-hero__review-link {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero--showroom a:focus-visible {
  outline: 3px solid #57c1ff;
  outline-offset: 4px;
}
@media (max-width: 1150px) and (min-width: 1051px) {
  .hero--showroom .showroom-hero__copy { padding-left: 32px; }
  .hero--showroom .showroom-hero__title { font-size: 46px; }
  .hero--showroom .showroom-hero__lead { max-width: 440px; font-size: 17px; }
  .hero--showroom .showroom-hero__facts { max-width: 460px; }
  .hero--showroom .showroom-hero__actions > a { padding-inline: 15px; font-size: 15px; }
}
@media (max-width: 1050px) {
  .hero.hero--showroom { padding-top: 18px; }
  .hero--showroom .showroom-hero__stage { display: flex; flex-direction: column; min-height: 0; }
  .hero--showroom .showroom-hero__visual {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    height: clamp(235px, 48vw, 410px);
  }
  .hero--showroom .showroom-hero__visual::after {
    background: linear-gradient(0deg, #061526, rgb(6 21 38 / 18%) 28%, transparent 65%);
  }
  .hero--showroom .showroom-hero__copy { width: 100%; padding: 18px 32px 28px; }
  .hero--showroom .showroom-hero__title { max-width: none; font-size: 46px; margin-top: 16px; }
  .hero--showroom .showroom-hero__subtitle { margin-top: 12px; }
  .hero--showroom .showroom-hero__lead { max-width: 600px; margin-top: 18px; }
  .hero--showroom .showroom-hero__rating {
    position: static;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 14px;
    margin: 24px 0 0;
    padding: 16px 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
  }
  .hero--showroom .showroom-hero__review-link { grid-column: auto; min-height: 44px; }
  .hero--showroom .showroom-hero__rating:hover { border-color: transparent; background: rgb(255 255 255 / 4%); }
  .hero--showroom .showroom-hero__visit { margin-top: 8px; padding-top: 20px; border-top: 1px solid #243a4f; }
  .hero--showroom .hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hero.hero--showroom { padding-top: 0; background: #041426; }
  .hero--showroom > .shell { width: 100%; }
  .hero--showroom .showroom-hero__stage {
    border: 0;
    border-radius: 0;
    background: #041426;
    box-shadow: none;
  }
  .hero--showroom .showroom-hero__visual { height: clamp(225px, 70vw, 340px); }
  .hero--showroom .showroom-hero__visual img { object-position: 50% 38%; }
  .hero--showroom .showroom-hero__visual::after {
    background: linear-gradient(180deg, rgb(4 20 38 / 8%), transparent 38%, rgb(4 20 38 / 16%) 66%, #041426 100%);
  }
  .hero--showroom .showroom-hero__copy { padding: 6px 24px 28px; }
  .hero--showroom .showroom-hero__eyebrow {
    color: #42bdff;
    font-size: 10px;
    letter-spacing: .11em;
    line-height: 1.65;
  }
  .hero--showroom .showroom-hero__title {
    max-width: none;
    margin-top: 18px;
    font-size: clamp(27px, 8.4vw, 42px);
    line-height: 1.06;
    letter-spacing: -.035em;
  }
  .hero--showroom .showroom-hero__subtitle { margin-top: 10px; font-size: .7em; line-height: 1.25; }
  .hero--showroom .showroom-hero__lead { margin-top: 16px; font-size: 15px; line-height: 1.55; }
  .hero--showroom .showroom-hero__lead-desktop,
  .hero--showroom .showroom-hero__facts,
  .hero--showroom .showroom-hero__rating-label-desktop { display: none; }
  .hero--showroom .showroom-hero__lead-mobile,
  .hero--showroom .showroom-hero__rating-label-mobile { display: inline; }
  .hero--showroom .showroom-hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .hero--showroom .showroom-hero__actions > a { width: 100%; min-height: 52px; padding: 14px 12px; font-size: 15px; border-radius: 10px; }
  .hero--showroom .showroom-hero__actions .outline-button { background: transparent; }
  .hero--showroom .showroom-hero__rating { margin-top: 20px; padding: 12px 0; gap: 8px 12px; }
  .hero--showroom .showroom-hero__rating-value { font-size: 42px; }
  .hero--showroom .showroom-hero__rating-info { gap: 5px; font-size: 11px; }
  .hero--showroom .showroom-hero__stars { font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
  .hero--showroom .showroom-hero__review-link { gap: 5px; font-size: 11px; white-space: nowrap; }
  .hero--showroom .showroom-hero__review-link svg { width: 16px; height: 16px; }
  .hero--showroom .showroom-hero__visit { margin-top: 8px; padding-top: 18px; gap: 10px; font-size: 13px; }
  .hero--showroom .showroom-hero__visit > svg { width: 19px; height: 23px; }
  .hero--showroom .showroom-hero__visit-details { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero--showroom .showroom-hero__visit-details a { min-height: 44px; }
  .hero--showroom .hero__trust { margin: 0 14px; }
}
@media (max-width: 380px) {
  .hero--showroom .showroom-hero__copy { padding-inline: 20px; }
  .hero--showroom .showroom-hero__eyebrow { font-size: 9px; }
  .hero--showroom .showroom-hero__rating { grid-template-columns: auto minmax(0, 1fr); }
  .hero--showroom .showroom-hero__rating-value { grid-row: 1 / 3; }
  .hero--showroom .showroom-hero__review-link { grid-column: 2; min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--showroom .showroom-hero__rating { transition: none; }
}
