:root {
  --black: #070707;
  --surface: #101010;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, 0.14);
  --ivory: #fbf7ed;
  --muted: #b8b5ad;
  --gold: #e5b84f;
  --gold-light: #f4d475;
  --success: #74d8a0;
  --danger: #ef8b7f;
  --radius: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -60px;
  background: var(--gold);
  color: #080808;
  padding: 10px 16px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 62px 0; }
.band { border-block: 1px solid var(--line); background: var(--surface); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 7, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand span { white-space: nowrap; }

.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { color: #ddd9cf; font-size: 0.95rem; font-weight: 650; padding: 29px 0 24px; border-bottom: 3px solid transparent; transition: 180ms ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--ivory); border-color: var(--gold); }

.nav-toggle { display: none; border: 0; background: transparent; color: var(--ivory); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #080808;
  font-weight: 850;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--gold-light); }
.button-outline { background: transparent; color: var(--ivory); }
.button-outline:hover, .button-outline:focus-visible { background: var(--gold); color: #080808; }
.button-block { width: 100%; }

.hero {
  min-height: min(650px, calc(100vh - 84px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.12) 68%, rgba(0,0,0,.02) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; width: min(680px, 57vw); padding: 92px 0; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5rem); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.04; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4.5rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.8rem); margin-bottom: 12px; }
.gold { color: var(--gold); }
.lead { color: #ddd9cf; font-size: clamp(1.04rem, 1.7vw, 1.28rem); max-width: 680px; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); max-width: 620px; margin-bottom: 0; }
.text-link { color: var(--gold); font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.home-content-layout {
  width: min(calc(100% - 40px), 1600px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 32px;
  align-items: start;
}
.home-main-column { min-width: 0; }
.home-main-column .section .container,
.home-main-column .cta-band .container { width: min(calc(100% - 40px), var(--max)); }
.ad-rail { display: grid; gap: 24px; padding: 88px 0; }
.ad-banner {
  width: 520px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(229, 184, 79, .58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(229, 184, 79, .08) 48% 52%, transparent 52% 100%),
    radial-gradient(circle at 50% 34%, rgba(229, 184, 79, .16), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.ad-banner::before,
.ad-banner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(229, 184, 79, .24);
  border-radius: 10px;
  pointer-events: none;
}
.ad-banner::after {
  inset: auto 50% 54px;
  width: 76px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}
.ad-banner span { color: var(--gold); font-size: .74rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.ad-banner strong { margin-top: 12px; color: var(--ivory); font-size: clamp(2.6rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.ad-banner p { margin: 16px 0 0; color: var(--muted); font-size: 1rem; }

.inventory-preview, .inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 180ms ease, border-color 180ms ease; }
.car-card:hover { transform: translateY(-5px); border-color: rgba(229, 184, 79, .72); }
.car-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ddd; }
.car-card-body { padding: 20px; }
.car-card-top { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.car-card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.price { color: var(--gold-light); font-size: 1.16rem; font-weight: 900; white-space: nowrap; }
.specs { display: flex; flex-wrap: wrap; gap: 9px 14px; color: var(--muted); font-size: 0.88rem; margin: 14px 0 16px; }
.car-description { color: #d7d3c9; font-size: 0.92rem; min-height: 3em; }

.service-rail { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-rail > * { padding: 30px; border-right: 1px solid var(--line); }
.service-rail > *:last-child { border-right: 0; }
.service-rail h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 0; }
.service-rail h3 { font-size: 1.08rem; letter-spacing: -0.02em; }
.service-rail p { color: var(--muted); margin: 0; font-size: .93rem; }

.cta-band { position: relative; overflow: hidden; min-height: 310px; display: grid; align-items: center; border-bottom: 1px solid var(--line); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.55) 55%, rgba(0,0,0,.15)); }
.cta-content { position: relative; z-index: 1; max-width: 700px; padding: 70px 0; }
.cta-content h2 { font-size: clamp(2.2rem, 4vw, 4rem); }

.page-hero { position: relative; min-height: 590px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.69) 42%, rgba(0,0,0,.08) 76%); }
.page-hero-content { position: relative; z-index: 1; max-width: 660px; padding: 90px 0; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); }

.values-grid, .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value, .service { padding: 38px; border-right: 1px solid var(--line); }
.value:last-child, .service:last-child { border-right: 0; }
.value-number { color: var(--gold); font-weight: 900; font-size: .9rem; letter-spacing: .12em; }
.value p, .service p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 560px; border-bottom: 1px solid var(--line); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 7vw, 110px); }
.split-copy p { color: var(--muted); font-size: 1.06rem; }

.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 10px; color: var(--gold); margin-bottom: 24px; }
.service-icon svg { width: 26px; height: 26px; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.process-step { counter-increment: step; position: relative; padding-top: 82px; }
.process-step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: 1.3rem; font-weight: 900; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: 78px; right: -20px; height: 1px; background: var(--line); }
.process-step p { color: var(--muted); }

