:root {
  --max: 1280px;
  --transition: 0.28s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background var(--transition), color var(--transition);
}

body.theme-premium {
  background:
    radial-gradient(circle at top left, rgba(108,99,255,0.20), transparent 26%),
    radial-gradient(circle at top right, rgba(59,130,246,0.16), transparent 24%),
    linear-gradient(180deg, #070b16 0%, #0b1222 100%);
  color: #f5f7fb;
}

body.theme-corporate {
  background:
    radial-gradient(circle at top left, rgba(15,76,129,0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(37,99,235,0.08), transparent 24%),
    linear-gradient(180deg, #eef3f8 0%, #f8fbff 100%);
  color: #0f172a;
}

body.modal-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

body.theme-premium .navbar {
  background: rgba(7,11,22,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .navbar {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 8px 24px rgba(15,23,42,0.04);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 28px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

body.theme-premium .brand-mark {
  background: linear-gradient(135deg, #6c63ff, #3b82f6);
  color: #fff;
  box-shadow: 0 12px 24px rgba(59,130,246,0.24);
}

body.theme-corporate .brand-mark {
  background: #0f4c81;
  color: #fff;
  box-shadow: 0 10px 20px rgba(15,76,129,0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}

body.theme-premium .nav-link { color: #c8d1e0; }
body.theme-premium .nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

body.theme-corporate .nav-link { color: #475569; }
body.theme-corporate .nav-link:hover {
  background: rgba(15,76,129,0.08);
  color: #0f4c81;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
}

body.theme-premium .chip-group {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .chip-group {
  background: rgba(15,76,129,0.06);
  border: 1px solid rgba(15,23,42,0.08);
}

.chip-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.chip-btn:hover { transform: translateY(-1px); }

body.theme-premium .chip-btn {
  background: transparent;
  color: #c8d1e0;
}

body.theme-premium .chip-btn.active {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

body.theme-corporate .chip-btn {
  background: transparent;
  color: #475569;
}

body.theme-corporate .chip-btn.active {
  background: #0f4c81;
  color: #fff;
}

.theme-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.theme-btn .theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero {
  padding: 42px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main,
.hero-side {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  min-height: 620px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

body.theme-premium .hero-main,
body.theme-premium .hero-side {
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

body.theme-corporate .hero-main,
body.theme-corporate .hero-side {
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 24px 50px rgba(15,23,42,0.08);
  background: #fff;
}

.hero-main {
  display: flex;
  align-items: stretch;
  background-color: transparent;
  min-height: 620px;
}

.hero-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.theme-premium .hero-shell::after {
  background:
    linear-gradient(135deg, rgba(7,11,22,0.26), rgba(7,11,22,0.08)),
    linear-gradient(180deg, rgba(7,11,22,0.00), rgba(7,11,22,0.82));
}

body.theme-corporate .hero-shell::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    linear-gradient(180deg, rgba(255,255,255,0.00), rgba(255,255,255,0.88));
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 34px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}

body.theme-premium .hero-badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: #dbe4f3;
}

body.theme-corporate .hero-badge {
  background: rgba(15,76,129,0.08);
  border: 1px solid rgba(15,76,129,0.12);
  color: #0f4c81;
}

.hero-featured-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

body.theme-premium .hero-featured-badge {
  background: linear-gradient(135deg, rgba(108,99,255,0.92), rgba(59,130,246,0.92));
  color: #fff;
  box-shadow: 0 10px 20px rgba(59,130,246,0.20);
}

body.theme-corporate .hero-featured-badge {
  background: #0f4c81;
  color: #fff;
}

.hero-title {
  margin: 0 0 14px;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-text {
  margin: 0 0 24px;
  max-width: 660px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

body.theme-premium .hero-text { color: #dbe4f3; }
body.theme-corporate .hero-text { color: #334155; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover { transform: translateY(-2px); }

body.theme-premium .btn-primary {
  background: linear-gradient(135deg, #6c63ff, #3b82f6);
  color: #fff;
  box-shadow: 0 14px 30px rgba(59,130,246,0.26);
}

body.theme-corporate .btn-primary {
  background: #0f4c81;
  color: #fff;
  box-shadow: 0 14px 30px rgba(15,76,129,0.18);
}

body.theme-premium .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

body.theme-corporate .btn-secondary {
  background: #fff;
  color: #0f4c81;
  border: 1px solid rgba(15,76,129,0.16);
}

body.theme-premium .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
}

body.theme-corporate .btn-ghost {
  color: #0f4c81;
  border: 1px solid rgba(15,76,129,0.16);
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: 18px;
}

body.theme-premium .stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .stat-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.08);
}

.stat-label {
  font-size: 13px;
  line-height: 1.5;
}

body.theme-premium .stat-label { color: #dbe4f3; }
body.theme-corporate .stat-label { color: #475569; }

.hero-side {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.mini-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: 220px auto;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.mini-card:hover { transform: translateY(-3px); }

body.theme-premium .mini-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .mini-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}

.mini-card-body { padding: 18px; }

.mini-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.mini-card-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.mini-card-price {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

body.theme-premium .mini-card-price { color: #dbe4f3; }
body.theme-corporate .mini-card-price { color: #0f4c81; }

.mini-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.meta-pill {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

body.theme-premium .meta-pill {
  background: rgba(255,255,255,0.08);
  color: #dbe4f3;
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .meta-pill {
  background: rgba(15,76,129,0.08);
  color: #0f4c81;
  border: 1px solid rgba(15,76,129,0.10);
}

.image-shell {
  position: relative;
  overflow: hidden;
  background: transparent;
  width: 100%;
  height: 100%;
}

.image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-shell.is-empty img {
  display: none !important;
}

body.theme-premium .image-shell.is-empty {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    radial-gradient(circle at top left, rgba(108,99,255,0.16), transparent 35%);
}

body.theme-corporate .image-shell.is-empty {
  background:
    linear-gradient(135deg, rgba(15,76,129,0.05), rgba(37,99,235,0.03)),
    linear-gradient(180deg, #eef4fa, #f8fbff);
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.image-shell.is-empty .image-placeholder {
  display: flex;
}

.image-placeholder-inner {
  max-width: 360px;
}

.image-placeholder-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

body.theme-premium .image-placeholder-mark {
  background: linear-gradient(135deg, rgba(108,99,255,0.92), rgba(59,130,246,0.92));
  color: #fff;
  box-shadow: 0 14px 28px rgba(59,130,246,0.22);
}

body.theme-corporate .image-placeholder-mark {
  background: #0f4c81;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,76,129,0.16);
}

.image-placeholder-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.image-placeholder-text {
  font-size: 13px;
  line-height: 1.6;
}

body.theme-premium .image-placeholder-text { color: #c8d1e0; }
body.theme-corporate .image-placeholder-text { color: #64748b; }

.section {
  padding: 26px 0;
}

.section-header {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-text {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
}

body.theme-premium .section-text { color: #c8d1e0; }
body.theme-corporate .section-text { color: #64748b; }

.stock-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
}

.search-input,
.sort-select {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  outline: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

body.theme-premium .search-input,
body.theme-premium .sort-select {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

body.theme-premium .sort-select option {
  color: #0f172a;
}

body.theme-corporate .search-input,
body.theme-corporate .sort-select {
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  color: #0f172a;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  border: none;
  border-radius: 999px;
  padding: 11px 15px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.filter-btn:hover { transform: translateY(-1px); }

body.theme-premium .filter-btn {
  background: rgba(255,255,255,0.05);
  color: #c8d1e0;
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-premium .filter-btn.active {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

body.theme-corporate .filter-btn {
  background: #fff;
  color: #475569;
  border: 1px solid rgba(15,23,42,0.08);
}

body.theme-corporate .filter-btn.active {
  background: #0f4c81;
  color: #fff;
  border-color: #0f4c81;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.vehicle-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.vehicle-card:hover {
  transform: translateY(-3px);
}

body.theme-premium .vehicle-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.16);
}

body.theme-corporate .vehicle-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
}

.vehicle-card.is-featured {
  position: relative;
}

body.theme-premium .vehicle-card.is-featured {
  border-color: rgba(108,99,255,0.36);
  box-shadow: 0 24px 60px rgba(59,130,246,0.14);
}

body.theme-corporate .vehicle-card.is-featured {
  border-color: rgba(15,76,129,0.22);
  box-shadow: 0 18px 48px rgba(15,76,129,0.10);
}

.vehicle-image {
  min-height: 320px;
  overflow: hidden;
}

.vehicle-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vehicle-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.vehicle-name {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.vehicle-category {
  font-size: 14px;
}

body.theme-premium .vehicle-category { color: #c8d1e0; }
body.theme-corporate .vehicle-category { color: #64748b; }

.vehicle-price {
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

body.theme-premium .vehicle-price { color: #fff; }
body.theme-corporate .vehicle-price { color: #0f4c81; }

.vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.vehicle-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  width: fit-content;
}

body.theme-premium .vehicle-badge {
  background: rgba(255,255,255,0.08);
  color: #dbe4f3;
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .vehicle-badge {
  background: rgba(15,76,129,0.08);
  color: #0f4c81;
  border: 1px solid rgba(15,76,129,0.10);
}

.vehicle-badge.is-featured {
  background: linear-gradient(135deg, #6c63ff, #3b82f6) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.vehicle-badge.status-available {
  box-shadow: inset 0 0 0 1px rgba(34,197,94,0.22);
}

.vehicle-badge.status-fast_import {
  box-shadow: inset 0 0 0 1px rgba(245,158,11,0.22);
}

.vehicle-badge.status-custom_order {
  box-shadow: inset 0 0 0 1px rgba(168,85,247,0.22);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.spec-item {
  padding: 14px;
  border-radius: 18px;
}

body.theme-premium .spec-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}

body.theme-corporate .spec-item {
  background: #f8fbff;
  border: 1px solid rgba(15,23,42,0.06);
}

.spec-label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

body.theme-premium .spec-label { color: #94a3b8; }
body.theme-corporate .spec-label { color: #64748b; }

.spec-value {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.vehicle-description {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
}

body.theme-premium .vehicle-description { color: #c8d1e0; }
body.theme-corporate .vehicle-description { color: #64748b; }

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.empty-state {
  padding: 34px 24px;
  border-radius: 24px;
  text-align: center;
}

body.theme-premium .empty-state {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .empty-state {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.empty-state p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

body.theme-premium .empty-state p { color: #c8d1e0; }
body.theme-corporate .empty-state p { color: #64748b; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  padding: 24px;
  border-radius: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.info-card:hover { transform: translateY(-3px); }

body.theme-premium .info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .info-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

body.theme-premium .info-card p { color: #c8d1e0; }
body.theme-corporate .info-card p { color: #64748b; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-card {
  padding: 24px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

body.theme-premium .process-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .process-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}

.process-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
}

body.theme-premium .process-number {
  background: linear-gradient(135deg, #6c63ff, #3b82f6);
  color: #fff;
}

body.theme-corporate .process-number {
  background: #0f4c81;
  color: #fff;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.process-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

body.theme-premium .process-card p { color: #c8d1e0; }
body.theme-corporate .process-card p { color: #64748b; }

.cta-box {
  padding: 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

body.theme-premium .cta-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.14), rgba(59,130,246,0.10));
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .cta-box {
  background: linear-gradient(135deg, rgba(15,76,129,0.08), rgba(37,99,235,0.05));
  border: 1px solid rgba(15,23,42,0.08);
}

.cta-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.cta-copy p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
}

body.theme-premium .cta-copy p { color: #dbe4f3; }
body.theme-corporate .cta-copy p { color: #475569; }

.contact-card {
  padding: 24px;
  border-radius: 24px;
}

body.theme-premium .contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .contact-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
}

.contact-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

body.theme-premium .contact-form input,
body.theme-premium .contact-form textarea {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

body.theme-premium .contact-form input::placeholder,
body.theme-premium .contact-form textarea::placeholder {
  color: #a8b3c7;
}

body.theme-corporate .contact-form input,
body.theme-corporate .contact-form textarea {
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  color: #0f172a;
}

body.theme-corporate .contact-form input::placeholder,
body.theme-corporate .contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 12px;
}

body.theme-premium .contact-meta-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #dbe4f3;
}

body.theme-corporate .contact-meta-item {
  border-bottom: 1px solid rgba(15,23,42,0.08);
  color: #334155;
}

.footer {
  padding: 34px 0 56px;
  font-size: 14px;
}

body.theme-premium .footer { color: #94a3b8; }
body.theme-corporate .footer { color: #64748b; }

.footer-line {
  padding-top: 24px;
  border-top: 1px solid;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

body.theme-premium .footer-line { border-color: rgba(255,255,255,0.08); }
body.theme-corporate .footer-line { border-color: rgba(15,23,42,0.08); }

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: blur(10px);
}

.detail-modal.is-open {
  display: flex;
}

.detail-dialog {
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 28px;
  position: relative;
}

body.theme-premium .detail-dialog {
  background: linear-gradient(180deg, #0b1222 0%, #0a1020 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
  color: #f5f7fb;
}

body.theme-corporate .detail-dialog {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 24px 60px rgba(15,23,42,0.18);
  color: #0f172a;
}

.detail-close {
  position: sticky;
  top: 14px;
  margin-left: auto;
  margin-right: 14px;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  pointer-events: none;
}

.detail-close .btn {
  pointer-events: auto;
}

.detail-content {
  padding: 0 24px 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.detail-main-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
}

body.theme-premium .detail-main-image {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

body.theme-corporate .detail-main-image {
  border: 1px solid rgba(15,23,42,0.08);
  background: #f8fbff;
}

.detail-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumb {
  border: none;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  min-height: 86px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body.theme-premium .detail-thumb {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .detail-thumb {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
}

.detail-thumb:hover {
  transform: translateY(-2px);
}

.detail-thumb.is-active {
  box-shadow: 0 0 0 2px rgba(59,130,246,0.50);
}

.detail-panel {
  display: grid;
  gap: 18px;
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  flex-wrap: wrap;
}

.detail-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.detail-subtitle {
  font-size: 15px;
}

body.theme-premium .detail-subtitle { color: #c8d1e0; }
body.theme-corporate .detail-subtitle { color: #64748b; }

.detail-price {
  font-size: 28px;
  font-weight: 900;
  white-space: nowrap;
}

body.theme-premium .detail-price { color: #fff; }
body.theme-corporate .detail-price { color: #0f4c81; }

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-section-card {
  padding: 20px;
  border-radius: 22px;
}

body.theme-premium .detail-section-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

body.theme-corporate .detail-section-card {
  background: #f8fbff;
  border: 1px solid rgba(15,23,42,0.08);
}

.detail-section-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.detail-description {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

body.theme-premium .detail-description { color: #dbe4f3; }
body.theme-corporate .detail-description { color: #475569; }

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .hero-grid,
  .cta-box,
  .info-grid,
  .process-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-card {
    grid-template-columns: 1fr;
  }

  .vehicle-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-main,
  .hero-side {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stock-toolbar {
    grid-template-columns: 1fr;
  }

  .detail-main-image {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .nav-inner {
    align-items: stretch;
  }

  .nav-links,
  .nav-controls {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .vehicle-specs,
  .detail-thumb-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 24px;
  }

  .vehicle-body {
    padding: 22px;
  }

  .vehicle-name {
    font-size: 28px;
  }

  .vehicle-price {
    font-size: 20px;
  }

  .container {
    padding: 0 18px;
  }

  .detail-content {
    padding: 0 16px 16px;
  }

  .detail-modal {
    padding: 12px;
  }
}