/* ==========================================================================
   Inner pages (cars, brands, offers, financing, services, corporate, about,
   contact, faq, guide, article, legal) — loaded after style.css
   ========================================================================== */

/* No hero behind the header on inner pages, so it is solid from the start. */
.page-inner .header {
  background: rgba(11, 17, 30, 0.96);
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.crumbs li + li::before {
  content: "‹";
  color: #b3bac6;
}
.crumbs a:hover {
  color: var(--red);
}
.crumbs [aria-current] {
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------- Page head ---------- */
.phead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 64px;
  background: var(--navy-950);
  color: var(--white);
}
.phead__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.phead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to left,
    rgba(11, 17, 30, 0.95) 0%,
    rgba(11, 17, 30, 0.75) 45%,
    rgba(11, 17, 30, 0.25) 100%
  );
}
.phead .crumbs ol {
  color: rgba(255, 255, 255, 0.6);
}
.phead .crumbs li + li::before {
  color: rgba(255, 255, 255, 0.35);
}
.phead .crumbs a:hover {
  color: var(--white);
}
.phead .crumbs [aria-current] {
  color: var(--white);
}
.phead__body {
  max-width: 680px;
  margin-top: 40px;
}
.phead__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.2;
}
.phead__lead {
  margin-top: 14px;
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.8);
}
.phead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.phead__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 32px;
}
.phead__facts li {
  display: flex;
  flex-direction: column;
}
.phead__facts strong {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.2;
}
.phead__facts span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
}
.phead--compact {
  padding: 28px 0 40px;
}
.phead--compact .phead__body {
  margin-top: 20px;
}
.phead--compact .phead__title {
  font-size: var(--fs-xl);
}

/* ---------- Form fields (inputs + textareas match the selects) ---------- */
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  font: inherit;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 58, 86, 0.15);
}
.field--full {
  grid-column: 1 / -1;
}