.inventory-hero { padding: 76px 0 46px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 10%, rgba(229,184,79,.12), transparent 32%), var(--black); }
.inventory-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.inventory-toolbar { display: grid; grid-template-columns: minmax(220px, 1.8fr) repeat(2, minmax(150px, .7fr)); gap: 12px; margin-top: 32px; }
.field, .select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ivory);
  padding: 12px 14px;
  outline: none;
}
.field:focus, .select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229,184,79,.12); }

.inventory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 24px; align-items: start; }
.inventory-grid { grid-template-columns: repeat(2, 1fr); }
.inventory-count { color: var(--muted); margin-bottom: 18px; }
.detail-panel { position: sticky; top: 108px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-panel[hidden] { display: none; }
.detail-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-body { padding: 24px; }
.detail-title { display: flex; justify-content: space-between; gap: 16px; }
.detail-title h2 { font-size: 1.8rem; }
.detail-body p { color: #d8d3c7; }
.detail-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.detail-specs span { color: var(--muted); font-size: .9rem; }
.close-detail { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(0,0,0,.72); color: white; cursor: pointer; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.contact-hero { padding: 70px 0; border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.contact-copy { position: relative; min-height: 620px; display: flex; flex-direction: column; justify-content: center; padding: 60px; overflow: hidden; border-radius: var(--radius); }
.contact-copy img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-copy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.38)); }
.contact-copy > *:not(img) { position: relative; z-index: 1; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 800; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-status { margin: 16px 0 0; padding: 13px 15px; border: 1px solid rgba(116,216,160,.4); border-radius: 8px; color: var(--success); background: rgba(116,216,160,.08); }
.editable-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-item { border-left: 2px solid var(--gold); padding-left: 18px; }
.info-item strong { display: block; margin-bottom: 5px; }
.info-item span { color: var(--muted); font-size: .94rem; }

.site-footer { background: #050505; border-top: 1px solid var(--line); padding: 50px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 450px; color: var(--muted); }
.footer-links { display: grid; gap: 9px; align-content: start; }
.footer-links strong { color: var(--gold); margin-bottom: 7px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; color: #807d76; font-size: .86rem; display: flex; justify-content: space-between; gap: 20px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .home-content-layout { width: min(calc(100% - 40px), var(--max)); grid-template-columns: 1fr; }
  .ad-rail { justify-items: center; padding: 64px 0 88px; border-top: 1px solid var(--line); }
  .ad-banner { width: min(520px, 100%); height: auto; aspect-ratio: 520 / 400; }
}

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 84px 0 auto; min-height: calc(100vh - 84px); background: #080808; display: none; flex-direction: column; justify-content: flex-start; padding: 30px 28px; gap: 0; }
  .nav-open .main-nav { display: flex; }
  .main-nav a { font-size: 1.2rem; padding: 18px 0; }
  .hero { min-height: 760px; }
  .hero-content { width: min(640px, 92%); }
  .hero::before { background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.56)); }
  .inventory-preview, .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .service-rail { grid-template-columns: 1fr 1fr; }
  .service-rail > *:nth-child(2) { border-right: 0; }
  .service-rail > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .values-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2), .service:nth-child(2), .service:nth-child(4) { border-right: 0; }
  .services-grid .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { min-height: 460px; }
  .inventory-layout { grid-template-columns: 1fr; }
  .detail-panel { position: relative; top: 0; }
  .editable-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 64px 0; }
  .brand img { width: 54px; height: 54px; }
  .brand span { font-size: 1.05rem; }
  .nav-wrap { min-height: 74px; }
  .main-nav { inset: 74px 0 auto; min-height: calc(100vh - 74px); }
  .hero { min-height: 720px; }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.96) 6%, rgba(0,0,0,.62) 60%, rgba(0,0,0,.22)); }
  .hero-content { width: 100%; padding-top: 240px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .hero-actions .button, .actions .button { width: 100%; }
  .section-heading { align-items: start; flex-direction: column; }
  .inventory-preview, .inventory-grid { grid-template-columns: 1fr; }
  .service-rail, .values-grid, .services-grid, .process, .footer-grid, .editable-info { grid-template-columns: 1fr; }
  .service-rail > *, .value, .service { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .process-step:not(:last-child)::after { display: none; }
  .page-hero { min-height: 660px; align-items: end; }
  .page-hero::after { background: linear-gradient(0deg, rgba(0,0,0,.96) 8%, rgba(0,0,0,.48) 64%, rgba(0,0,0,.16)); }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .split-media { min-height: 340px; }
  .split-copy { padding: 48px 24px; }
  .inventory-toolbar { grid-template-columns: 1fr; }
  .contact-copy { min-height: 520px; padding: 28px; }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
  .home-content-layout { width: min(calc(100% - 28px), var(--max)); }
  .ad-rail { gap: 18px; padding: 52px 0 64px; }
  .ad-banner strong { font-size: clamp(2.4rem, 13vw, 3.4rem); }
}
