:root {
  --ink: #111414;
  --muted: #65706b;
  --paper: #f4f0e8;
  --white: #fffaf2;
  --line: rgba(17, 20, 20, .14);
  --green: #0f4f43;
  --green-2: #163d34;
  --gold: #c79d51;
  --ruby: #8e2f2f;
  --blue: #244a6b;
  --shadow: 0 24px 70px rgba(25, 30, 28, .16);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(13, 18, 17, .42);
  border-bottom: 1px solid rgba(255, 250, 242, .14);
  backdrop-filter: blur(18px);
  transition: background .25s ease, color .25s ease;
}

.topbar.scrolled {
  color: var(--ink);
  background: rgba(255, 250, 242, .88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--gold);
  font-weight: 800;
}

.brand strong {
  display: block;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: currentColor;
  opacity: .66;
  font-size: 12px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  opacity: .82;
}

.nav a:hover {
  opacity: 1;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 76px) 64px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 12, .9) 0%, rgba(8, 13, 12, .68) 38%, rgba(8, 13, 12, .18) 72%),
    linear-gradient(0deg, rgba(8, 13, 12, .62), rgba(8, 13, 12, .06) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 250, 242, .82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.auth-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary,
.secondary,
.ghost,
.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  padding: 0 20px;
  border-radius: 2px;
  font-weight: 800;
}

.button-link {
  width: fit-content;
}

.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 34px rgba(15, 79, 67, .28);
}

.primary:hover {
  background: var(--green-2);
}

.secondary {
  color: inherit;
  background: rgba(255, 250, 242, .08);
  border-color: rgba(255, 250, 242, .38);
}

.topbar.scrolled .secondary,
.ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.topbar:not(.scrolled) .ghost {
  color: var(--white);
  border-color: rgba(255, 250, 242, .38);
}

.danger {
  color: var(--white);
  background: var(--ruby);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 46px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 54px;
  padding: 12px 18px;
  background: rgba(255, 250, 242, .12);
  border: 1px solid rgba(255, 250, 242, .16);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  color: var(--gold);
  font-size: 28px;
}

.trust-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--ink);
}

.trust-strip span {
  flex: 1 0 132px;
  padding: 20px;
  color: rgba(255, 250, 242, .72);
  text-align: center;
  background: rgba(255, 255, 255, .035);
}

.section {
  padding: 86px clamp(18px, 5vw, 76px);
}

.intro-grid,
.guarantee-band,
.contacts {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
  background: var(--white);
}

.section-head {
  grid-column: 1 / -1;
  max-width: 920px;
}

.service-card {
  min-height: 246px;
  padding: 28px;
  background: #f8f4ec;
  border: 1px solid var(--line);
}

.service-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.guarantee-band p,
.contacts p,
.client-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.guarantee-band {
  color: var(--white);
  background: var(--green-2);
}

.guarantee-band p {
  color: rgba(255, 250, 242, .76);
  font-size: 18px;
}

.contract-points {
  display: grid;
  gap: 12px;
}

.contract-points div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 250, 242, .08);
  border: 1px solid rgba(255, 250, 242, .14);
}

.contract-points strong {
  color: var(--gold);
}

.dashboard-preview {
  background: #ece7dd;
}

.portal-teaser {
  background: #ece7dd;
}

.portal-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.portal-teaser-card {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portal-teaser-card span {
  display: block;
  margin-bottom: 56px;
  color: var(--gold);
  font-weight: 900;
}

.portal-teaser-card p {
  color: var(--muted);
  line-height: 1.65;
}

.page-shell {
  background:
    linear-gradient(135deg, rgba(15, 79, 67, .12), transparent 36%),
    linear-gradient(315deg, rgba(36, 74, 107, .12), transparent 38%),
    var(--paper);
}

.page-main {
  min-height: 100vh;
  padding-top: 86px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 72px clamp(18px, 5vw, 76px) 28px;
}

.page-hero.compact-hero {
  min-height: 360px;
  align-items: center;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 84px);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-panel-section {
  padding-top: 24px;
}

.auth-page .page-panel-section {
  display: grid;
  place-items: start center;
}

.standalone.auth-panel {
  width: min(460px, 100%);
}

.standalone.client-panel {
  width: 100%;
}

.portal {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  align-items: start;
}

.auth-panel,
.client-panel,
.admin-card,
.lead-form,
.modal-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-panel,
.client-panel,
.admin-card,
.lead-form {
  padding: 24px;
}

.tabs,
.status-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  margin-bottom: 20px;
  background: #ece7dd;
}

.tabs button,
.status-tabs button {
  flex: 1;
  min-height: 38px;
  border: 0;
  background: transparent;
  font-weight: 800;
}

.tabs button.active,
.status-tabs button.active {
  color: var(--white);
  background: var(--ink);
}

.field-stack {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 0;
  outline-color: var(--gold);
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.profile-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.car-card {
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #21322f 58%, var(--blue));
}

.car-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #fff;
  background: #6952f8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.tracking-map {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  background: #efe9dd;
  border: 1px solid var(--line);
}

.route-line {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--blue));
}

.route-point {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.route-point span {
  position: absolute;
  top: 24px;
  width: 116px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: var(--line);
  border-radius: 50%;
}

.timeline-item.done .dot {
  background: var(--green);
}

.timeline-item.current .dot {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(199, 157, 81, .18);
}

.docs-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.doc-row,
.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  grid-template-columns: 1fr 150px 160px;
}

.admin-row select {
  min-height: 40px;
}

.contacts {
  background: var(--white);
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form.compact {
  box-shadow: none;
  border: 0;
  padding: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17, 20, 20, .62);
}

.modal.open {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(24px);
  opacity: 0;
  transition: .2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.hidden {
  display: none !important;
}

.catalog-main {
  min-height: 100vh;
  padding-top: 79px;
  background: #f1eee7;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding: 72px clamp(18px, 5vw, 76px) 42px;
  color: var(--white);
  background: var(--green-2);
}

.catalog-heading > div:first-child {
  max-width: 850px;
}

.catalog-heading h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 82px);
}

.catalog-heading p:not(.section-kicker) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 250, 242, .72);
  font-size: 18px;
  line-height: 1.6;
}

.sync-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.sync-status div,
.catalog-toolbar div {
  display: grid;
  gap: 4px;
}

.sync-status small,
.catalog-toolbar small {
  color: var(--muted);
}

.sync-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f9b72;
  box-shadow: 0 0 0 5px rgba(63, 155, 114, .14);
}

.sync-status.is-error .sync-dot {
  background: var(--ruby);
  box-shadow: 0 0 0 5px rgba(142, 47, 47, .12);
}