.form-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-900);
}
.form-card__lead {
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.form-card .btn[type="submit"] {
  margin-top: 20px;
}
.form-card--decorated {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background: linear-gradient(145deg, #ffffff 0%, #f6f9fb 100%);
  border-color: #d8e3eb;
  box-shadow: 0 18px 44px rgba(16, 29, 43, 0.08);
}
.form-card--decorated .form-card__shape {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 56px;
  pointer-events: none;
}
.form-card--decorated::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0;
  background: none;
}
.form-card--decorated .form-card__title {
  font-size: clamp(1.35rem, 1.1rem + 0.5vw, 1.7rem);
}
.form-card--decorated .form-card__lead {
  margin-top: 8px;
  line-height: 1.8;
}
.form-card--decorated form {
  margin-top: 24px;
  padding: 22px;
  background: rgba(238, 244, 248, 0.62);
  border: 1px solid rgba(210, 223, 232, 0.9);
  border-radius: 14px;
}
.form-card--decorated .form-grid {
  margin-top: 0;
  gap: 16px;
}
.form-card--decorated .field__label {
  color: var(--navy-900);
}
.form-card--decorated .field input,
.form-card--decorated .field textarea,
.form-card--decorated .custom-select__trigger {
  background: rgba(255, 255, 255, 0.78);
  border-color: #d2dfe8;
}
.form-card--decorated .field input:hover,
.form-card--decorated .field textarea:hover,
.form-card--decorated .custom-select__trigger:hover {
  border-color: #9bbbd4;
}
.form-card--decorated .field textarea {
  min-height: 138px;
}
.form-card--decorated .btn[type="submit"] {
  background: linear-gradient(135deg, var(--red), #326488);
  box-shadow: 0 8px 18px rgba(37, 77, 112, 0.2);
}
.form-card--decorated .btn[type="submit"]:hover {
  background: linear-gradient(135deg, #1e4262, var(--red));
  transform: translateY(-1px);
}

/* Request page: keep the form focused instead of stretching across the viewport. */
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}
.page-request .form-card--decorated {
  max-width: 760px;
  justify-self: end;
  width: 100%;
}
.request-note {
  position: sticky;
  top: 112px;
  padding: 30px 26px;
  background: var(--navy-900);
  border: 1px solid rgba(159, 198, 228, 0.35);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(16, 29, 43, 0.12);
}
.request-note h2 {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(1.35rem, 1.1rem + 0.5vw, 1.8rem);
}
.request-note p {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.9;
}
.request-note .btn {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.page-request .field input.is-locked {
  background: #eaf2f7;
  color: var(--navy-900);
  font-weight: 600;
  cursor: not-allowed;
}
.request-corporate {
  padding-top: 0;
}
.request-corporate__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding: 34px 38px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(16, 29, 43, 0.12);
}
.request-corporate__inner h2 { margin-top: 8px; color: var(--white); }
.request-corporate__inner p { max-width: 850px; margin-top: 10px; color: rgba(255,255,255,.75); line-height: 1.9; }
.request-corporate__contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.request-corporate__contacts a { display: grid; gap: 3px; padding: 16px; border: 1px solid rgba(159,198,228,.28); border-radius: 12px; color: var(--white); }
.request-corporate__contacts a:hover { border-color: #9fc6e4; background: rgba(255,255,255,.06); }
.request-corporate__contacts span { color: #9fc6e4; font-size: 1.3rem; }
.request-corporate__contacts small { color: rgba(255,255,255,.62); }
.request-corporate__whatsapp { border-color: rgba(34,197,94,.5) !important; }
.request-corporate__whatsapp span { color: #35d477; }
.form-note {
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
}
.form-error {
  margin-top: 12px;
  color: var(--red-600);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0 8px;
  text-align: center;
}
.form-done svg {
  width: 56px;
  height: 56px;
  padding: 12px;
  background: rgba(43, 212, 107, 0.15);
  color: #1aa851;
  border-radius: 50%;
}
.form-done strong {
  font-size: var(--fs-lg);
  color: var(--navy-900);
}
.form-done p {
  color: var(--muted);
}

/* Tabs that swap form variants (individual / company) */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-top: 20px;
  background: var(--soft);
  border-radius: var(--radius);
}
.tabs button {
  flex: 1;
  min-height: 44px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.tabs button.is-active {
  background: var(--navy);
  color: var(--white);
}

/* ==========================================================================
   Cars listing
   ========================================================================== */
.listing {
  padding: 32px 0 96px;
  background: var(--soft);
}
.listing__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  overflow-y: auto;
  padding: 6px 22px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--navy) #edf2f6;
}
.filters::-webkit-scrollbar,
.fbrands::-webkit-scrollbar {
  width: 8px;
}
.filters::-webkit-scrollbar-track,
.fbrands::-webkit-scrollbar-track {
  background: #edf2f6;
  border-radius: 999px;
}
.filters::-webkit-scrollbar-thumb,
.fbrands::-webkit-scrollbar-thumb {
  background: var(--navy);
  border: 2px solid #edf2f6;
  border-radius: 999px;
}
.filters::-webkit-scrollbar-thumb:hover,
.fbrands::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}
.filters__head {
  display: none;
}
.filters__title {
  margin: 0;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--navy-900);
}
.fgroup {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.fgroup:last-of-type {
  border-bottom: 0;
}
.fgroup__title {
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-900);
}
.fsearch {
  position: relative;
}
.fsearch input {
  width: 100%;
  min-height: 46px;
  padding: 0 40px 0 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fsearch input:focus {
  border-color: var(--navy);
  outline: none;
}
.fsearch svg {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--muted);
}
.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fchip {
  min-height: 36px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fchip:hover {
  border-color: var(--navy);
}
.fchip.is-active {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white);
}
.fchip small {
  opacity: 0.6;
  margin-inline-start: 2px;
}
.fseg {
  display: flex;
  padding: 4px;
  margin-bottom: 12px;
  background: var(--soft);
  border-radius: var(--radius);
}
.fseg button {
  flex: 1;
  min-height: 34px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.fseg button.is-active {
  background: var(--navy);
  color: var(--white);
}
.fbrands {
  display: grid;
  gap: 2px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) transparent;
}
.fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--fs-sm);
}
.fbrand:hover {
  background: var(--soft);
}
.fbrand input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}
.fbrand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.fbrand span {
  flex: 1;
}
.fbrand small {
  color: var(--muted);
}

