:root {
  --bg: #f4f6f8;
  --bg-soft: #fafbfc;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-soft: #f8f9fa;
  --text: #18232d;
  --muted: #5e6f80;
  --line: rgba(19, 30, 39, 0.08);
  --gold: #d7b77b;
  --gold-strong: #b98748;
  --gold-soft: #7a5a31;
  --tech: #7dbfc4;
  --tech-strong: #5aa1ac;
  --deep: #edf2f6;
  --shadow: 0 10px 28px rgba(18, 29, 38, 0.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f4f6f8 0%, #fbfcfd 100%);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

.wrap {
  width: min(1200px, calc(100vw - 32px));
  margin: auto;
}

header {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(20, 32, 41, 0.08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.calculator-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #d9b77d 0%, #e6d9b7 100%);
  box-shadow: 0 8px 18px rgba(22, 32, 40, 0.12);
  overflow: hidden;
}

.calculator-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pill {
  display: inline-block;
  border: 1px solid rgba(210, 179, 128, 0.3);
  color: var(--gold-soft);
  background: rgba(217, 187, 132, 0.08);
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand .pill { margin-left: auto; }

.hero {
  background: linear-gradient(180deg, #f7f9fb 0%, #f1f4f7 100%);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 58px 0 44px;
  align-items: center;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 18px 0 16px;
  color: #1a2733;
  text-shadow: none;
}

.hero p {
  color: #566b7c;
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 28px 0 12px;
}

nav button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  color: #243544;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

nav button:hover { border-color: rgba(184,135,73,0.4); }
nav button.active {
  background: linear-gradient(135deg, #f0dfb6, #d7b77b);
  color: #1a1c1f;
  border-color: transparent;
  box-shadow: none;
}

.workspace {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  margin-top: 16px;
}

.panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 36, 48, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: none;
}

.panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  margin: 12px 0 4px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #1f2d3a;
}

.muted { color: #5d6f80; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.field label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #213341;
}

.field label span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(35, 52, 68, 0.14);
  border-radius: 12px;
  background: #ffffff;
  color: #1b2a35;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field select {
  appearance: none;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  background-image: linear-gradient(45deg, transparent 50%, #b98748 50%), linear-gradient(135deg, #b98748 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  min-height: 54px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field select option {
  background: #ffffff;
  color: #1d2d39;
  padding: 10px 12px;
}

.field input:focus, .field select:focus {
  outline: none;
  border-color: rgba(87, 165, 182, 0.8);
  box-shadow: 0 0 0 4px rgba(125, 191, 196, 0.12);
  background: #ffffff;
}

.field-wide {
  grid-column: 1 / -1;
}

.vehicle-picker {
  margin-bottom: 8px;
}

.vehicle-picker__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.vehicle-picker__selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vehicle-picker__field {
  margin: 0;
}

.vehicle-picker__field label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #536778;
  margin-bottom: 8px;
}

.vehicle-picker__search {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid rgba(31, 45, 58, 0.12);
  border-radius: 10px;
  background: #ffffff;
  color: #1a2733;
  padding: 10px 12px;
  font-size: 14px;
}

.vehicle-picker__field select {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(31, 45, 58, 0.14);
  background: linear-gradient(180deg, #ffffff, #f5f7f9);
  color: #1a2733;
}

.vehicle-picker__field select option {
  background: #ffffff;
  color: #1d2d39;
}

@media (max-width: 640px) {
  .vehicle-picker__selects {
    grid-template-columns: 1fr;
  }
}

.result {
  background: linear-gradient(180deg, #f9fafb 0%, #f1f5f7 100%);
  color: #1d2a34;
}

.result-label {
  color: var(--gold-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

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

.stat {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(24, 35, 45, 0.07);
  color: var(--text);
  padding: 17px;
  border-radius: 16px;
}

.stat.accent {
  background: linear-gradient(135deg, rgba(125,191,196,0.08), rgba(217,187,132,0.12));
  border-color: rgba(184, 135, 73, 0.24);
}

.stat small {
  display: block;
  color: #536778;
}

.stat.accent small { color: #7a5a31; }

.stat b {
  display: block;
  font-size: 25px;
  margin-top: 5px;
  color: #18232d;
}

.bars { margin-top: 20px; }
.bar-row { margin: 12px 0; }
.bar-row label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #243544;
}
.bar-bg {
  height: 12px;
  background: rgba(24, 35, 45, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 5px;
  border: 1px solid rgba(24, 35, 45, 0.06);
}
.bar {
  height: 100%;
  background: linear-gradient(90deg, #d5b980, #b8884a);
  border-radius: 999px;
}
.bar.orange { background: linear-gradient(90deg, #a5c6d8, #7fa5bc); }

.notice, .warning {
  margin-top: 20px;
  padding: 15px 16px;
  border-radius: 13px;
  font-size: 14px;
}

.notice {
  background: rgba(125,191,196,0.08);
  color: #2a3d4d;
  border: 1px solid rgba(90, 161, 172, 0.18);
}

.warning {
  background: rgba(255,255,255,0.5);
  color: #4f6171;
  border: 1px solid rgba(184, 135, 73, 0.12);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0;
}

.features article {
  background: rgba(17,22,27,0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.features b {
  display: block;
  color: #f0e8d7;
  margin-bottom: 8px;
  font-size: 17px;
}

.features p { color: #a8b8c7; margin: 0; }

.catalog-shell {
  margin: 28px auto 42px;
  padding: 24px;
  border: 1px solid rgba(210, 179, 128, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 21, 28, 0.98), rgba(12, 16, 20, 0.98));
  box-shadow: var(--shadow);
}

.catalog-shell__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}

.catalog-shell__header h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f0f6fb;
}

.catalog-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(210, 179, 128, 0.22);
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(143,214,214,0.12), transparent 28%),
    linear-gradient(135deg, rgba(16, 23, 29, 0.98), rgba(10, 14, 18, 0.98));
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

.catalog-spotlight__media {
  position: relative;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(120, 213, 216, 0.12), rgba(217, 187, 132, 0.12));
  border: 1px solid rgba(210, 179, 128, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.catalog-spotlight__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.catalog-spotlight__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8b77c;
  font-weight: 700;
}

.catalog-spotlight__meta h3 {
  margin: 8px 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f5f8fc;
}

.catalog-spotlight__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.catalog-spotlight__stats div {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(210, 179, 128, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-spotlight__stats strong {
  display: block;
  font-size: 18px;
  color: #f0f6fb;
}

.catalog-spotlight__stats span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a4b7c7;
  margin-top: 4px;
}

.vehicle-catalog-table {
  overflow-x: auto;
  border: 1px solid rgba(180,156,124,0.18);
  border-radius: 18px;
  background: rgba(10, 15, 19, 0.84);
}

.vehicle-catalog-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.vehicle-catalog-table th,
.vehicle-catalog-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(180,156,124,0.14);
}

.vehicle-catalog-table thead th {
  color: var(--gold-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(143,214,214,0.04);
}

.vehicle-catalog-table tbody tr:hover {
  background: rgba(214,176,123,0.04);
}

.vehicle-catalog-table tbody td {
  color: #eaf3fa;
  font-size: 15px;
}

.vehicle-catalog-table tbody td strong {
  color: #f5f8fb;
  font-weight: 700;
}

.vehicle-catalog-table .muted-cell {
  color: #a8b8c7;
}

footer {
  border-top: 1px solid var(--line);
  background: rgba(10,13,17,0.8);
  padding: 28px 0;
  color: #a8b8c7;
  font-size: 14px;
}

@media (max-width: 850px) {
  .hero-grid, .workspace { grid-template-columns: 1fr; }
  .form, .stats, .features { grid-template-columns: 1fr; }
  .hero-cards { margin-top: 0; }
  .catalog-spotlight { grid-template-columns: 1fr; }
  .catalog-spotlight__stats { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { width: min(100vw - 20px, 1200px); }
  .brand { height: auto; padding: 14px 0; align-items: flex-start; flex-wrap: wrap; }
  .brand .pill { margin-left: 0; }
  .hero-grid { padding: 28px 0; gap: 20px; }
  .hero h1 { font-size: clamp(34px, 12vw, 52px); }
  .hero p { font-size: 16px; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  nav { padding-top: 18px; }
  nav button { padding: 9px 12px; font-size: 13px; }
  .workspace { gap: 16px; }
  .panel { padding: 18px; }
  .panel h2 { font-size: 32px; }
  .form { grid-template-columns: 1fr; gap: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat b { font-size: 20px; }
  .notice, .warning { padding: 12px; }
  .features { gap: 12px; }
  .features article { padding: 16px; }
  footer { text-align: center; padding: 20px 0; }
}