.catalog-workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 38px clamp(18px, 5vw, 76px) 80px;
}

.catalog-filters {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.filter-title,
.catalog-toolbar,
.car-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-title {
  margin-bottom: 24px;
}

.filter-title h2 {
  margin: 0;
  font-family: inherit;
  font-size: 22px;
}

.text-button {
  padding: 0;
  color: var(--green);
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 700;
}

.filter-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-field span,
.sort-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-field input,
.filter-field select,
.sort-control select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
}

.filter-submit {
  width: 100%;
  margin-top: 4px;
}

.filter-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.power-toggle {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.power-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 38px;
  height: 22px;
  background: #cbc9c2;
  border-radius: 11px;
  transition: background .2s ease;
}

.toggle-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}

.power-toggle input:checked + .toggle-track {
  background: var(--green);
}

.power-toggle input:checked + .toggle-track::after {
  transform: translateX(16px);
}

.catalog-results {
  min-width: 0;
}

.catalog-toolbar {
  min-height: 54px;
  margin-bottom: 20px;
}

.sort-control {
  display: grid;
  grid-template-columns: auto 190px;
  align-items: center;
  gap: 10px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.car-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(25, 30, 28, .12);
}

.car-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e5;
}

.car-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.listing-image .car-image {
  object-fit: cover;
}

.car-card:hover .car-image {
  transform: scale(1.035);
}

.car-tag,
.source-label {
  position: absolute;
  top: 12px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 800;
}

.car-tag {
  left: 12px;
  max-width: calc(100% - 120px);
  color: var(--white);
  background: var(--green);
}

.source-label {
  right: 12px;
  color: var(--ink);
  background: rgba(255, 250, 242, .9);
}

.car-card-body {
  padding: 20px;
}

.car-brand {
  min-height: 18px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.car-card h2 {
  min-height: 48px;
  margin: 6px 0 12px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.2;
}

.car-meta {
  color: var(--muted);
  font-size: 12px;
}

.car-price {
  margin-top: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
}

.car-price-source {
  min-height: 18px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.bare-price-note {
  min-height: 34px;
  margin: 8px 0 0;
  color: var(--ruby);
  font-size: 11px;
  line-height: 1.4;
}

.listing-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 74px;
  margin-top: 14px;
}

.listing-specs span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.listing-actions .button-link,
.listing-actions .car-action {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-right: 10px;
  padding-left: 10px;
  text-align: center;
}

.car-action {
  width: 100%;
  margin-top: 18px;
}

.load-more {
  display: block;
  min-width: 210px;
  margin: 30px auto 0;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
}

.catalog-empty strong {
  font-size: 22px;
}

.catalog-empty p {
  margin: 8px 0 0;
  color: var(--muted);
}

.skeleton {
  background: linear-gradient(90deg, #e4e0d8 25%, #eeeae3 50%, #e4e0d8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}

.skeleton-image {
  aspect-ratio: 16 / 10;
}

.skeleton-line {
  height: 15px;
  margin-bottom: 12px;
}

.skeleton-line.short {
  width: 34%;
}

.skeleton-line.medium {
  width: 68%;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.listing-main {
  min-height: 100vh;
  padding: 79px clamp(18px, 5vw, 76px) 80px;
  background: #f1eee7;
}

.listing-loader {
  padding-top: 44px;
}

.listing-hero-skeleton {
  min-height: 620px;
}

.listing-detail-head {
  padding: 44px 0 28px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.listing-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 44px;
  align-items: end;
}

.listing-title-row h1 {
  margin-bottom: 0;
  font-size: clamp(40px, 5.5vw, 76px);
}

.listing-price-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--white);
  border-left: 4px solid var(--gold);
}

.listing-price-box strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.listing-price-box small {
  color: var(--muted);
}

.listing-price-box em {
  color: var(--ruby);
  font-size: 12px;
  font-style: normal;
}

.listing-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 8px;
  margin-bottom: 44px;
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: #dedbd4;
  border: 0;
  cursor: zoom-in;
}

.gallery-item:nth-child(n+8) {
  display: none;
}

.gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 1fr;
  align-items: center;
  gap: 18px;
  padding: 34px;
  background: rgba(8, 8, 10, .94);
}

.photo-lightbox.open {
  display: grid;
}

.photo-lightbox-frame {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  place-items: center;
}

.photo-lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
}

.photo-lightbox-frame figcaption {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 700;
}

.photo-lightbox-close,
.photo-lightbox-nav {
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  backdrop-filter: blur(12px);
}

.photo-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}

.photo-lightbox-nav {
  width: 58px;
  height: 58px;
  justify-self: center;
  font-size: 48px;
  line-height: 1;
}

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: #6952f8;
  border-color: #6952f8;
}

.listing-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.listing-content {
  display: grid;
  gap: 18px;
}