@media (min-width: 1081px) {
  .listing__layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
  }

  .filters {
    padding: 0 20px 22px;
    box-shadow: 0 14px 28px rgba(16, 29, 43, 0.04);
  }

  .fgroup {
    padding: 20px 0;
  }

  .fgroup__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    font-size: 0.9rem;
  }

  .fgroup__title::before {
    content: "";
    width: 3px;
    height: 16px;
    flex: 0 0 3px;
    background: var(--red);
    border-radius: 999px;
  }

  .fchips {
    gap: 8px;
  }

  .fchip {
    min-height: 40px;
    background: #f8fafc;
    border-color: #dfe7ee;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s ease;
  }

  .fchip:hover {
    border-color: var(--navy);
    transform: translateY(-1px);
  }

  .fbrand {
    padding: 9px 10px;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .fbrand:hover {
    background: #f5f8fb;
  }
}

.filters__reset {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  background: none;
  border: 1px dashed #c9d0dc;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.filters__reset:hover {
  border-color: var(--red);
  color: var(--red);
}

.results__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 1081px) {
  .results__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 48px;
  }

  .results__count {
    min-width: 0;
    margin: 0;
  }

  .results__tools {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .results__sort select {
    width: 188px;
  }
}
.results__count {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.results__count span {
  color: var(--red);
}
.results__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results__view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.results__view-btn {
  min-width: 64px;
  min-height: 34px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.results__view-btn.is-active {
  background: var(--navy);
  color: var(--white);
}
.results__sort select {
  min-height: 44px;
  padding: 0 14px 0 36px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235d6779'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E")
    no-repeat left 10px center / 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.filters__open {
  display: none;
}
.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.active-tags:empty {
  display: none;
}
.atag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}
.atag::after {
  content: "×";
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
}
.atag:hover {
  border-color: var(--red);
}

.brand-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.brand-banner[hidden] {
  display: none;
}
.brand-banner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand-banner h2 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-900);
}
.brand-banner p {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.brand-banner a {
  margin-inline-start: auto;
}

.listing .cars {
  gap: 20px;
}
.listing .cars.is-list {
  grid-template-columns: 1fr;
}
.listing .cars.is-list .car {
  min-height: 220px;
  aspect-ratio: auto;
}
.listing .cars.is-list .car__top,
.listing .cars.is-list .car__bottom {
  align-items: flex-start;
}
.listing .cars.is-list .car__bottom {
  width: 100%;
}
.listing .cars.is-list .car__actions {
  width: 100%;
  justify-content: flex-end;
}
.listing .cars.is-list .car__actions .btn {
  min-width: 132px;
}
.empty {
  grid-column: 1 / -1;
  padding: 64px 24px;
  background: var(--white);
  border: 1px dashed #c9d0dc;
  border-radius: var(--radius-lg);
  text-align: center;
}
.empty strong {
  display: block;
  font-size: var(--fs-lg);
  color: var(--navy-900);
}
.empty p {
  margin: 6px 0 20px;
  color: var(--muted);
}

/* Card extras: old price + monthly installment */
.car__price-label s {
  opacity: 0.75;
  margin-inline-end: 4px;
}
.car__monthly {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Brands
   ========================================================================== */
.origins {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.origin {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}
.origin img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.origin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(11, 17, 30, 0.9),
    rgba(11, 17, 30, 0.1) 70%
  );
}
.origin:hover img {
  transform: scale(1.06);
}
.origin strong {
  font-size: var(--fs-lg);
  line-height: 1.3;
}
.origin span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.brand-tabs {
  margin-bottom: 24px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.btile a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}
.btile a:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.btile img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.btile div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.btile strong {
  font-size: var(--fs-md);
  color: var(--navy-900);
}
.btile span {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.btile em {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}
.btile[hidden] {
  display: none;
}

/* ==========================================================================
   Offers
   ========================================================================== */
.deals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.deal__big {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}
.deal__big small {
  font-size: 0.4em;
  color: var(--navy-900);
}
.deal h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-900);
}
.deal p {
  color: var(--muted);
  font-size: var(--fs-sm);
  flex: 1;
}
.deal .link-more {
  margin-top: 6px;
}
.deal--dark {
  background: var(--navy-950);
  border-color: var(--navy-950);
}
.deal--dark h3 {
  color: var(--white);
}
.deal--dark .deal__big {
  color: #9fc6e4;
}
.deal--dark .deal__big small {
  color: var(--white);
}
.deal--dark p {
  color: rgba(255, 255, 255, 0.7);
}
.deal--dark .link-more {
  color: #a9cde7;
}
.deal--dark .link-more:hover {
  color: #d8eaf7;
}

