/* SenseCar QA refinements. Loaded after the vendor theme. */

body,
button,
input,
select,
textarea,
.button {
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(33, 33, 38, .45) !important;
  outline-offset: 3px;
}

.sensecar-brand {
  line-height: 1;
}

.sensecar-logo {
  display: block;
  width: 208px;
  height: auto;
}

.sensecar-logo--header {
  width: 218px;
  transition: width .25s ease;
}

.sensecar-brand--footer {
  max-width: 248px;
}

.sensecar-logo--footer {
  width: 240px;
  max-width: 100%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .24));
}

.mobile-nav-details {
  display: none;
}

.footer-location-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: inherit;
  line-height: 1.55;
}

.footer-location-link:hover,
.footer-location-link:focus {
  color: #fff;
}

.footer-location-link .icon {
  flex: 0 0 auto;
  margin-top: .2em;
  font-size: 18px;
}

.footer-location-link__text {
  min-width: 0;
  text-align: left;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #fff;
}

.footer-contact-link .icon {
  flex: 0 0 18px;
  margin-top: .2em;
  font-size: 17px;
}

.footer-contact-link__text {
  min-width: 0;
}

.footer-contact-link[href^="mailto:"] {
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-details-card {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-style: normal;
}

.contact-details-card__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  color: #212126;
  background: #f7f8fa;
  border: 1px solid #e3e6eb;
  border-left: 4px solid #212126;
  box-shadow: 0 8px 24px rgba(25, 27, 34, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-details-card__item:hover,
.contact-details-card__item:focus {
  color: #212126;
  border-color: #c7cbd3;
  border-left-color: #212126;
  box-shadow: 0 14px 30px rgba(25, 27, 34, .12);
  transform: translateY(-2px);
}

.contact-details-card__icon {
  flex: 0 0 24px;
  margin-top: 3px;
  font-size: 22px;
}

.contact-details-card__label,
.contact-details-card__hint {
  display: block;
}

.contact-details-card__label {
  color: #747986;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-details-card__value {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.contact-details-card__hint {
  margin-top: 8px;
  color: #555b66;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*
 * The new mark carries much more visual weight than the previous wordmark.
 * Keep the utility strip compact and give the primary row enough height for
 * the artwork across the default and sticky desktop states.
 */
@media (min-width: 1200px) {
  .rd-navbar-static .rd-navbar-top-panel::before {
    background: #f7f8fa;
  }

  .rd-navbar-static .rd-navbar-top-panel {
    border-bottom-color: #e7e8ec;
  }

  .rd-navbar-static .rd-navbar-top-panel__content {
    min-height: 40px;
    color: #555861;
  }

  .rd-navbar-static .rd-navbar-inner {
    min-height: 82px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .rd-navbar-static .rd-navbar-panel {
    display: flex;
    align-items: center;
  }

  .rd-navbar-static.rd-navbar--is-stuck .sensecar-logo--header,
  .rd-navbar-static.rd-navbar--is-clone .sensecar-logo--header {
    width: 170px;
  }
}

/* The secondary hero action remains legible over every hero image. */
.sensecar-hero .hero-actions .button-default {
  color: #212126;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.sensecar-hero .hero-actions .button-default:hover,
.sensecar-hero .hero-actions .button-default:focus {
  color: #fff;
  background: #878d99;
  border-color: #878d99;
}

/* Inner-page hero copy needs a stable contrast layer on detailed photos. */
.hero-copy-panel {
  width: fit-content;
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  padding: 26px 30px;
  background: rgba(18, 19, 24, .58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  backdrop-filter: blur(2px);
}

.about-hero::before {
  background: rgba(20, 21, 27, .66);
}

.inner-page-hero--faq::before {
  background: linear-gradient(90deg, rgba(20, 21, 27, .7), rgba(20, 21, 27, .6));
}

/* Keep card elevation on the media wrapper so overflow does not crop it. */
.service-card {
  overflow: visible;
}

.service-card__media {
  position: relative;
  box-shadow: 0 8px 22px rgba(25, 27, 34, .1);
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover .service-card__media,
.service-card:focus-within .service-card__media {
  box-shadow: 0 18px 38px rgba(25, 27, 34, .2);
  transform: translateY(-4px);
}

.service-card:hover .service-card__media img,
.service-card:focus-within .service-card__media img {
  box-shadow: none;
  transform: scale(1.025);
}

/* Keyboard users get the same team-card reveal as pointer users. */
@media (min-width: 992px) {
  .desktop .about-team-card:focus-within .thumb-corporate__overlay {
    opacity: 1;
  }

  .desktop .about-team-card:focus-within .thumb-corporate__overlay .thumb-corporate__list > li {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

/* The theme hides indicators for classic accordions; restore a clear chevron. */
.faq-accordion .card-classic .card-custom-title > a {
  padding-right: 46px;
}

.faq-accordion .card-classic .card-custom-title > a::before {
  display: block;
  content: "\e93a";
  transform: translateY(-50%) rotate(180deg);
}

.faq-accordion .card-classic .card-custom-title > a.collapsed::before {
  content: "\e93a";
  transform: translateY(-50%) rotate(0deg);
}

/* Separate page calls-to-action visually from both content and footer. */
.page-cta {
  position: relative;
  overflow: hidden;
  color: #212126;
  background: linear-gradient(135deg, #f7f9fc 0%, #edf2f8 55%, #fff 100%);
  border-top: 1px solid #e2e6ec;
  border-bottom: 1px solid #dfe4eb;
}

.page-cta::before {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 260px;
  height: 260px;
  background: rgba(33, 33, 38, .045);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.page-cta__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.page-cta__content p {
  margin-top: 18px;
}

.page-cta__content .button {
  margin-top: 28px;
}

/* Auction lists expose every public record without overloading one page. */
.sales-pagination {
  margin-top: 48px;
  text-align: center;
}

.sales-pagination .pagination-classic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.sales-pagination .pagination-classic li + li {
  margin-left: 0;
}

.sales-pagination .pagination-classic li.active span {
  color: #fff;
  background: #212126;
  border-color: #212126;
  font-weight: 700;
}

.sales-pagination .pagination-classic li.disabled span {
  color: #b4b8c0;
  cursor: default;
}

.sales-pagination__mobile {
  display: none;
}

/* Form clarity and compact feedback. */
.consultation-form .form-input::placeholder {
  color: #747986;
}

.required-marker {
  color: #b42318;
}

.comment-counter {
  margin-top: 7px;
  color: #747986;
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
}

.consultation-number-input {
  -moz-appearance: textfield;
}

.consultation-number-input::-webkit-inner-spin-button,
.consultation-number-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Center the custom back-to-top chevron independently of font metrics. */
.ui-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ui-to-top::before {
  margin: 4px 0 0;
  transform: rotate(45deg);
}

@media (max-width: 767.98px) {
  .hero-copy-panel {
    width: 100%;
    padding: 20px 18px;
  }

  .sensecar-hero .bg-overlay-light::before {
    visibility: visible;
    opacity: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .94) 48%, rgba(255, 255, 255, .78));
  }

  .sensecar-hero__copy {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .sensecar-hero__copy p {
    max-width: 370px;
    margin-right: auto;
    margin-left: auto;
    color: #212126;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
  }

  .sensecar-hero .hero-actions {
    justify-content: center;
  }

  .sensecar-hero .hero-actions .button {
    width: min(100%, 290px);
  }

  .sales-tabs-section .tabs-custom {
    margin-bottom: 20px;
  }

  .sales-tabs-section .nav-custom-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .sales-tabs-section .nav-custom-tabs li {
    flex: 1 0 auto;
    margin: 0;
  }

  .sales-tabs-section .nav-custom-tabs li + li {
    margin: 0;
  }

  .sales-tabs-section .nav-custom-tabs li a {
    min-height: 48px;
    padding: 12px 16px;
    color: #212126;
    background: #f2f4f7;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    line-height: 1.25;
    text-transform: none;
  }

  .sales-tabs-section .nav-custom-tabs li a:hover,
  .sales-tabs-section .nav-custom-tabs li a.active {
    color: #212126;
    background: #fff;
    border-bottom-color: #212126;
  }

  .sales-tabs-content.tab-content {
    padding: 30px 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .sales-pagination {
    margin-top: 34px;
  }

  .sales-pagination .sales-pagination__desktop {
    display: none;
  }

  .sales-pagination__mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .sales-pagination__arrow,
  .sales-pagination__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
  }

  .sales-pagination__arrow {
    flex: 0 0 48px;
    width: 48px;
    color: #212126;
    background: #f2f4f7;
    border: 1px solid #dfe3e9;
    border-radius: 4px;
    font-size: 27px;
    line-height: 1;
  }

  .sales-pagination__arrow:hover,
  .sales-pagination__arrow:focus {
    color: #fff;
    background: #212126;
    border-color: #212126;
  }

  .sales-pagination__arrow.is-disabled {
    color: #aeb3bd;
    cursor: default;
    opacity: .68;
  }

  .sales-pagination__status {
    min-width: 126px;
    padding: 0 12px;
    color: #212126;
    background: #fff;
    border: 1px solid #dfe3e9;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
  }

  .about-overview {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .about-journey {
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .about-journey__cta {
    display: block;
    width: min(100%, 290px);
    margin-right: auto;
    margin-left: auto;
  }

  .consultation-form-panel {
    padding: 22px 18px;
  }

  .consultation-form-panel h2 {
    margin-bottom: 24px;
  }

  .consultation-form .form-input {
    min-height: 52px;
    padding: 11px 14px;
    font-size: 16px;
    line-height: 1.45;
  }

  .consultation-form textarea.form-input {
    height: 136px;
    min-height: 120px;
  }

  .consultation-checkbox {
    min-height: 44px;
    align-items: flex-start;
    padding: 6px 0;
  }

  .consultation-form__submit {
    min-height: 54px;
  }
}

/* Fixed navigation is a full-width top drawer on tablets and phones. */
@media (max-width: 1199.98px) {
  .rd-navbar-fixed .rd-navbar-top-panel {
    display: none !important;
  }

  .rd-navbar-fixed .rd-navbar-brand {
    max-width: calc(100vw - 168px);
  }

  .rd-navbar-fixed .rd-navbar-brand img.sensecar-logo {
    width: 138px;
    height: auto;
    max-height: 42px;
  }

  .language-switch-mobile {
    right: 16px;
  }

  .rd-navbar-fixed .rd-navbar-nav-wrap {
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    height: calc(100dvh - 56px);
    padding: 24px 20px 32px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(25, 27, 34, .16);
    transform: translateY(-112%);
  }

  .rd-navbar-fixed .rd-navbar-nav-wrap.active {
    transform: translateY(0);
  }

  .rd-navbar-fixed .rd-navbar-nav {
    max-width: 680px;
    margin: 0 auto;
  }

  .rd-navbar-fixed .rd-navbar-nav > li + li {
    margin-top: 4px;
  }

  .rd-navbar-fixed .rd-navbar-nav > li > a {
    min-height: 48px;
    padding: 14px 16px;
    border-bottom: 1px solid #eceef2;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
  }

  .mobile-nav-details {
    display: grid;
    gap: 12px;
    max-width: 680px;
    margin: 28px auto 0;
    padding: 24px 16px 0;
    border-top: 1px solid #dfe3e9;
  }

  .mobile-nav-details__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #4f535c;
    font-size: 15px;
    line-height: 1.4;
  }

  .mobile-nav-details__item .icon {
    flex: 0 0 28px;
    color: #212126;
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .footer-corporate.section-xl {
    padding-bottom: 40px;
  }

  .footer-corporate .row-40 {
    margin-bottom: -28px;
  }

  .footer-corporate .row-40 > * {
    margin-bottom: 28px;
  }
}

@media (min-width: 768px) {
  .footer-corporate.section-xl {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .footer-corporate .footer-corporate__inner {
    margin-top: 32px;
  }
}

@media (max-width: 767.98px) {
  .home-quality-button {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card__media,
  .service-card__media img,
  .contact-details-card__item,
  .rd-navbar-fixed .rd-navbar-nav-wrap {
    transition-duration: .01ms !important;
  }
}
