:root {
  --ink: #172025;
  --muted: #667176;
  --paper: #fff;
  --bg: #f5f6f5;
  --line: #dfe4e2;
  --accent: #c83228;
  --soft: #fff0ed;
  --radius: 18px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #145cd8;
  outline-offset: 4px;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 750;
}
h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
}
h3 {
  font-size: 22px;
}
p {
  color: var(--muted);
}
.wrap {
  max-width: 1320px;
  margin: auto;
  padding-left: 40px;
  padding-right: 40px;
}
.local-strip {
  text-align: center;
  background: #f6ece8;
  color: #713a28;
  font-size: 12px;
  padding: 7px 16px;
  border-bottom: 1px solid #ecd9d0;
}
.header {
  max-width: 1400px;
  margin: auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 11px;
  font-size: 27px;
  font-style: italic;
  position: relative;
}
.brand-symbol span {
  position: absolute;
  right: -6px;
  top: -12px;
  background: white;
  color: var(--accent);
  font-size: 19px;
}
.accent {
  color: var(--accent);
}
.header nav {
  display: flex;
  gap: 25px;
  margin: auto;
  font-size: 14px;
  font-weight: 650;
}
.header nav a {
  padding: 8px 0;
}
.header nav a:hover,
.header nav a[aria-current] {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  white-space: normal;
  text-align: center;
}
.btn:hover {
  filter: brightness(0.94);
}
.btn.small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
}
.btn.secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn.wide {
  width: 100%;
  margin-top: 15px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 20px;
  color: var(--ink);
}
.icon-btn span {
  font-size: 10px;
}
.icon-btn[aria-pressed="true"],
.btn[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
}
.text-button {
  background: none;
  color: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  min-height: 44px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding-top: 64px;
  padding-bottom: 52px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.4vw, 63px);
  margin: 22px 0;
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.hero-copy h1 span {
  color: var(--accent);
}
.hero-copy > p {
  max-width: 450px;
  font-size: 17px;
  line-height: 1.65;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.red-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 100%;
  margin-right: 8px;
}
.actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 31px;
}
.hero-visual {
  position: relative;
  background: #e9ece9;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1.04;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-visual > a {
  position: absolute;
  inset: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: relative;
  background: linear-gradient(0deg, #0b171af2, #12212800);
  color: white;
  padding: 100px 26px 23px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.hero-caption h2 {
  font-size: 28px;
  margin: 10px 0;
}
.hero-caption p,
.hero-caption .eyebrow {
  color: #e4e8e7;
  margin: 0;
}
.round {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--ink);
  border-radius: 100%;
  font-size: 28px;
}
.search-panel {
  padding-top: 20px;
  padding-bottom: 32px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 10px 10px 22px;
  box-shadow: 0 6px 25px #13262808;
  background: white;
}
.search-form > span {
  font-size: 29px;
}
.search-form input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  padding: 12px;
  background: transparent;
  font-size: 16px;
}
.chips {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
}
.chips > span {
  color: var(--muted);
  padding-right: 10px;
}
.chips > a,
.active-filters > span {
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 100px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.chips > a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.section {
  padding-top: 54px;
  padding-bottom: 54px;
}
.section-head {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.section-head h2 {
  max-width: 750px;
  margin: 10px 0 0;
}
.section-head h1 {
  margin: 12px 0 0;
}
.section-head > p {
  max-width: 350px;
}
.grid {
  display: grid;
  gap: 23px;
}
.grid.cars,
.grid.branches,
.grid.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.car-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s;
  background: #fff;
  min-width: 0;
}
.car-card:hover {
  border-color: #a4afaa;
}
.car-photo {
  display: block;
  aspect-ratio: 1.5;
  position: relative;
  overflow: hidden;
  background: #edf0ee;
}
.car-photo img {
  width: 100%;
  height: 100%;
}
.badge {
  font-size: 10px;
  font-weight: 750;
  background: #fff9e6;
  color: #745300;
  border-radius: 7px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
}
.car-photo .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
}
.badge.sold {
  background: #eceeed;
  color: #555;
}
.car-content {
  padding: 20px;
}
.car-content h3 {
  font-size: 21px;
  margin: 8px 0 12px;
}
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.car-bottom {
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}
.car-bottom > div {
  flex: 1;
}
.price {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
}
.car-bottom small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.no-photo {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #edf0ee;
  color: #67736c;
  font-size: 15px;
}
.no-photo span {
  font-size: 28px;
  font-weight: 800;
}
.notice {
  padding: 13px 17px;
  background: #fff6e6;
  border: 1px solid #f2e1bb;
  border-radius: 10px;
  color: #76591c;
  font-size: 13px;
  line-height: 1.6;
}
.dark-section {
  background: #172928;
  color: #fff;
  margin: 38px 0 0;
  padding: 70px 0;
}
.dark-section .eyebrow {
  color: #d8e3de;
}
.dark-section p {
  color: #b9c7c2;
}
.steps {
  margin-top: 45px;
}
.steps article {
  border-top: 1px solid #4b6059;
  padding: 24px 0;
}
.steps article > span {
  color: #f99b80;
  font-size: 14px;
}
.steps h3 {
  margin-top: 18px;
  font-size: 23px;
}
.steps p {
  font-size: 14px;
  max-width: 320px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 70px;
}
.split p {
  max-width: 430px;
}
.video-promo {
  background: #eaece9;
  min-height: 260px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 35px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.video-promo:after {
  content: "AP";
  font-size: 210px;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  right: -25px;
  bottom: -35px;
  color: #d9dfd9;
  transform: rotate(-12deg);
  z-index: 0;
}
.video-promo > * {
  position: relative;
  z-index: 1;
}
.play {
  width: 57px;
  height: 57px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: white;
  border-radius: 100%;
  font-size: 29px;
  margin-bottom: 25px;
}
.video-promo strong {
  font-size: 11px;
  letter-spacing: 0.15em;
}
.video-promo p {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 15px 0;
}
.branch-card {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 15px;
  background: #fafbf9;
}
.branch-card h3 {
  font-size: 26px;
  margin: 20px 0 14px;
}
.branch-card p {
  font-size: 14px;
}
.branch-card a {
  display: block;
}
.branch-card .muted {
  font-size: 12px;
}
.cta {
  background: #f1f3ef;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding-top: 35px;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 65px;
}
.cta h2 {
  font-size: 29px;
  margin: 10px 0;
}
.cta p {
  margin-bottom: 0;
  font-size: 14px;
}
footer {
  background: #f7f8f5;
  border-top: 1px solid var(--line);
  padding: 50px max(30px, calc((100vw - 1240px) / 2)) 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 35px;
}
.footer-grid p {
  font-size: 14px;
  margin-top: 17px;
}
.footer-grid b {
  font-size: 13px;
  display: block;
  margin-bottom: 14px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
  min-height: 32px;
}
.footer-grid button {
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.bottom-nav {
  display: none;
}
.consent {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 20px;
  max-width: 1240px;
  margin: auto;
  background: white;
  z-index: 30;
  border: 1px solid var(--line);
  box-shadow: 0 10px 70px #10211833;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.consent[hidden] {
  display: none;
}
.consent b {
  font-size: 15px;
}
.consent p {
  font-size: 12px;
  margin: 5px 0 8px;
  max-width: 550px;
}
.consent label {
  font-size: 12px;
  margin-right: 15px;
}
.consent .actions {
  gap: 7px;
  flex-shrink: 0;
}
.consent .btn {
  font-size: 11px;
  padding: 10px;
  min-height: 44px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: white;
  padding: 12px;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
}
.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 650;
  gap: 7px;
  margin-bottom: 16px;
}
.field input,
.field select,
.field textarea {
  padding: 11px 12px;
  border: 1px solid #cad2cd;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
.field textarea {
  resize: vertical;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.filters .btn {
  width: 100%;
}
.filters .text-link {
  margin-top: 10px;
}
.filters h2 {
  font-size: 20px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 35px 0;
  font-size: 13px;
}
.active-filters {
  margin: 0 0 20px;
}
.active-filters > span {
  font-size: 11px;
  padding: 5px 10px;
}
.empty {
  text-align: center;
  padding: 50px 20px;
  grid-column: 1/-1;
  background: var(--bg);
  border-radius: 15px;
}
.empty h2 {
  font-size: 25px;
}
.vdp-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
.gallery {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1.5;
  background: var(--bg);
}
.gallery img {
  width: 100%;
  height: 100%;
}
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow: auto;
}
.thumbs button {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  min-width: 90px;
  max-width: 120px;
}
.thumbs img {
  width: 100%;
  height: 80px;
}
.vdp-info h1 {
  font-size: 36px;
  margin: 17px 0;
}
.vdp-info > p {
  font-size: 14px;
}
.price.large {
  font-size: 42px;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin: 20px 0;
}
.spec-grid span,
.spec-grid strong {
  display: block;
  font-size: 12px;
}
.spec-grid span {
  color: var(--muted);
  margin-bottom: 5px;
}
.content-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin: 50px 0;
}
.prose {
  max-width: 850px;
}
.prose h2 {
  font-size: 29px;
  margin-top: 32px;
}
.prose p,
.prose li {
  line-height: 1.8;
}
.source-description {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  margin: 20px 0;
}
.check input {
  min-width: 18px;
  height: 18px;
}
.lead-form > p {
  font-size: 12px;
}
.honeypot {
  display: none;
}
#toast {
  position: fixed;
  right: 25px;
  bottom: 30px;
  background: #17392b;
  color: white;
  border-radius: 10px;
  padding: 12px 22px;
  z-index: 50;
  font-size: 14px;
}
#toast:empty {
  display: none;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.video-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.video-card > div {
  padding: 20px;
}
.video-card h3 {
  font-size: 19px;
  margin: 10px 0;
}
.video-card p {
  font-size: 12px;
}
.video-card small {
  font-size: 10px;
  color: var(--muted);
}
.video-poster {
  aspect-ratio: 1.65;
  background: #e8ece8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.video-poster .play {
  margin: 0 0 12px;
}
.video-poster > span:last-child {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.player {
  aspect-ratio: 16/9;
  background: #172928;
  color: white;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 25px 0;
  text-align: center;
  padding: 20px;
}
.player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.player p {
  color: #d3dcd6;
}
.player.loaded {
  padding: 0;
}
.admin-nav {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-bottom: 30px;
  padding: 10px 0;
}
.admin-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  font-size: 13px;
  min-height: 44px;
}
.admin-nav a:hover {
  background: var(--bg);
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
}
.admin-heading h1 {
  font-size: 38px;
  margin: 10px 0;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th,
.data-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  color: var(--muted);
  font-size: 11px;
}
.data-table a {
  color: #b42c24;
  text-decoration: underline;
}
.data-table td p {
  font-size: 11px;
  max-width: 350px;
  margin: 7px 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.stats article {
  padding: 24px;
  background: var(--bg);
  border-radius: 13px;
}
.stats b {
  display: block;
  font-size: 30px;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.admin-editor {
  max-width: 900px;
}
.admin-editor .actions {
  margin: 25px 0;
}
.admin-editor textarea {
  min-height: 150px;
}
.error {
  padding: 17px;
  background: #ffece9;
  color: #9b1f17;
  border-radius: 9px;
  margin-bottom: 20px;
}
.success {
  padding: 17px;
  background: #e9f6ec;
  color: #1c5a30;
  border-radius: 9px;
  margin-bottom: 20px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
details {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 10px;
  margin: 15px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 30px;
}
.compare-table td,
.compare-table th {
  min-width: 160px;
}
.compare-table td:first-child {
  min-width: 100px;
}
.compare-table tr:nth-child(even) {
  background: var(--bg);
}
.gallery-full {
  position: fixed;
  inset: 0;
  background: #001a;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 25px;
}
.gallery-full img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
}
.gallery-full button {
  position: absolute;
  right: 20px;
  top: 20px;
}
.logo-original {
  max-width: 200px;
  max-height: 90px;
  object-fit: contain;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.guide-card {
  background: var(--bg);
  padding: 30px;
  border-radius: 14px;
}
.guide-card h2 {
  font-size: 28px;
}
.guide-card p {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    gap: 80px;
  }
  .hero-copy h1 {
    font-size: 67px;
  }
}
@media (max-width: 1150px) {
  .header {
    gap: 18px;
    padding: 18px 25px;
  }
  .header nav {
    gap: 15px;
    font-size: 12px;
  }
  .header-actions .btn {
    display: none;
  }
  .wrap {
    padding-left: 25px;
    padding-right: 25px;
  }
  .hero {
    gap: 25px;
  }
  .hero-trust {
    gap: 10px;
  }
  .catalog-layout {
    grid-template-columns: 220px 1fr;
  }
  .car-content {
    padding: 15px;
  }
  .consent {
    flex-direction: column;
    gap: 12px;
  }
  .consent .actions {
    justify-content: flex-end;
  }
  .footer-grid {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .header {
    padding: 16px 20px;
    justify-content: space-between;
  }
  .brand {
    font-size: 24px;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }
  .header nav {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .icon-btn {
    min-height: 40px;
    min-width: 40px;
  }
  .local-strip {
    font-size: 9px;
    padding: 6px 15px;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    padding-bottom: 26px;
    gap: 30px;
  }
  .hero-copy h1 {
    font-size: 44px;
    letter-spacing: -0.055em;
    margin: 17px 0;
  }
  .hero-copy > p {
    font-size: 15px;
    max-width: 470px;
  }
  .hero-copy .actions {
    gap: 7px 18px;
  }
  .hero-trust {
    font-size: 10px;
    gap: 15px;
    margin-top: 20px;
  }
  .hero-visual {
    aspect-ratio: 1.5;
    max-height: 400px;
  }
  .hero-caption {
    padding: 65px 20px 20px;
  }
  .hero-caption h2 {
    font-size: 24px;
  }
  .hero-caption p {
    font-size: 12px;
  }
  .hero-caption .eyebrow {
    font-size: 9px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .search-panel {
    padding-top: 0;
    padding-bottom: 15px;
  }
  .search-form {
    gap: 3px;
    padding: 5px 5px 5px 12px;
  }
  .search-form input {
    font-size: 12px;
    padding: 10px 6px;
  }
  .search-form .btn {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 13px;
  }
  .search-form > span {
    font-size: 23px;
  }
  .chips {
    font-size: 10px;
    gap: 7px;
    margin-top: 13px;
  }
  .chips > a {
    padding: 6px 11px;
    min-height: 34px;
  }
  .chips > span {
    width: 100%;
    font-size: 10px;
  }
  .section {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .section-head {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .section-head h2 {
    font-size: 29px;
    line-height: 1.15;
  }
  .section-head > .text-link {
    font-size: 12px;
    min-height: 30px;
  }
  .grid.cars,
  .grid.branches,
  .grid.steps {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 20px;
  }
  .car-content {
    padding: 19px;
  }
  .car-content h3 {
    font-size: 23px;
  }
  .car-bottom .price {
    font-size: 27px;
  }
  .car-bottom small {
    font-size: 10px;
  }
  .car-photo {
    aspect-ratio: 1.55;
  }
  .car-photo .badge {
    font-size: 10px;
  }
  .notice {
    font-size: 11px;
  }
  .dark-section {
    padding: 40px 0;
    margin-top: 15px;
  }
  .dark-section .section-head p {
    font-size: 14px;
  }
  .steps {
    margin-top: 18px;
    gap: 10px;
  }
  .steps article {
    padding: 20px 0 0;
  }
  .steps h3 {
    margin-top: 12px;
  }
  .steps p {
    max-width: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 30px;
  }
  .split h2 {
    font-size: 31px;
  }
  .split p {
    font-size: 14px;
  }
  .video-promo {
    min-height: 240px;
  }
  .branches {
    gap: 13px;
  }
  .branch-card {
    padding: 24px;
  }
  .branch-card h3 {
    margin: 13px 0;
  }
  .cta {
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    margin: 20px 0 35px;
    padding-top: 27px;
    padding-bottom: 27px;
  }
  .cta h2 {
    font-size: 28px;
  }
  footer {
    padding: 30px 20px 95px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-grid .brand {
    font-size: 25px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    font-size: 10px;
  }
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    background: #fffffff7;
    z-index: 20;
    padding: 7px 7px max(7px, env(safe-area-inset-bottom));
  }
  .bottom-nav > a {
    font-size: 23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    min-height: 47px;
    line-height: 1.1;
    gap: 5px;
  }
  .bottom-nav span {
    font-size: 9px;
  }
  .consent {
    left: 10px;
    right: 10px;
    bottom: 76px;
    padding: 15px;
    max-height: 65vh;
    overflow: auto;
  }
  .consent .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .consent .actions .btn:last-child {
    grid-column: 1/-1;
  }
  .consent p {
    font-size: 11px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
  }
  .filters h2,
  .filters > .field:first-of-type,
  .filters .btn,
  .filters .text-link {
    grid-column: 1/-1;
  }
  .filters .two {
    display: contents;
  }
  .filters .field {
    font-size: 11px;
  }
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
  .vdp-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .vdp-info h1 {
    font-size: 34px;
  }
  .vdp-info .spec-grid {
    gap: 15px;
  }
  .content-columns {
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
  }
  .content-columns .prose {
    order: 1;
  }
  .vdp-info .actions .btn {
    font-size: 12px;
    padding: 10px 15px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    margin: 15px 0;
  }
  .admin-nav a {
    font-size: 11px;
  }
  .admin-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .admin-heading h1 {
    font-size: 31px;
  }
  .admin-heading p {
    font-size: 12px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0;
  }
  .stats article {
    padding: 20px;
  }
  .stats b {
    font-size: 27px;
  }
  .admin-editor .two {
    grid-template-columns: 1fr;
  }
  .admin-editor .btn {
    width: 100%;
  }
  .data-table th,
  .data-table td {
    padding: 12px 8px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-card {
    padding: 25px;
  }
  .guide-card h2 {
    font-size: 26px;
  }
  .player {
    font-size: 12px;
  }
  .player p {
    font-size: 12px;
  }
  #toast {
    bottom: 85px;
    right: 15px;
    left: 15px;
    text-align: center;
    font-size: 12px;
  }
  .pagination {
    gap: 12px;
    font-size: 11px;
  }
  .pagination .btn {
    padding: 9px 15px;
    font-size: 12px;
  }
  .prose h2 {
    font-size: 26px;
  }
  .source-description {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.vdp-layout > *,
.content-columns > *,
.catalog-layout > *,
.two > * {
  min-width: 0;
}
.thumbs {
  max-width: 100%;
}
.spec-grid strong {
  overflow-wrap: anywhere;
}
.gallery {
  position: relative;
}
.gallery-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #fff;
  color: #172025;
  border: 1px solid #dfe4e2;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 27px;
}
#photo-dialog {
  max-width: 95vw;
  border: 0;
  border-radius: 15px;
  padding: 15px;
  background: #fff;
}
#photo-dialog::backdrop {
  background: #0b1818df;
}
#photo-dialog img {
  max-height: 82vh;
  width: auto;
  height: auto;
  max-width: 90vw;
  object-fit: contain;
}
#photo-dialog button {
  display: block;
  margin: 0 0 10px auto;
}
.video-poster {
  position: relative;
  overflow: hidden;
}
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster:has(img) > span {
  position: relative;
  z-index: 1;
}
.video-poster:has(img) > span:last-child {
  background: #142820c9;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
}
.header .brand img {
  width: 156px;
  height: 54px;
  object-fit: contain;
  border-radius: 5px;
}
.header {
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (max-width: 760px) {
  .header .brand img {
    width: 138px;
    height: 48px;
  }
  .header {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
:root {
  --muted: #5e696e;
}
.header-actions .icon-btn {
  min-width: 44px;
  min-height: 44px;
}
.hero-caption .eyebrow {
  color: #fff;
}
.no-photo {
  color: #53615a;
}
.video-card h2 {
  font-size: 19px;
  margin: 10px 0;
}

.catalog-grid.list-view {
  grid-template-columns: 1fr !important;
}
.catalog-grid.list-view .car-card {
  display: grid;
  grid-template-columns: minmax(180px, 35%) minmax(0, 1fr);
  grid-template-rows: 260px;
}
.catalog-grid.list-view .car-card .car-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
}
.ownership {
  margin-block: 2rem;
}
.cost-form .field {
  min-width: 0;
}
.active-filters a {
  font-size: 0.82rem;
}
details > summary {
  cursor: pointer;
}
@media (max-width: 640px) {
  .catalog-grid.list-view .car-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .catalog-grid.list-view .car-card .car-photo {
    height: auto;
    aspect-ratio: 1.5;
    min-height: 0;
  }
}

.catalog-grid.list-view .car-content {
  min-width: 0;
}

.car-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Private sellers: a separate, calm teal space, never canonical inventory. */
.seller-hero {
  padding-top: 64px;
}
.seller-hero h1,
.seller-login h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 900px;
}
.seller-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0;
}
.seller-options article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.seller-options h2 {
  font-size: 1.6rem;
}
.seller-options .btn {
  margin-top: auto;
}
.seller-number {
  color: #167d77;
  font-size: 1.4rem;
  font-weight: 700;
}
.private-notice {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  background: #d7eeea;
  color: #124a45;
  border-bottom: 1px solid #a9d3ca;
  padding: 12px 20px;
  font-size: 0.9rem;
}
.private-board {
  background: #f3faf8;
}
.private-card {
  border-color: #c6dfd7;
}
.private-card img,
.private-board img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
.private-card img {
  aspect-ratio: 3/2;
}
.private-card .badge {
  background: #d7eeea;
  color: #124a45;
}
.seller-heading,
.score-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.seller-score progress {
  width: 100%;
  height: 18px;
  accent-color: #167d77;
}
.seller-score strong {
  font-size: 1.8rem;
  color: #146a63;
}
.seller-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.seller-photo {
  margin-top: 24px;
  border-top: 1px solid #d7e2df;
  padding-top: 20px;
}
.seller-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.seller-editor textarea {
  width: 100%;
}
.seller-login {
  max-width: 850px;
}
.seller-login .panel {
  margin-top: 28px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.seller-editor aside > .panel {
  margin-bottom: 20px;
}
.seller-editor dd {
  overflow-wrap: anywhere;
}
.private-board dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
}
.private-board dd {
  margin: 0;
}
.private-board .filters {
  margin: 24px 0;
}
@media (max-width: 800px) {
  .seller-options {
    grid-template-columns: 1fr;
  }
  .private-notice {
    flex-wrap: wrap;
    gap: 3px 12px;
    font-size: 0.78rem;
    justify-content: flex-start;
  }
  .private-notice span {
    flex-basis: 100%;
  }
  .seller-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .seller-editor .two {
    grid-template-columns: 1fr;
  }
  .seller-hero {
    padding-top: 32px;
  }
}
.seller-progress-inline {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin: 20px 0;
  background: #e8f5f0;
  border: 1px solid #b5d8cc;
  border-radius: 12px;
  color: #124a45;
}
.seller-progress-inline progress {
  flex: 1;
  min-width: 50px;
  accent-color: #167d77;
}
.seller-progress-inline small {
  font-size: 0.8rem;
}
@media (max-width: 600px) {
  .seller-progress-inline {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .seller-progress-inline small {
    flex-basis: 100%;
  }
}
[data-score-level="low"] progress {
  accent-color: #b73b30;
}
[data-score-level="medium"] progress {
  accent-color: #bb6a08;
}
[data-score-level="high"] progress {
  accent-color: #167348;
}
[data-score-level] [data-score]::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 50%;
  background: #167348;
}
[data-score-level="low"] [data-score]::before {
  background: #b73b30;
}
[data-score-level="medium"] [data-score]::before {
  background: #bb6a08;
}
.private-board .filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.private-board .filters .btn {
  margin: 0;
}
.private-board .filters label {
  min-width: 0;
}
.private-board .filters input,
.private-board .filters select {
  width: 100%;
  min-width: 0;
}
@media (max-width: 600px) {
  .private-board .filters {
    grid-template-columns: minmax(0, 1fr);
  }
}