/* Auction page */
.auction__status {
  align-self: center;
  padding: 8px 14px;
  background: #eaf2f7;
  border: 1px solid #d6e4ed;
  border-radius: 999px;
  color: var(--red);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.auction__cover {
	z-index: 0;
  object-position: center center;
}
.phead--auction::before {
	z-index: 1;
}
.phead--auction > .container {
	position: relative;
	z-index: 2;
}
.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.auction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(16, 29, 43, 0.06);
}
.auction-card__plate {
  display: block;
  width: 100%;
  height: auto;
  min-height: 112px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 8px;
  background: #f3f6f8;
  border: 1px solid #c8d5de;
  border-radius: 12px;
}
.auction-card__state {
  align-self: flex-start;
  padding: 5px 10px;
  background: #e8f5ed;
  border-radius: 999px;
  color: #168447;
  font-size: var(--fs-xs);
  font-weight: 700;
}
.auction-card h3 { margin-top: 16px; font-size: var(--fs-md); color: var(--navy-900); }
.auction-card p { margin-top: 6px; min-height: 44px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; }
.auction-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.auction-card__price small { color: var(--muted); }
.auction-card__price strong { color: var(--red); font-size: 1.35rem; }
.auction-card .btn { margin-top: auto; }

/* ==========================================================================
   Financing
   ========================================================================== */
