:root {
  --black: #0a0a0a;
  --deep: #111214;
  --carbon: #1a1c1f;
  --steel: #2c2f35;
  --mid: #4a4f58;
  --muted: #bcc6d1;
  --silver: #d7dde4;
  --light: #e1e6ec;
  --white: #f5f5f0;
  --accent: #b8c4cc;
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --sold-card-width: 360px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 120px;
  padding: 10px 0;
  margin-top: 10px;
  list-style: none;
  background: rgba(17, 18, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--silver);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-cta,
.btn-primary,
.btn-outline {
  display: inline-block;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 10px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.page-hero {
  position: relative;
  padding: 160px 72px 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(201, 169, 110, 0.14) 0%, transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(44, 47, 53, 0.6) 0%, transparent 42%),
    linear-gradient(180deg, #0d0e10 0%, #111214 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.38) 100%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 82px 82px;
  opacity: 0.9;
}

.hero-glow {
  position: absolute;
  right: -120px;
  top: 120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 138, 0.16) 0%, rgba(232, 201, 138, 0) 70%);
  filter: blur(18px);
}

.page-hero-inner,
.section-shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 360px);
  gap: 34px;
  align-items: end;
}

.hero-copy {
  max-width: 860px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  max-width: 980px;
  margin-bottom: 22px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.85;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-rule-cards {
  display: grid;
  gap: 14px;
}

.rule-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.rule-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.rule-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.rule-card-subvalue {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 245, 240, 0.72);
}

.sold-gallery {
  position: relative;
  padding: 120px 72px;
  background: var(--carbon);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sold-gallery::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 110, 0.5) 50%, transparent 100%);
  opacity: 0.45;
}

.gallery-header {
  max-width: 1320px;
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
}

.gallery-copy .section-title {
  margin-bottom: 0;
  max-width: 760px;
}

.gallery-note {
  align-self: end;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.sold-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, var(--sold-card-width)));
  justify-content: center;
  gap: 24px;
}

.sold-card {
  position: relative;
  background: var(--deep);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.sold-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}

.sold-badge {
  position: absolute;
  top: 24px;
  left: -62px;
  z-index: 4;
  width: 220px;
  padding: 12px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.1) 18%, rgba(255, 52, 52, 0.82) 50%, rgba(196, 12, 12, 0.86) 100%);
  color: rgba(255, 255, 255, 0.96);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 0 34px rgba(255, 36, 36, 0.46);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  text-shadow: 0 1px 8px rgba(80, 0, 0, 0.28);
  transform: rotate(-45deg);
  transform-origin: center;
  overflow: hidden;
}

.sold-badge::before,
.sold-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sold-badge::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
}

.sold-badge::after {
  inset: 2px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 76% 68%, rgba(255, 120, 120, 0.24) 0%, rgba(255, 255, 255, 0) 24%);
  opacity: 0.8;
}

.sold-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.sold-visual--image {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(17, 18, 20, 0.08) 100%);
}

.sold-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
}

.sold-card--genesis .sold-image {
  object-position: 50% 56%;
}

.sold-card--mercedes .sold-image {
  object-position: 58% 48%;
}

.sold-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.12) 34%, rgba(10, 10, 10, 0.72) 100%),
    radial-gradient(circle at top right, rgba(201, 169, 110, 0.14) 0%, rgba(201, 169, 110, 0) 34%);
}

.sold-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0) 0%, rgba(7, 7, 7, 0.24) 18%, rgba(7, 7, 7, 0.62) 100%);
}

.sold-model {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 0.98;
  color: var(--white);
  max-width: 360px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.sold-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 223, 182, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.sold-copy {
  max-width: 360px;
  font-size: 13px;
  color: rgba(245, 245, 240, 0.88);
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  padding: 14px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 14px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

footer {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 72px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.18em;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-brand .tagline-footer {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

.contact-text a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.contact-text a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1200px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .gallery-header {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .page-hero,
  .sold-gallery,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .page-hero {
    padding-top: 160px;
  }

  .hero-actions {
    gap: 12px;
  }

  .gallery-header {
    gap: 18px;
  }

  .sold-badge {
    top: 20px;
    left: -68px;
    width: 210px;
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .sold-grid {
    grid-template-columns: repeat(2, minmax(280px, var(--sold-card-width)));
  }
}

@media (max-width: 640px) {
  .sold-grid {
    grid-template-columns: minmax(280px, var(--sold-card-width));
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .sold-card {
    aspect-ratio: 0.98 / 1;
  }

  .sold-badge {
    top: 18px;
    left: -72px;
    width: 200px;
    font-size: 16px;
  }

  .sold-body {
    padding: 20px 20px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}
