/* Home — match 首页.png at the 1586px desktop artboard width */

body[data-page="home"] {
  --header-h: 62px;
  --blue: #0051e8;
  --blue-dark: #003fba;
}

.home-hero {
 position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-h));
  min-height: 680px;
  background: transparent;
  overflow: hidden;
}

/* Left copy overlays visual; form stays ~438px */
.home-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 24px 0 24px 82px;
  box-sizing: border-box;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-bottom: 24px;
}

.home-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero__title {
  margin: 0;
  max-width: 570px;
  font-size: 82px;
  font-weight: 800;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.home-hero__title-line {
  display: block;
  white-space: nowrap;
}

.home-hero__title-line--blue {
  color: var(--blue);
}

.home-hero__lead {
  margin: 16px 0 0;
  max-width: 480px;
  color: #2a3140;
  font-size: 14px;
  line-height: 1.55;
}

/* Benefits: icon starts ~210–225px apart on 1586 artboard */
.home-benefits {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin: 12px 0 6px;
  max-width: 560px;
}

.home-benefits__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.home-benefits__icon {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.home-benefits__svg {
  display: none;
}

.home-benefits__item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-benefits__item span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-style: italic;
  line-height: 1.35;
  color: var(--gray-600);
}

.home-offer {
  width: min(100%, 438px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 21, 31, 0.1);
  border: 1px solid #e6ebf3;
  padding: 14px 16px 16px;
}

.home-offer .tabs {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  margin-bottom: 12px;
}

.home-offer .tab {
  min-height: 40px;
  gap: 8px;
  font-size: 11px;
  border-radius: 8px;
}

.home-offer .tab__icon {
  width: 18px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-offer .tab.is-active .tab__icon {
  filter: brightness(0) invert(1);
}

.home-offer .field + .field {
  margin-top: 10px;
}

.home-offer .field__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.home-offer .field__icon img {
  width: 20px;
  height: 18px;
  object-fit: contain;
}

.home-offer .field--vin input {
  border-color: #e11d2e;
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.15);
}

.home-offer .btn {
  margin-top: 12px;
  border-radius: 8px;
  min-height: 50px;
}

.home-offer__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--gray-600);
}

.home-offer__trust-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Visual aligns to artboard fade (~x820 on 1586) */
.home-hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: max(480px, calc(50% - 200px));
  margin: 0;
  pointer-events: none;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: clamp(120px, 18%, 220px);
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

/* Models: title + underline left, cars right */
.home-models {
  padding: 8px 0 28px;
  background: #f7f7f7;
}

.home-models__gallery {
  display: flex;
  /* align-items: center; */
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0 14px 14px;
  background: #FFFFFF;
}

.home-models__intro {
  flex: 0 0 auto;
  padding-right: 8px;
}

.home-models__title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  color: #1a3673;
  font-size: 17px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.home-models__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 1px;
  background: #d8d8d8;
}

.model-row {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: transparent;
}

.model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid #e0e0e0;
  background: transparent;
  min-height: auto;
  border-radius: 0;
}

.model-card:last-child {
  border-right: none;
}

.model-card__img {
  width: 100%;
  height: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.model-card strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
}

.home-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
  background: var(--white);
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  padding: 16px 6px;
  box-shadow: 0 4px 16px rgba(16, 21, 31, 0.04);
}

.home-points article {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 14px;
  border-right: 1px solid #e8edf5;
}

.home-points article:last-child {
  border-right: none;
}

.point-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.home-points h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.home-points p {
  margin: 0;
  font-size: 12px;
  color: #5a6275;
  line-height: 1.45;
  padding-right: 60px;
}

.home-hero__promo {
  position: absolute;
  top: 48px;
  right: 48px;
  z-index: 3;
  width: 260px;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(16, 21, 31, 0.18));
}

.home-hero__promo-top {
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 12px;
  transform: skewX(-10deg);
}

