/* Reviews, About and Sell: page-specific layout */

/* ---------- Reviews ---------- */
.rvx-sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  padding: 2rem clamp(1.5rem, 3vw, 2.75rem);
  border-radius: 1.5rem;
  background: #F6F5F3;
}
.rvx-num {
  margin: 0;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #F76500;
}
.rvx-score .st {
  margin-top: 0.4rem;
  font-size: 26px;
}
.rvx-line {
  margin: 0.4rem 0 0;
  font-size: 15px;
  color: #5A5650;
}
.rvx-names h2 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}
.rvx-links {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}
.rvx-links .btn-sm-main {
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .rvx-sum {
    grid-template-columns: 1fr;
  }
  .rvx-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.4rem;
  }
}
@media (max-width: 575.98px) {
  .rvx-sum {
    grid-template-columns: 1fr;
  }
}

.rvx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.rvx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid #E3E0DA;
  border-radius: 1.5rem;
  background: #fff;
}
.rvx-q {
  width: 40px;
  height: 40px;
  fill: #F76500;
  opacity: 0.9;
}
.rvx-card blockquote {
  flex: 1 1 auto;
  margin: 0;
}
.rvx-card blockquote p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.rvx-card mark {
  padding: 0 2px;
  background: linear-gradient(transparent 62%, rgba(247, 101, 0, 0.35) 62%);
  color: inherit;
}
.rvx-card footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.rvx-card .av {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0B0B0C;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.rvx-card .who {
  display: grid;
  gap: 0.1rem;
  line-height: 1.3;
}
.rvx-card small {
  font-size: 13px;
  color: #5A5650;
}
.rvx-card .st {
  font-size: 15px;
}

.rvx-card.is-feature {
  grid-column: span 2;
  border-color: transparent;
  background: #F76500;
  color: #0B0B0C;
}
.rvx-card.is-feature .rvx-q {
  fill: #0B0B0C;
}
.rvx-card.is-feature blockquote p {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-weight: 700;
  line-height: 1.4;
}
.rvx-card.is-feature mark {
  background: linear-gradient(transparent 62%, rgba(255, 255, 255, 0.45) 62%);
}
.rvx-card.is-feature .st {
  background: #0B0B0C;
}
.rvx-card.is-dark {
  border-color: transparent;
  background: #0B0B0C;
  color: #fff;
}
.rvx-card.is-dark blockquote p {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}
.rvx-card.is-dark mark {
  background: linear-gradient(transparent 62%, rgba(247, 101, 0, 0.6) 62%);
}
.rvx-card.is-dark .av {
  background: #F76500;
  color: #0B0B0C;
}
@media (max-width: 991.98px) {
  .rvx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .rvx-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rvx-card.is-feature {
    grid-column: auto;
  }
}

/* ---------- About ---------- */
.ab-hero .ab-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: 0;
}
.ab-hero {
  padding-bottom: 2.25rem;
}
.ab-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}
.ab-hero p {
  max-width: 30rem;
}
.ab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.ab-collage {
  position: relative;
  padding: 0 0 1.75rem;
}
.ab-pic {
  display: block;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 20px 44px rgba(11, 11, 12, 0.18);
}
.ab-pic.is-main {
  width: 90%;
  aspect-ratio: 16/9;
  margin-left: auto;
}
.ab-pic.is-side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4/3;
  border: 6px solid #fff;
}
@media (max-width: 991.98px) {
  .ab-hero .ab-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-hero h1 {
    max-width: none;
  }
}