.detail-section {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.detail-section h2 {
  margin-bottom: 24px;
  font-family: inherit;
  font-size: 25px;
}

.spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(100px, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-table span {
  color: var(--muted);
}

.spec-table strong {
  text-align: right;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list span {
  padding: 9px 11px;
  background: #e9eee9;
  font-size: 13px;
}

.report-section {
  border-left: 4px solid var(--green);
}
.report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.report-head h2 {
  margin-bottom: 0;
}

.report-head span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(17, 20, 20, .12);
  border-radius: 999px;
  background: #f7f4ec;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.report-note {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.report-inline-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.report-summary article {
  padding: 14px;
  border: 1px solid rgba(17, 20, 20, .1);
  border-radius: 12px;
  background: #f6f2e9;
}

.report-summary strong {
  display: block;
  margin-bottom: 7px;
}

.report-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.report-grid div {
  display: grid;
  gap: 6px;
  padding: 15px;
  background: #edf1ed;
}

.report-grid span {
  color: var(--muted);
  font-size: 12px;
}

.listing-sticky {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 12px;
  padding: 26px;
  background: var(--green-2);
  color: var(--white);
}

.listing-sticky h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}

.listing-sticky p {
  color: rgba(255, 250, 242, .7);
  font-size: 12px;
  line-height: 1.5;
}

.listing-sticky .secondary {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
  text-align: center;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .top-actions {
    justify-self: end;
  }

  .intro-grid,
  .guarantee-band,
  .contacts,
  .portal,
  .profile-card,
  .portal-teaser-grid,
  .page-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
  }

  .sync-status {
    width: min(100%, 360px);
  }

  .catalog-workspace {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .filter-title,
  .filter-submit,
  .power-toggle,
  .filter-note {
    grid-column: 1 / -1;
  }

  .filter-field {
    margin: 0;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-title-row,
  .listing-detail-grid {
    grid-template-columns: 1fr;
  }

  .listing-sticky {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 14px 16px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .top-actions .secondary {
    display: none;
  }

  .hero {
    min-height: 850px;
    padding: 112px 18px 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 13, 12, .9), rgba(8, 13, 12, .58)),
      linear-gradient(0deg, rgba(8, 13, 12, .72), rgba(8, 13, 12, .1));
  }

  .section {
    padding: 62px 18px;
  }

  .catalog-main {
    padding-top: 71px;
  }

  .listing-main {
    padding: 71px 18px 62px;
  }

  .listing-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
  }

  .gallery-main {
    grid-column: span 2;
  }

  .spec-table,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .detail-section {
    padding: 22px 18px;
  }

  .catalog-heading {
    padding: 50px 18px 34px;
  }

  .catalog-heading h1 {
    font-size: 43px;
  }

  .catalog-workspace {
    padding: 24px 18px 62px;
  }

  .catalog-filters,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .filter-title,
  .filter-submit,
  .power-toggle,
  .filter-note {
    grid-column: auto;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-control {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contract-points div,
  .timeline-item,
  .doc-row,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .route-point span {
    width: 84px;
    font-size: 11px;
  }

  .photo-lightbox {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
    padding: 18px 10px;
  }

  .photo-lightbox-frame img {
    max-height: calc(100vh - 88px);
    border-radius: 12px;
  }

  .photo-lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .photo-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 36px;
  }
}

/* VINKOT brand system */
:root {
  --ink: #111111;
  --muted: #686868;
  --paper: #efefe8;
  --white: #fefbf6;
  --line: rgba(17, 17, 17, .11);
  --green: #6952f8;
  --green-2: #2e2e2e;
  --gold: #6952f8;
  --ruby: #a33b3b;
  --blue: #6952f8;
  --shadow: 0 18px 45px rgba(0, 11, 48, .12);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

.topbar,
.topbar.scrolled {
  top: 10px;
  left: clamp(14px, 9vw, 140px);
  right: clamp(14px, 9vw, 140px);
  min-height: 70px;
  padding: 10px 28px;
  color: #111;
  background: rgba(254, 251, 246, .96);
  border: 0;
  border-radius: 38px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
  backdrop-filter: blur(20px);
}

.brand {
  min-width: 96px;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 50px;
  object-fit: contain;
}

.nav {
  gap: 30px;
  font-weight: 700;
}

.nav a {
  opacity: 1;
  transition: color .2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #6952f8;
}

.primary,
.secondary,
.ghost,
.button-link {
  border-radius: 24px;
  font-weight: 700;
}

.primary {
  color: #fff;
  background: #6952f8;
  border-color: #6952f8;
  box-shadow: none;
}

.primary:hover {
  color: #fff;
  background: #2e2e2e;
  border-color: #2e2e2e;
}

.secondary,
.ghost {
  color: #fff;
  background: #2e2e2e;
  border-color: #2e2e2e;
}

.secondary:hover,
.ghost:hover {
  color: #fff;
  background: #6952f8;
  border-color: #6952f8;
}

.top-actions .secondary {
  min-width: 124px;
  padding: 13px 24px;
  text-align: center;
}

.section-kicker,
.eyebrow {
  color: #6952f8;
}

.page-main,
.catalog-main {
  padding-top: 90px;
}

.catalog-main {
  background: var(--paper);
}

.catalog-heading {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  padding: 74px clamp(18px, 5vw, 76px) 42px;
  color: #111;
  background: transparent;
}

.catalog-heading h1 {
  max-width: 900px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: .98;
}

.catalog-heading p:not(.section-kicker) {
  color: #4c4c4c;
}

.sync-status {
  padding: 20px;
  background: #fefbf6;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}

.sync-dot {
  background: #6952f8;
  box-shadow: 0 0 0 5px rgba(105, 82, 248, .13);
}

.catalog-filters {
  padding: 26px;
  background: #fefbf6;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.filter-field input,
.filter-field select,
.sort-control select {
  min-height: 48px;
  padding: 0 15px;
  background: #fff;
  border-color: rgba(17, 17, 17, .13);
  border-radius: 12px;
}

.text-button {
  color: #6952f8;
}

.toggle-track {
  background: #d4d2cb;
}

.power-toggle input:checked + .toggle-track {
  background: #6952f8;
}

.car-card {
  background: #fefbf6;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .11);
}

.car-image-wrap {
  border-radius: 20px 20px 0 0;
}

.car-tag {
  color: #fff;
  background: #6952f8;
  border-radius: 14px;
}

.source-label {
  background: rgba(254, 251, 246, .92);
  border-radius: 14px;
}

.car-card h2 {
  font-size: 22px;
  font-weight: 800;
}

.car-price {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.bare-price-note {
  color: #777;
}

.listing-main {
  padding-top: 90px;
  background: var(--paper);
}

.listing-detail-head {
  padding-top: 62px;
}

.back-link {
  color: #111;
}

.back-link:hover {
  color: #6952f8;
}

.listing-title-row h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 800;
  line-height: .94;
}

.listing-price-box {
  padding: 24px;
  background: #fefbf6;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.listing-price-box strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.listing-gallery {
  gap: 10px;
}

.gallery-item {
  border-radius: 18px;
}

.detail-section {
  background: #fefbf6;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .045);
}

.detail-section h2 {
  font-weight: 800;
}

.feature-list span,
.report-grid div {
  background: #eceae4;
  border-radius: 12px;
}

.report-section {
  border: 0;
}

.listing-sticky {
  padding: 28px;
  color: #fff;
  background: #2e2e2e;
  border-radius: 20px;
}

.listing-sticky h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.modal-card,
.auth-panel,
.client-panel,
.admin-card {
  border-radius: 20px;
}

@media (max-width: 980px) {
  .topbar,
  .topbar.scrolled {
    left: 14px;
    right: 14px;
    padding: 9px 18px;
  }

  .nav {
    top: 88px;
    border: 0;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 62px;
    height: 44px;
  }

  .catalog-heading,
  .listing-detail-head {
    padding-top: 46px;
  }

  .catalog-heading h1,
  .listing-title-row h1 {
    font-size: 42px;
  }

  .listing-price-box,
  .catalog-filters,
  .detail-section,
  .listing-sticky {
    border-radius: 16px;
  }

  .gallery-item {
    border-radius: 12px;
  }
}

/* Home page inspired by vinkot.pro */
.vinkot-home {
  padding: 104px clamp(18px, 2.8vw, 40px) 0;
}

.v-home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 124px);
  overflow: hidden;
  border-radius: 38px;
}

.v-home-photo {
  min-height: 720px;
  overflow: hidden;
  background: #222;
}

.v-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.v-home-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px clamp(28px, 6vw, 90px);
  text-align: center;
  background: #efefe8;
}

.v-home-offer h1 {
  max-width: 640px;
  margin: 18px 0 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(52px, 6.5vw, 94px);
  font-weight: 800;
  line-height: .94;
}

.v-home-subtitle {
  color: #343434;
  font-size: clamp(19px, 2vw, 28px);
  font-style: italic;
  line-height: 1.5;
}

.v-home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.v-home-directions {
  display: flex;
  gap: 22px;
  margin-top: 34px;
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.v-contact-band,
.v-portal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin: 28px 0;
  padding: 54px clamp(28px, 6vw, 86px);
  background: #fefbf6;
  border-radius: 32px;
}

.v-contact-band h2,
.v-portal h2 {
  max-width: 850px;
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 800;
  line-height: 1;
}

.v-contact-band p,
.v-portal p {
  max-width: 760px;
  color: #5d5d5d;
  line-height: 1.65;
}

.v-contact-actions,
.v-portal-actions {
  display: grid;
  gap: 10px;
  min-width: 240px;
}

.v-contact-actions > *,
.v-portal-actions > * {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  line-height: 1.2;
  text-align: center;
}

.v-principles,
.v-process {
  padding: 108px clamp(10px, 5vw, 72px);
}

.v-section-heading {
  max-width: 900px;
  margin-bottom: 50px;
}

.v-section-heading h2,
.v-feature-content h2,
.v-contract-content h2,
.v-contacts h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  line-height: .96;
}