.reqs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.req-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.req-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.req-card h3 svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  background: rgba(37, 77, 112, 0.1);
  color: var(--red);
  border-radius: 50%;
}
.req-card ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.req-card li {
  display: flex;
  gap: 8px;
}
.req-card li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  background: var(--red);
  border-radius: 50%;
}
.apply {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.apply__info .steps {
  margin-top: 28px;
}
.banks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.banks li {
  display: grid;
  place-items: center;
  height: 88px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.banks img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Services
   ========================================================================== */
.ptable-wrap {
  overflow-x: auto;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.ptable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.ptable caption {
  padding: 18px 20px 4px;
  text-align: start;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.ptable th,
.ptable td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.ptable th:first-child,
.ptable td:first-child {
  text-align: start;
}
.ptable thead th {
  font-weight: 700;
  color: var(--navy-900);
}
.ptable thead th.is-featured {
  color: var(--red);
}
.ptable tbody tr:last-child td {
  border-bottom: 0;
}
.yes {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.4-1.4z'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  border-radius: 50%;
  vertical-align: middle;
}
.no {
  color: #b3bac6;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split--rev .split__media {
  order: 2;
}
.ticks {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.4-1.4z'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  border-radius: 50%;
}
.split .btn {
  margin-top: 28px;
}

/* Call-to-action band */
.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to left,
    rgba(11, 17, 30, 0.95) 35%,
    rgba(11, 17, 30, 0.4)
  );
}
.cta-band h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.3;
}
.cta-band p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Corporate / About — feature grids
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px 22px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 77, 112, 0.22);
  box-shadow: 0 20px 40px rgba(17, 26, 44, 0.08);
}
.feature svg {
  width: 52px;
  height: 52px;
  padding: 12px;
  background: linear-gradient(135deg, var(--navy-950) 0%, #1d3860 100%);
  color: var(--white);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.feature h3 {
  margin-top: 18px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.feature p {
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.9;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s ease;
}
.process li:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 77, 112, 0.22);
  box-shadow: 0 18px 36px rgba(17, 26, 44, 0.07);
}
.process li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -12px;
  inset-inline-start: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-950) 0%, #1d3860 100%);
  color: var(--white);
  border: 4px solid var(--soft);
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(17, 26, 44, 0.1);
}
.process li:last-child::after {
  display: none;
}
.process h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
  padding-top: 10px;
}
.process p {
  margin-top: 2px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.9;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.numbers li {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.numbers strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-900);
}
.numbers span {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.gallery-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.page-contact .phead__body {
  max-width: 820px;
}
.page-contact .phead__lead {
  max-width: 620px;
}
.ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.way {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 206px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
a.way:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.way svg {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  padding: 10px;
  background: rgba(37, 77, 112, 0.1);
  color: var(--red);
  border-radius: 50%;
}
.way--wa svg {
  background: rgba(47, 158, 104, 0.12);
  color: #2f8f61;
}
.way span {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.way strong {
  font-size: var(--fs-md);
  color: var(--navy-900);
  word-break: break-word;
}
.map-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.map-card dl {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
}
.map-card dt {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.map-card dd {
  font-weight: 600;
  color: var(--navy-900);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 24px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--soft);
  border-radius: 50%;
  color: var(--navy-900);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.socials a:hover {
  background: var(--navy-950);
  color: var(--white);
}
.socials svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 4px;
}
.faq-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--muted);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.faq-nav a:hover,
.faq-nav a.is-active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow);
}
.faq-group + .faq-group {
  margin-top: 40px;
}
.faq-group h2 {
  margin-bottom: 14px;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-900);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.qa {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.qa + .qa {
  margin-top: 10px;
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--soft);
  border-radius: 50%;
  font-size: 1.25rem;
  transition:
    transform 0.3s var(--ease),
    background-color 0.2s;
}
.qa[open] summary::after {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}
.qa p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* ==========================================================================
   Guide (blog) + article
   ========================================================================== */
.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-list .post__media {
  aspect-ratio: 16 / 10;
}
.guide-list .post[hidden] {
  display: none;
}
.guide-top {
  margin-bottom: 40px;
}
.guide-top .post__link {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}
.guide-top .post__media {
  aspect-ratio: auto;
  min-height: 340px;
}
.guide-top .post__body {
  justify-content: center;
  padding: 36px;
}
.guide-top .post__title {
  font-size: var(--fs-xl);
}
.guide-filter {
  margin-bottom: 24px;
}

.article {
  padding: 40px 0 96px;
}
.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.article__hero {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article__hero img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.prose {
  font-size: var(--fs-md);
  line-height: 1.95;
  color: #2a3242;
}
.prose > * + * {
  margin-top: 1em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-900);
}
.prose h3 {
  margin-top: 1.4em;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.prose ul {
  display: grid;
  gap: 6px;
  padding-inline-start: 1.2em;
  list-style: disc;
}
.prose ol {
  display: grid;
  gap: 6px;
  padding-inline-start: 1.2em;
  list-style: decimal;
}
.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  background: var(--soft);
  border-inline-start: 4px solid var(--red);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy-900);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: start;
}
.prose th {
  background: var(--soft);
  color: var(--navy-900);
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}
.side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
}
.side-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.side-card h2 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}
.side-card p {
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.side-card .btn {
  margin-top: 16px;
}
.side-card--dark {
  background: var(--navy-950);
  border-color: var(--navy-950);
}
.side-card--dark h2 {
  color: var(--white);
}
.side-card--dark p {
  color: rgba(255, 255, 255, 0.7);
}
.mini-cars {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.mini-car {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mini-car img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius);
}
.mini-car strong {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--navy-900);
}
.mini-car span {
  font-size: var(--fs-xs);
  color: var(--red);
  font-weight: 600;
}
.mini-car:hover strong {
  color: var(--red);
}
.share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy-900);
}