.ab-stats-wrap {
  padding: 0;
}
.ab-stats-wrap + .sec {
  padding-top: 3.5rem;
}
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #0B0B0C;
  color: #fff;
}
.ab-stats div {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ab-stats div:last-child {
  border-right: 0;
}
.ab-stats dt {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #F76500;
}
.ab-stats small {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
}
.ab-stats dd {
  margin: 0.7rem 0 0;
  font-size: 15px;
  color: #C9C4BB;
}
@media (max-width: 991.98px) {
  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-stats div:nth-child(2) {
    border-right: 0;
  }
  .ab-stats div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.ab-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.ab-story h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
}
.ab-story p {
  margin: 0 0 1.1rem;
  font-size: 17px;
  color: #3D3A35;
}
.ab-story p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .ab-story {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ab-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-cards a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #E3E0DA;
  border-radius: 1.25rem;
  background: #fff;
  color: #151515;
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.3, 1), background-color 0.3s, color 0.3s, box-shadow 0.35s;
}
.ab-cards a:hover {
  transform: translateY(-6px);
  background: #0B0B0C;
  color: #fff;
  box-shadow: 0 18px 38px rgba(11, 11, 12, 0.18);
}
.ab-cards .no {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 15px;
  font-weight: 800;
  color: #D6D2CB;
}
.ab-cards .ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: #FFF1E6;
  color: #F76500;
  transition: background-color 0.3s, color 0.3s;
}
.ab-cards a:hover .ico {
  background: #F76500;
  color: #fff;
}
.ab-cards h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}
.ab-cards p {
  margin: 0;
  font-size: 15px;
  color: #5A5650;
  transition: color 0.3s;
}
.ab-cards a:hover p {
  color: #C9C4BB;
}
.ab-cards .go {
  display: none;
}
@media (max-width: 991.98px) {
  .ab-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .ab-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Sell ---------- */
.sell-close .btn-sm-main {
  margin-top: 0.4rem;
}

/* ---------- Sell: phone line ---------- */
.sell-hero .sell-call-row {
  margin: 0;
  font-size: 16px;
  color: #5A5650;
}
.sell-hero .sell-call-row .sell-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.25rem;
  border-bottom: 0;
  font-weight: 700;
  color: #151515;
  text-decoration: underline;
  text-decoration-color: #F76500;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.sell-hero .sell-call-row .sell-call .ic {
  color: #F76500;
}
.sell-hero .sell-call-row .sell-call:hover {
  color: #B84700;
}

/* ---------- Sell: tighter hero ---------- */
.sell-hero.sell-hero.sell-hero {
  padding: 2rem 0 3rem;
}
.sell-hero.sell-hero .sell-grid {
  align-items: center;
  margin-top: 1.25rem;
}
.sell-hero.sell-hero h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.1rem, 3.9vw, 3.2rem);
}
.sell-hero.sell-hero .sell-lead {
  margin-bottom: 1.25rem;
}
.sell-hero.sell-hero .vin-status:empty {
  display: none;
}

/* ---------- Sell: space before the next section ---------- */
.sell-hero + .sec {
  padding-top: 3.5rem;
}

/* ---------- Dark CTA band: hover must stay visible on black ---------- */
.band .btn-sm-main:hover {
  border-color: #fff;
  background: #fff;
  color: #0B0B0C;
}
.band .btn-sm-white:hover {
  border-color: #F76500;
  background: #F76500;
  color: #0B0B0C;
}
.band .band-actions {
  align-items: center;
}

/* Sell: photo fills the left column under the copy */
.sell-hero.sell-hero .sell-grid {
  align-items: start;
}
.sell-hero.sell-hero .sell-pic {
  display: block;
  width: 100%;
  max-width: 34rem;
  margin-top: 1.75rem;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(11, 11, 12, 0.16);
}
@media (max-width: 991.98px) {
  .sell-hero.sell-hero .sell-pic {
    max-width: none;
    aspect-ratio: 16 / 9;
  }
}

/* Phones: cards stack in one column, so every review looks the same */
@media (max-width: 767.98px) {
  .rvx-card.is-feature,
  .rvx-card.is-dark {
    border-color: #E3E0DA;
    background: #fff;
    color: inherit;
  }
  .rvx-card.is-feature .rvx-q,
  .rvx-card.is-dark .rvx-q {
    fill: #F76500;
  }
  .rvx-card.is-feature blockquote p,
  .rvx-card.is-dark blockquote p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
  }
  .rvx-card.is-feature mark,
  .rvx-card.is-dark mark {
    background: linear-gradient(transparent 62%, rgba(247, 101, 0, 0.35) 62%);
  }
  .rvx-card.is-feature .st {
    background: #F76500;
  }
  .rvx-card.is-feature .av,
  .rvx-card.is-dark .av {
    background: #0B0B0C;
    color: #fff;
  }
}
