@import url("./chinaauto2uz-preview-06.css");

.hero.v7 {
  min-height: 940px;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(1328px, calc(100vw - 112px));
  margin: 18px 56px 0;
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 16px;
}

.search-panel,
.usage-panel {
  background: rgba(255,250,242,.92);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(82,55,35,.12);
  backdrop-filter: blur(18px);
}

.search-panel {
  padding: 22px;
}

.search-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.search-title b {
  font-size: 17px;
}

.search-title span {
  color: var(--muted);
  font-size: 12px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 10px;
}

.search-cell {
  min-height: 56px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(65,43,29,.12);
  background: linear-gradient(180deg, #fffdf8, #f6e8d4);
}

.search-cell small {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.search-cell b {
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
}

.usage-panel {
  padding: 22px;
}

.usage-panel h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.usage-list {
  display: grid;
  gap: 8px;
}

.usage-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.usage-list b {
  color: var(--ink);
}

.category-rail {
  position: relative;
  z-index: 2;
  width: min(1328px, calc(100vw - 112px));
  margin: 36px 56px 0;
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  border: 1px solid rgba(65,43,29,.12);
  background: rgba(255,250,242,.86);
  box-shadow: 0 20px 70px rgba(82,55,35,.11);
  backdrop-filter: blur(18px);
}

.category-rail a {
  min-height: 74px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  background: rgba(255,253,248,.58);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.category-rail a:hover,
.category-rail a.active {
  transform: translateY(-3px);
  border-color: rgba(170,123,66,.36);
  background: #fffdf8;
}

.category-rail b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}

.category-rail small {
  color: var(--muted);
  font-size: 11px;
}

.matrix-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}

.brand-sidebar,
.series-panel,
.availability-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f7ead8);
  box-shadow: var(--shadow);
}

.brand-sidebar {
  position: sticky;
  top: 110px;
  padding: 14px;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(65,43,29,.1);
  color: var(--muted);
  font-weight: 650;
}

.brand-item.active {
  color: #fff;
  background: linear-gradient(180deg, #8b6546, #3a261a);
  border-bottom-color: transparent;
}

.brand-item span {
  font-size: 12px;
  font-weight: 500;
}

.series-panel {
  padding: 26px;
}

.series-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.series-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1;
  font-weight: 400;
}

.series-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.series-card {
  min-height: 154px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(65,43,29,.12);
  background: rgba(255,250,242,.82);
  transition: transform .25s ease, box-shadow .25s ease;
}

.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(82,55,35,.12);
}

.series-card h3 {
  margin: 0;
  font-size: 22px;
}

.series-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.series-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.brand-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 28px;
  align-items: stretch;
}

.brand-hero .copy-block {
  min-height: auto;
  justify-content: center;
}

.brand-visual {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd;
  box-shadow: var(--shadow);
}

.model-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.model-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f7ead8);
}

.model-thumb {
  height: 112px;
  overflow: hidden;
  background: #ddd;
}

.model-row h3 {
  margin: 0;
  font-size: 24px;
}

.model-row p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.model-state {
  min-width: 170px;
  text-align: right;
}

.model-state b {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
}

.availability-panel {
  padding: 32px;
}

.home-proof {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
}

.proof-copy {
  min-height: 520px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f7ead8);
  box-shadow: var(--shadow);
}

.proof-copy h2,
.brand-teaser h2,
.home-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  font-weight: 400;
}

.proof-copy p,
.brand-teaser p,
.home-cta p {
  color: var(--muted);
  line-height: 1.72;
}

.proof-image {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd;
  box-shadow: var(--shadow);
}

.proof-image img {
  object-position: left center;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.home-metric {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(65,43,29,.12);
  background: rgba(255,250,242,.74);
}

.home-metric b {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.home-metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.brand-teaser {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 28px;
  align-items: start;
}

.brand-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.brand-cloud a {
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f7ead8);
  box-shadow: 0 16px 44px rgba(82,55,35,.08);
}

.brand-cloud b {
  font-size: 22px;
}

.brand-cloud span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.home-vehicle-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-car {
  min-height: 390px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8, #f7ead8);
  box-shadow: var(--shadow);
}

.home-car .photo {
  height: 220px;
  overflow: hidden;
}

.home-car .body {
  padding: 20px;
}

.home-car h3 {
  margin: 0;
  font-size: 22px;
}

.home-car p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-cta {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43,28,20,.98), rgba(111,76,50,.96)),
    radial-gradient(circle at 92% 0, rgba(255,250,242,.16), transparent 30%);
  box-shadow: 0 30px 80px rgba(82,55,35,.18);
}

.home-cta p {
  color: rgba(255,255,255,.78);
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.request-field {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(65,43,29,.12);
  background: rgba(255,250,242,.82);
}

.request-field small {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.request-field b {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero.v7 { min-height: auto; }
  .hero-panel,
  .category-rail {
    width: auto;
    margin-left: 24px;
    margin-right: 24px;
    grid-template-columns: 1fr;
  }
  .search-grid,
  .matrix-shell,
  .brand-hero,
  .home-proof,
  .brand-teaser,
  .home-cta,
  .model-row,
  .request-grid {
    grid-template-columns: 1fr;
  }
  .category-rail {
    gap: 0;
    padding: 0;
  }
  .category-rail a {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }
  .brand-sidebar {
    position: static;
  }
  .series-grid {
    grid-template-columns: 1fr;
  }
  .home-metrics,
  .brand-cloud,
  .home-vehicle-strip {
    grid-template-columns: 1fr;
  }
  .proof-copy,
  .proof-image {
    min-height: auto;
  }
  .proof-image {
    height: 300px;
  }
  .series-head {
    grid-template-columns: 1fr;
  }
  .brand-visual {
    min-height: 240px;
  }
  .model-state {
    text-align: left;
  }
}