.v-section-heading > p:last-child {
  max-width: 720px;
  color: #606060;
  font-size: 18px;
  line-height: 1.6;
}

.v-principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.v-principle-grid article {
  min-height: 300px;
  padding: 28px;
  background: #fefbf6;
  border-radius: 24px;
}

.v-principle-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 62px;
  color: #fff;
  background: #6952f8;
  border-radius: 50%;
  font-weight: 800;
}

.v-principle-grid h3 {
  font-size: 25px;
}

.v-principle-grid p {
  color: #666;
  line-height: 1.55;
}

.v-feature-split,
.v-contract {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  margin: 0;
  background: #fefbf6;
  border-radius: 38px;
}

.v-feature-visual,
.v-contract-image {
  min-height: 720px;
}

.v-feature-visual img,
.v-contract-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v-feature-content,
.v-contract-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 90px);
}

.v-feature-list {
  display: grid;
  gap: 0;
  margin: 28px 0 34px;
}

.v-feature-list div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.v-feature-list strong {
  font-size: 19px;
}

.v-feature-list p {
  margin: 7px 0 0;
  color: #666;
  line-height: 1.55;
}

.v-feature-content > .button-link {
  align-self: flex-start;
}

.v-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v-process-grid article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  min-height: 160px;
  padding: 28px;
  background: #fefbf6;
  border-radius: 22px;
}

.v-process-grid b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #6952f8;
  border: 1px solid #6952f8;
  border-radius: 50%;
  font-size: 24px;
}

.v-process-grid h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.v-process-grid p {
  margin-bottom: 0;
  color: #666;
  line-height: 1.5;
}

.v-contract {
  grid-template-columns: 1fr 1fr;
}

.v-contract-image {
  background: #fefbf6;
}

.v-contract-image img {
  object-fit: contain;
}

.v-contract-content > p:not(.section-kicker) {
  color: #606060;
  line-height: 1.65;
}

.v-contract-content .contract-points {
  margin: 22px 0 28px;
}

.v-contract-content > .primary {
  align-self: flex-start;
}

.v-portal {
  margin-top: 28px;
  color: #fff;
  background: #2e2e2e;
}

.v-portal .section-kicker {
  color: #9c8cff;
}

.v-portal p {
  color: rgba(255, 255, 255, .7);
}

.v-portal .secondary {
  color: #2e2e2e;
  background: #fefbf6;
  border-color: #fefbf6;
}

.v-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 70px;
  align-items: center;
  margin-top: 28px;
  padding: 100px clamp(28px, 7vw, 100px);
  background: #fefbf6;
  border-radius: 38px 38px 0 0;
}

.v-contacts-copy p:last-child {
  max-width: 650px;
  color: #606060;
  font-size: 18px;
  line-height: 1.65;
}