/* Legal pages */
.legal {
  padding: 56px 0 96px;
}
.legal .prose {
  max-width: 820px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .banks {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1080px) {
  .listing__layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 80;
    width: min(380px, 92vw);
    max-height: none;
    border-radius: 0;
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
  }
  .filters.is-open {
    transform: none;
    box-shadow: var(--shadow-lg);
  }
  .filters__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -22px;
    padding: 14px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    color: var(--navy-900);
  }
  .filters__close {
    width: 40px;
    height: 40px;
    background: var(--soft);
    border: 0;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
  }
  .filters__apply {
    position: sticky;
    bottom: 0;
    margin: 12px -22px -22px;
    padding: 12px 22px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .filters-scrim {
    position: fixed;
    inset: 0;
    z-index: 79;
    background: rgba(11, 17, 30, 0.55);
  }
  .filters__open {
    display: inline-flex;
  }
  .origins {
    grid-template-columns: repeat(2, 1fr);
  }
  .deals,
  .reqs {
    grid-template-columns: 1fr 1fr;
  }
  .apply,
  .split,
  .two-col,
  .article__layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split--rev .split__media {
    order: 0;
  }
  .side {
    position: static;
  }
  .faq-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  .features,
  .numbers,
  .ways {
    grid-template-columns: 1fr 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .guide-list {
    grid-template-columns: 1fr 1fr;
  }
  .guide-top .post__link {
    grid-template-columns: 1fr;
  }
  .guide-top .post__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}
@media (min-width: 1081px) {
  .filters__apply,
  .filters-scrim {
    display: none;
  }
}
@media (max-width: 720px) {
  .page-contact .phead {
    padding-bottom: 42px;
  }
  .page-contact .phead__title {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.45;
  }
  .page-contact .phead__lead {
    max-width: 32rem;
  }
  .phead {
    padding: 24px 0 48px;
  }
  .phead__body {
    margin-top: 24px;
  }
  .listing {
    padding-top: 20px;
  }
  .listing .cars {
    grid-template-columns: 1fr;
  }
  .brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .btile a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .origins {
    gap: 10px;
  }
  .origin {
    min-height: 160px;
    padding: 16px;
  }
  .deals,
  .reqs,
  .features,
  .numbers,
  .guide-list {
    grid-template-columns: 1fr;
  }
  .ways {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: -28px;
  }
  .auction-grid { grid-template-columns: 1fr; gap: 14px; }
  .auction-card { padding: 18px; }
  .auction__status { font-size: var(--fs-xs); }
  .way {
    padding: 16px;
    min-height: 164px;
    justify-content: flex-start;
  }
  .banks {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .banks li {
    height: 70px;
    padding: 10px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .form-card--decorated {
    padding: 28px 18px 22px;
    border-radius: 16px;
  }
  .form-card--decorated form {
    margin-top: 20px;
    padding: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 32px 24px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-strip img {
    height: 180px;
  }
  .gallery-strip img:first-child {
    grid-column: 1 / -1;
  }
  .guide-top .post__body {
    padding: 22px;
  }
  .brand-banner {
    flex-wrap: wrap;
    gap: 12px 14px;
    padding: 14px 16px;
  }
  .brand-banner img {
    width: 44px;
    height: 44px;
  }
  .brand-banner div {
    flex: 1;
    min-width: 0;
  }
  .brand-banner h2 {
    font-size: var(--fs-md);
  }
  .brand-banner a {
    margin-inline-start: 0;
  }
}