.home-hero__promo-mid {
  background: var(--yellow);
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  text-align: center;
  padding: 12px 10px;
  transform: skewX(-10deg);
  margin-top: 2px;
}

.home-hero__bolt {
  display: inline-block;
  transform: skewX(10deg);
  margin-right: 4px;
}

.home-hero__promo-bot {
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 12px;
  transform: skewX(-10deg);
  margin-top: 2px;
}

.home-hero__trustbar {
  position: relative;
  z-index: 4;
  background: rgba(16, 21, 31, 0.88);
  color: var(--white);
  margin-top: -56px;
}

.home-hero__trustbar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.home-hero__trustbar .trust-item {
  color: var(--white);
}

.home-hero__trustbar .icon-circle {
  background: rgba(7, 91, 255, 0.25);
  color: #9ec0ff;
}

.home-ready {
  padding: 10px 0 0;
  background: var(--white);
}

.home-ready__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) auto minmax(220px, 0.85fr);
  gap: 20px 28px;
  align-items: center;
  min-height: 198px;
}

.home-ready__copy {
  min-width: 0;
  padding: 28px 0 22px;
}

.home-ready__copy h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}

.home-ready__copy .accent {
  color: var(--blue);
}

.home-ready__copy > p {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.5;
  max-width: 420px;
}

.home-ready__perks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
}

.home-ready__perks > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.home-ready__perk-split {
  width: 1px;
  height: 18px;
  margin: 0 4px;
  background: #d7dde7;
  flex: 0 0 auto;
}

.home-ready__perks img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.home-ready__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

.home-ready__btn {
  width: auto;
  min-width: 210px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.home-ready__btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.home-ready__cta .form-note {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
}

.home-ready__media {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.home-ready__media img {
  width: 100%;
  height: 198px;
  border-radius: 0;
  object-fit: cover;
  object-position: 70% center;
  max-height: none;
  display: block;
}

@media (max-width: 900px) {
 .home-hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .home-hero__visual {
    position: relative;
    order: -1;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 360px;
    margin: 0;
  }
  
  .home-hero__visual::before {
    display: none;
  }

  .home-hero__img {
    position: relative;
    width: 100%;
    height: 360px;
  }
  .home-hero__inner {
    height: auto;
    flex: none;
    align-items: stretch;
    padding: 12px 0 24px 8px;
  }

  .home-hero__copy {
    max-width: none;
  }

  .home-hero__title {
    font-size: clamp(36px, 10vw, 52px);
    max-width: none;
  }

  .home-hero__title-line {
    white-space: normal;
  }

  .home-benefits {
    flex-wrap: wrap;
    gap: 14px 20px;
    max-width: none;
  }

  .home-benefits__item {
    flex: 1 1 140px;
  }

  .home-offer {
    width: 100%;
  }

  .home-hero__visual {
    position: relative;
    min-height: 360px;
    margin-right: 0;
    order: -1;
    inset: auto;
  }

  .home-hero__img {
    position: relative;
    width: 100%;
    height: 360px;
  }

  .home-hero__promo {
    top: 24px;
    right: 24px;
    width: 200px;
  }

  .home-hero__trustbar {
    margin-top: 0;
  }

  .home-ready__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-ready__copy {
    padding: 20px 0 0;
  }

  .home-ready__cta {
    align-items: flex-start;
    order: 1;
  }

  .home-ready__cta .form-note {
    text-align: left;
  }

  .home-ready__media {
    max-width: none;
    order: -1;
  }

  .home-ready__perk-split {
    display: none;
  }

  .home-models__gallery {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .home-models__intro {
    flex-basis: auto;
    max-width: none;
    min-width: 0;
  }

  .home-models__title {
    white-space: normal;
  }

  .home-points,
  .model-row {
    grid-template-columns: 1fr 1fr;
  }

  .model-card:nth-child(2n) {
    border-right: none;
  }
}