.v-contacts .lead-form {
  padding: 28px;
  background: #efefe8;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

.v-contacts input,
.v-contacts select,
.v-contacts textarea {
  border-radius: 12px;
}

@media (min-width: 981px) {
  .topbar,
  .topbar.scrolled {
    min-height: 62px;
    padding: 6px 24px;
  }

  .brand-logo {
    width: 62px;
    height: 44px;
  }

  .nav {
    gap: 25px;
    font-size: 13px;
  }

  .top-actions .secondary {
    min-width: 112px;
    padding: 11px 20px;
  }

  .vinkot-home {
    padding: 82px clamp(18px, 2.2vw, 32px) 0;
  }

  .v-home-hero {
    min-height: min(650px, calc(100vh - 94px));
    border-radius: 26px;
  }

  .v-home-photo {
    min-height: 550px;
  }

  .v-home-offer {
    padding: 34px clamp(24px, 3.5vw, 52px);
  }

  .v-home-offer h1 {
    max-width: 500px;
    margin: 12px 0 18px;
    font-size: clamp(42px, 4.5vw, 62px);
  }

  .v-home-subtitle {
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.4;
  }

  .v-home-actions {
    margin-top: 22px;
  }

  .v-home-actions .primary,
  .v-home-actions .secondary {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
  }

  .v-home-directions {
    margin-top: 24px;
  }

  .v-contact-band,
  .v-portal {
    margin: 20px 0;
    padding: 30px clamp(24px, 4vw, 50px);
    border-radius: 22px;
  }

  .v-contact-band h2,
  .v-portal h2 {
    font-size: clamp(28px, 2.9vw, 40px);
  }

  .v-principles,
  .v-process {
    padding: 58px clamp(8px, 3vw, 40px);
  }

  .v-section-heading {
    margin-bottom: 34px;
  }

  .v-section-heading h2,
  .v-feature-content h2,
  .v-contract-content h2,
  .v-contacts h2 {
    font-size: clamp(32px, 3.6vw, 50px);
  }

  .v-principle-grid article {
    min-height: 210px;
    padding: 20px;
  }

  .v-principle-grid span {
    width: 42px;
    height: 42px;
    margin-bottom: 28px;
    font-size: 14px;
  }

  .v-principle-grid h3 {
    font-size: 21px;
  }

  .v-feature-visual,
  .v-contract-image {
    min-height: 500px;
  }

  .v-feature-content,
  .v-contract-content {
    padding: clamp(28px, 4vw, 54px);
  }

  .v-feature-list div {
    padding: 15px 0;
  }

  .v-process-grid article {
    min-height: 112px;
    padding: 18px;
  }

  .v-process-grid b {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .v-process-grid h3 {
    font-size: 21px;
  }

  .v-contacts {
    gap: 42px;
    padding: 56px clamp(24px, 5vw, 64px);
  }

  .catalog-heading {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .catalog-heading h1 {
    font-size: clamp(38px, 4.2vw, 56px);
  }

  .catalog-heading p:not(.section-kicker) {
    font-size: 16px;
  }

  .catalog-workspace {
    gap: 24px;
    padding-top: 14px;
  }

  .listing-detail-head {
    padding-top: 28px;
  }

  .listing-title-row h1 {
    font-size: clamp(38px, 4.2vw, 56px);
  }

  .listing-gallery {
    grid-auto-rows: 132px;
    margin-bottom: 32px;
  }

  .detail-section {
    padding: 24px;
  }

  .catalog-grid {
    gap: 14px;
  }

  .car-card-body {
    padding: 16px;
  }

  .car-card h2 {
    min-height: 42px;
    font-size: 18px;
  }

  .listing-specs {
    min-height: 62px;
    gap: 6px;
  }

  .car-price {
    margin-top: 14px;
    font-size: 21px;
  }

  .listing-actions {
    gap: 6px;
  }

  .listing-actions .button-link,
  .listing-actions .car-action {
    min-height: 40px;
    padding: 8px 6px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .v-home-hero,
  .v-feature-split,
  .v-contract,
  .v-contacts {
    grid-template-columns: 1fr;
  }

  .v-home-photo {
    min-height: 620px;
  }

  .v-home-offer {
    min-height: 650px;
  }

  .v-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v-contact-band,
  .v-portal {
    grid-template-columns: 1fr;
  }

  .v-contact-actions,
  .v-portal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v-feature-visual,
  .v-contract-image {
    min-height: 600px;
  }
}

@media (max-width: 640px) {
  .vinkot-home {
    padding: 94px 12px 0;
  }

  .v-home-hero,
  .v-feature-split,
  .v-contract {
    border-radius: 24px;
  }

  .v-home-photo {
    min-height: 450px;
  }

  .v-home-offer {
    min-height: 590px;
    padding: 48px 20px;
  }

  .v-home-offer h1 {
    font-size: 50px;
  }

  .v-home-actions,
  .v-home-actions > * {
    width: 100%;
  }

  .v-contact-band,
  .v-portal {
    padding: 38px 22px;
    border-radius: 22px;
  }

  .v-contact-actions,
  .v-portal-actions,
  .v-principle-grid,
  .v-process-grid {
    grid-template-columns: 1fr;
  }

  .v-principles,
  .v-process {
    padding: 76px 6px;
  }

  .v-principle-grid article {
    min-height: 240px;
  }

  .v-principle-grid span {
    margin-bottom: 40px;
  }

  .v-feature-visual,
  .v-contract-image {
    min-height: 480px;
  }

  .v-feature-content,
  .v-contract-content {
    padding: 42px 22px;
  }

  .v-section-heading h2,
  .v-feature-content h2,
  .v-contract-content h2,
  .v-contacts h2 {
    font-size: 42px;
  }

  .v-process-grid article {
    grid-template-columns: 52px 1fr;
    padding: 22px 18px;
  }

  .v-process-grid b {
    width: 48px;
    height: 48px;
  }

  .v-contacts {
    gap: 36px;
    padding: 72px 18px;
    border-radius: 24px 24px 0 0;
  }
}

/* Catalog/listing polish */
.listing-card .car-price,
.catalog-grid .car-price {
  color: #111;
}

.report-grid em {
  color: #a33b3b;
  font-size: 12px;
  font-style: normal;
}

.report-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.report-detail-list article {
  overflow: hidden;
  background: #eceae4;
  border-radius: 14px;
}

.report-detail-title {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(105, 82, 248, .08);
}

.report-detail-title span {
  color: #6952f8;
  font-size: 12px;
  font-weight: 800;
}

.report-detail-title strong {
  font-size: 16px;
}

.report-detail-list ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-detail-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  gap: 14px;
  padding: 12px 16px;
  border-top: 1px solid rgba(17, 17, 17, .08);
}

.report-detail-list li span {
  min-width: 0;
  color: #555;
}

.report-detail-list li strong {
  text-align: right;
}

/* Client cabinet and admin workspace */
.client-panel.standalone,
#adminPanel {
  width: 100%;
}

.client-dashboard,
.admin-dashboard {
  display: grid;
  gap: 18px;
}

.client-hero-card,
.admin-command-bar,
.portal-card,
.admin-card {
  background: #fefbf6;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .055);
}

.client-hero-card,
.admin-command-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.client-hero-card h2,
.admin-command-bar h2 {
  max-width: 820px;
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 800;
  line-height: .98;
}

.client-hero-card p,
.portal-card p,
.admin-card p,
.portal-empty p {
  color: #626262;
  line-height: 1.6;
}

.client-progress-ring {
  display: flex;
  flex-direction: column;
  width: 150px;
  height: 150px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #111;
  background:
    radial-gradient(circle closest-side, #fefbf6 72%, transparent 73%),
    conic-gradient(#6952f8 var(--progress), #e4e1da 0);
  border-radius: 50%;
}

.client-progress-ring strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.client-progress-ring span {
  display: block;
  max-width: 84px;
  color: #696969;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-metrics article {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 22px;
  background: #fefbf6;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.portal-metrics span {
  color: #777;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-metrics strong {
  align-self: end;
  font-size: 22px;
  line-height: 1.18;
}

.client-layout,
.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
  align-items: start;
}

.portal-card,
.admin-card {
  padding: 24px;
}

.portal-card-head,
.admin-car-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.portal-card-head h3,
.admin-car-title strong,
.portal-empty h3 {
  margin: 0;
  font-size: 24px;
}

.portal-card-head > span,
.admin-car-title small,
.doc-row small,
.payment-row small,
.admin-row small,
.task-board small,
.message-list small {
  color: #777;
  font-size: 12px;
}

.route-point.done {
  background: #6952f8;
}

.manager-card {
  position: sticky;
  top: 106px;
}

.manager-actions,
.admin-actions {
  display: grid;
  gap: 10px;
}

.timeline.enhanced {
  margin: 0;
}

.timeline.enhanced .timeline-item {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  background: #fffdf8;
  border-radius: 14px;
}

.timeline.enhanced .timeline-item small {
  display: block;
  margin-top: 4px;
  color: #777;
}

.docs-list.enhanced .doc-row {
  border: 0;
  border-radius: 14px;
}

.payment-list,
.message-list,
.task-board,
.admin-car-list,
.client-admin-grid {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: center;
  padding: 15px;
  background: #fffdf8;
  border-radius: 14px;
}

.payment-row > div {
  min-width: 0;
}

.payment-row strong,
.payment-row small {
  display: block;
}

.payment-row strong {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.payment-row small {
  margin-top: 5px;
}

.payment-row span {
  font-weight: 900;
  white-space: nowrap;
}

.payment-row.paid {
  border-left: 4px solid #6952f8;
}

.payment-row.planned {
  border-left: 4px solid #d7c18e;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist-grid div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fffdf8;
  border-radius: 14px;
  color: #555;
}

.checklist-grid span {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #c9c5bb;
  border-radius: 50%;
}

.checklist-grid .done span {
  background: #6952f8;
  border-color: #6952f8;
  box-shadow: inset 0 0 0 4px #fff;
}

.checklist-grid .done {
  color: #111;
  font-weight: 700;
}

.message-list div {
  padding: 15px;
  background: #fffdf8;
  border-radius: 14px;
}

.message-list strong,
.message-list small {
  display: block;
}

.message-list p {
  margin: 8px 0 0;
}

.chat-panel {
  display: grid;
  gap: 14px;
}

.chat-thread {
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.chat-message {
  width: min(86%, 520px);
}

.chat-message.from-client {
  justify-self: end;
  background: #f0eefc;
}

.chat-message.from-team {
  justify-self: start;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  background: #fffdf8;
  border-radius: 16px;
}

.chat-form textarea {
  min-height: 54px;
  max-height: 140px;
  border-radius: 12px;
  resize: vertical;
}

.chat-form .primary {
  min-width: 140px;
  align-self: stretch;
}

.portal-empty {
  padding: clamp(26px, 5vw, 48px);
  text-align: left;
}

.admin-command-bar {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: #fefbf6;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 18px;
  color: #555;
  background: transparent;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
}

.admin-tabs button.active {
  color: #fff;
  background: #2e2e2e;
}

.status-tabs.compact {
  margin: 0;
}

.admin-table.modern {
  gap: 8px;
}

.admin-table.modern .admin-row {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) 140px 110px;
  padding: 14px;
  background: #fffdf8;
  border: 0;
  border-radius: 14px;
}

.admin-table.modern .admin-row > div,
.admin-table.modern .admin-row > div strong,
.admin-table.modern .admin-row > div small {
  display: block;
}

.admin-table.modern select,
.admin-car-form input,
.admin-car-form select {
  min-height: 42px;
  border-radius: 12px;
}

.admin-car-list article,
.client-admin-grid article,
.task-board article {
  padding: 16px;
  background: #fffdf8;
  border-radius: 16px;
}

.admin-car-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-car-form .primary {
  grid-column: 1 / -1;
}

.client-admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-admin-grid p {
  margin: 8px 0 14px;
}

.task-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.task-board.compact {
  grid-template-columns: 1fr;
}

.task-board article {
  display: grid;
  gap: 8px;
}

.task-board article > span {
  color: #6952f8;
  font-size: 12px;
  font-weight: 800;
}

.task-board .ghost {
  justify-self: start;
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

.admin-chat-grid {
  display: grid;
  gap: 14px;
}

.admin-chat-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fffdf8;
  border-radius: 18px;
}

/* Catalog refinement */
.catalog-heading {
  position: relative;
  overflow: hidden;
}

.catalog-heading::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: -90px;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgba(105, 82, 248, .13), transparent 68%);
  pointer-events: none;
}

.catalog-heading > * {
  position: relative;
  z-index: 1;
}

.catalog-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.catalog-quick-facts span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 13px;
  color: #111;
  background: #fefbf6;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .045);
  font-size: 12px;
  font-weight: 800;
}

.catalog-workspace {
  align-items: start;
}

.catalog-filters {
  border: 1px solid rgba(105, 82, 248, .08);
}

.filter-title h2 {
  font-weight: 900;
}

.filter-field span,
.sort-control span {
  color: #555;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.catalog-toolbar {
  padding: 16px 18px;
  background: #fefbf6;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
}

.catalog-toolbar strong {
  font-size: 18px;
}

.listing-card {
  position: relative;
}

.listing-card .car-card-body {
  display: grid;
}

.car-brand {
  color: #6952f8;
}

.listing-specs span {
  padding: 7px 9px;
  background: #f3f1eb;
  border-radius: 999px;
}

.car-price {
  color: #111;
}

.listing-actions .secondary {
  color: #fff;
}

@media (max-width: 980px) {
  .portal-metrics,
  .client-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-layout,
  .admin-split,
  .admin-command-bar,
  .client-hero-card {
    grid-template-columns: 1fr;
  }

  .manager-card {
    position: static;
  }

  .admin-table.modern .admin-row {
    grid-template-columns: 1fr 1fr;
  }

  .payment-row {
    grid-template-columns: 1fr;
  }

  .payment-row span {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .portal-metrics,
  .checklist-grid,
  .task-board,
  .client-admin-grid,
  .admin-car-form,
  .admin-table.modern .admin-row {
    grid-template-columns: 1fr;
  }

  .client-progress-ring {
    width: 128px;
    height: 128px;
  }

  .client-progress-ring strong {
    font-size: 29px;
  }

  .client-progress-ring span {
    max-width: 76px;
    font-size: 11px;
  }

  .client-hero-card,
  .admin-command-bar,
  .portal-card,
  .admin-card {
    border-radius: 18px;
  }

  .portal-card,
  .admin-card {
    padding: 18px;
  }

  .portal-card-head,
  .admin-car-title {
    flex-direction: column;
  }

  .catalog-quick-facts {
    margin-top: 16px;
  }

  .catalog-quick-facts span {
    min-height: 31px;
    font-size: 11px;
  }

  .catalog-toolbar {
    padding: 14px;
  }

  .chat-message {
    width: 100%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form .primary {
    width: 100%;
  }

  .badge {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .catalog-main {
    padding-top: 82px;
  }

  .catalog-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px 18px;
  }

  .catalog-heading h1 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .catalog-heading p:not(.section-kicker) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .sync-status {
    width: 100%;
    min-width: 0;
    padding: 14px;
    border-radius: 16px;
  }

  .catalog-workspace {
    padding: 16px 14px 56px;
  }

  .catalog-toolbar {
    gap: 12px;
    margin-bottom: 14px;
  }

  .catalog-toolbar strong {
    font-size: 16px;
  }

  .catalog-toolbar small {
    font-size: 12px;
    line-height: 1.35;
  }

  .car-card h2 {
    min-height: 0;
    font-size: 18px;
  }

  .listing-specs {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .listing-specs span {
    white-space: normal;
  }

  .car-price {
    font-size: 22px;
  }

  .listing-actions .button-link,
  .listing-actions .car-action {
    font-size: 13px;
    white-space: normal;
  }

  .report-detail-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .report-detail-list li strong {
    text-align: left;
  }
}

/* Desktop density pass */
@media (min-width: 981px) {
  body {
    font-size: 14px;
  }

  .topbar,
  .topbar.scrolled {
    min-height: 56px;
    padding: 5px 20px;
  }

  .brand-logo {
    width: 56px;
    height: 38px;
  }

  .nav {
    gap: 20px;
    font-size: 12px;
  }

  .primary,
  .secondary,
  .ghost,
  .danger,
  .button-link,
  .car-action {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 12px;
  }

  .page-main,
  .catalog-main,
  .listing-main {
    padding-top: 76px;
  }

  .page-hero {
    padding: 42px clamp(18px, 4vw, 56px) 18px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 4vw, 54px);
  }

  .page-hero p,
  .portal-card p,
  .admin-card p,
  .portal-empty p {
    font-size: 14px;
    line-height: 1.45;
  }

  .section {
    padding: 56px clamp(18px, 4vw, 56px);
  }

  h1 {
    font-size: clamp(38px, 5vw, 64px);
  }

  h2 {
    font-size: clamp(28px, 3.4vw, 46px);
  }

  h3 {
    font-size: 19px;
  }

  .client-dashboard,
  .admin-dashboard {
    gap: 14px;
  }

  .client-hero-card,
  .admin-command-bar {
    gap: 18px;
    padding: 22px 26px;
    border-radius: 18px;
  }

  .client-hero-card h2,
  .admin-command-bar h2 {
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 42px);
  }

  .client-progress-ring {
    width: 118px;
    height: 118px;
    gap: 4px;
  }

  .client-progress-ring strong {
    font-size: 27px;
  }

  .client-progress-ring span {
    max-width: 68px;
    font-size: 10px;
  }

  .portal-metrics {
    gap: 10px;
  }

  .portal-metrics article {
    min-height: 86px;
    padding: 16px;
    border-radius: 14px;
  }

  .portal-metrics span {
    font-size: 10px;
  }

  .portal-metrics strong {
    font-size: 17px;
  }

  .client-layout,
  .admin-split {
    gap: 14px;
  }

  .portal-card,
  .admin-card {
    padding: 18px;
    border-radius: 16px;
  }

  .portal-card-head,
  .admin-car-title {
    gap: 12px;
    margin-bottom: 12px;
  }

  .portal-card-head h3,
  .admin-car-title strong,
  .portal-empty h3 {
    font-size: 20px;
  }

  .timeline.enhanced .timeline-item,
  .doc-row,
  .payment-row,
  .message-list div,
  .admin-car-list article,
  .client-admin-grid article,
  .task-board article,
  .admin-chat-card {
    padding: 12px;
    border-radius: 12px;
  }

  .timeline.enhanced .timeline-item {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .dot {
    width: 12px;
    height: 12px;
  }

  .payment-row,
  .checklist-grid,
  .message-list,
  .task-board,
  .admin-car-list,
  .client-admin-grid {
    gap: 8px;
  }

  .checklist-grid div {
    padding: 11px;
    font-size: 13px;
  }

  .checklist-grid span {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .chat-thread {
    max-height: 320px;
  }

  .chat-form {
    gap: 8px;
    padding: 9px;
  }

  .chat-form textarea {
    min-height: 46px;
    font-size: 13px;
  }

  .chat-form .primary {
    min-width: 120px;
  }

  .admin-tabs button,
  .status-tabs button,
  .tabs button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }

  .admin-table.modern .admin-row {
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) 126px 96px;
    padding: 11px;
  }

  .admin-table.modern select,
  .admin-car-form input,
  .admin-car-form select,
  input,
  select,
  textarea {
    min-height: 40px;
    font-size: 13px;
  }

  .badge {
    min-height: 24px;
    padding: 3px 9px;
    font-size: 11px;
  }

  .catalog-heading {
    padding-top: 26px;
    padding-bottom: 18px;
  }

  .catalog-heading h1 {
    margin-bottom: 10px;
    font-size: clamp(30px, 3.5vw, 46px);
  }

  .catalog-heading p:not(.section-kicker) {
    font-size: 14px;
    line-height: 1.45;
  }

  .catalog-quick-facts {
    margin-top: 14px;
  }

  .catalog-quick-facts span {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .sync-status {
    padding: 14px;
    border-radius: 16px;
  }

  .catalog-workspace {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    padding: 10px clamp(18px, 4vw, 56px) 56px;
  }

  .catalog-filters {
    padding: 18px;
    border-radius: 18px;
  }

  .filter-title {
    margin-bottom: 16px;
  }

  .filter-title h2 {
    font-size: 18px;
  }

  .filter-field {
    gap: 6px;
    margin-bottom: 12px;
  }

  .filter-field input,
  .filter-field select,
  .sort-control select {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .power-toggle {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .filter-note {
    font-size: 11px;
  }

  .catalog-toolbar {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .catalog-toolbar strong {
    font-size: 15px;
  }

  .catalog-toolbar small {
    font-size: 11px;
  }

  .catalog-grid {
    gap: 12px;
  }

  .car-card {
    border-radius: 16px;
  }

  .car-image-wrap {
    border-radius: 16px 16px 0 0;
  }

  .car-card-body {
    padding: 13px;
  }

  .car-brand {
    font-size: 10px;
  }

  .car-card h2 {
    min-height: 34px;
    margin: 5px 0 9px;
    font-size: 16px;
  }

  .listing-specs {
    min-height: 0;
    gap: 5px;
    margin-top: 10px;
  }

  .listing-specs span {
    padding: 5px 7px;
    font-size: 10px;
  }

  .car-price {
    margin-top: 10px;
    font-size: 18px;
  }

  .car-price-source,
  .bare-price-note {
    min-height: 0;
    font-size: 10px;
  }

  .listing-actions {
    margin-top: 12px;
  }

  .listing-main {
    padding: 76px clamp(18px, 4vw, 56px) 56px;
  }

  .listing-detail-head {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .back-link {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .listing-title-row {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 28px;
  }

  .listing-title-row h1 {
    font-size: clamp(30px, 3.5vw, 46px);
  }

  .listing-price-box {
    padding: 18px;
    border-radius: 16px;
  }

  .listing-price-box strong {
    font-size: 24px;
  }

  .listing-gallery {
    grid-auto-rows: 112px;
    gap: 8px;
    margin-bottom: 24px;
  }

  .listing-detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }

  .detail-section {
    padding: 18px;
    border-radius: 16px;
  }

  .detail-section h2 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .spec-table div {
    gap: 10px;
    padding: 10px 0;
  }

  .feature-list span,
  .report-grid div {
    font-size: 12px;
  }

  .listing-sticky {
    top: 88px;
    padding: 20px;
    border-radius: 16px;
  }

  .listing-sticky h3 {
    font-size: 23px;
  }

  .vinkot-home {
    padding-top: 72px;
  }

  .v-home-hero {
    min-height: min(560px, calc(100vh - 86px));
    border-radius: 22px;
  }

  .v-home-photo {
    min-height: 480px;
  }

  .v-home-offer h1 {
    font-size: clamp(36px, 4vw, 54px);
  }

  .v-principles,
  .v-process {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .v-contact-band,
  .v-portal {
    padding: 24px clamp(22px, 3vw, 42px);
  }
}

/* Listing clarity pass */
.listing-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.listing-price-box > span,
.sticky-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.listing-price-box > span {
  color: var(--gold);
}

.listing-section-head {
  display: grid;
  gap: 7px;
  margin-bottom: 22px;
}

.listing-section-head h2 {
  margin-bottom: 0;
}

.listing-section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sticky-kicker {
  color: var(--gold);
}

.sticky-checklist {
  display: grid;
  gap: 9px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.sticky-checklist div {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.sticky-checklist span {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.sticky-checklist p {
  margin: 0;
  font-size: 13px;
}

.vinkot-check-section {
  border-left: 4px solid var(--gold);
}

.vinkot-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vinkot-check-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(17, 20, 20, .1);
  border-radius: 12px;
  background: #f6f2e9;
}

.vinkot-check-grid strong {
  font-size: 15px;
}

.vinkot-check-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (min-width: 981px) {
  .listing-lead {
    font-size: 14px;
  }

  .vinkot-check-grid {
    grid-template-columns: 1fr;
  }
}

/* Catalog card title clarity */
.listing-card .car-card-body h2 {
  display: block;
  min-height: 0;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.18;
}

.listing-card .car-brand {
  min-height: 0;
  margin-bottom: 12px;
  color: #6952f8;
  font-size: 11px;
}

@media (min-width: 981px) {
  .listing-card .car-card-body h2 {
    font-size: 18px;
  }
}

/* Catalog usability pass */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.active-filters[hidden] {
  display: none;
}

.active-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(105, 82, 248, .18);
  border-radius: 999px;
  background: rgba(105, 82, 248, .08);
  color: #33277a;
  font-size: 12px;
  font-weight: 800;
}

.catalog-empty .secondary {
  margin-top: 18px;
}

.catalog-empty {
  border-radius: 16px;
}

.price-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin-top: 12px;
  padding: 4px 9px;
  color: var(--green-2);
  background: rgba(199, 157, 81, .18);
  border: 1px solid rgba(199, 157, 81, .34);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.price-warning {
  margin-top: 12px;
  padding: 12px 14px;
  color: #693c00;
  background: rgba(199, 157, 81, .15);
  border: 1px solid rgba(199, 157, 81, .32);
  border-radius: 12px;
  line-height: 1.45;
}

.price-range-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.price-range-fields input {
  min-width: 0;
}

.listing-service-actions {
  display: grid;
  gap: 10px;
}

.listing-sticky .listing-service-button {
  display: flex;
  width: 100%;
  height: 46px;
  min-height: 46px;
  box-sizing: border-box;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.market-price-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.market-price-below_market { color: #fff; background: #dc3545; border-color: #dc3545; }
.market-price-excellent_price { color: #4c6416; background: #eafaaf; border-color: #d0e57f; }
.market-price-market_price { color: #fff; background: #16834a; border-color: #16834a; }
.market-price-above_market { color: #fff; background: #7c3aed; border-color: #7c3aed; }

.market-price-assessment {
  display: grid;
  gap: 6px;
}

.market-price-caption {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.listing-sticky .market-price-caption {
  color: rgba(255, 250, 242, .7);
}

.market-price-slot { min-height: 24px; margin-top: 10px; }
.market-price-pending,
.market-price-empty {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #565f67;
  background: #eceeeb;
  border: 1px solid #d5dbd3;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.market-price-pending::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #7c3aed;
}

.listing-form-description {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.listing-service-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.listing-service-field select {
  width: 100%;
}

.listing-form-status {
  margin: 0;
  color: #ad242d;
  font-size: 13px;
  line-height: 1.4;
}

.listing-form-status:empty { display: none; }

.listing-gallery.listing-slider {
  display: block;
  margin-bottom: 34px;
}

.listing-slider-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(340px, 50vh, 560px);
  min-height: 0;
  background: #e8e5de;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .16);
}

.listing-slider-blur {
  position: absolute;
  inset: -28px;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, .2), rgba(18, 18, 18, .04), rgba(18, 18, 18, .2)),
    var(--slider-bg);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(1.08);
  transform: scale(1.04);
}

.listing-slider-frame .gallery-main {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
}

.listing-slider-frame .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.listing-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(17, 17, 17, .72);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
}

.listing-slider-prev {
  left: 18px;
}

.listing-slider-next {
  right: 18px;
}

.listing-slider-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 8px 12px;
  color: #fff;
  background: rgba(17, 17, 17, .72);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.listing-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  overflow: hidden;
  height: 74px;
  padding: 0;
  background: #e8e5de;
  border: 2px solid transparent;
  border-radius: 14px;
}

.gallery-thumb.is-active {
  border-color: var(--violet);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .price-range-fields {
    grid-template-columns: 1fr;
  }

  .listing-slider-frame {
    height: clamp(230px, 48vh, 360px);
    min-height: 0;
    border-radius: 18px;
  }

  .listing-slider-nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .listing-slider-prev {
    left: 10px;
  }

  .listing-slider-next {
    right: 10px;
  }

  .listing-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gallery-thumb {
    flex: 0 0 86px;
    height: 62px;
  }
}
