:root {
  --bg: #0A0B0D;
  --surface: #15171B;
  --surface-elev: #1E2024;
  --surface-hover: #22252A;
  --border: #26282C;
  --border-subtle: #1B1D21;
  --text: #F5F5F5;
  --text-body: #B8B8B8;
  --text-dim: #777;
  --text-muted: #5A5C60;
  --orange: #FF6B00;
  --orange-hover: #FF8520;
  --orange-muted: #8A3D00;
  --orange-subtle: #2A1A0A;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.6);
  --shadow-glow: 0 0 0 1px rgba(255,107,0,.4), 0 8px 32px rgba(255,107,0,.15);
  --container: 1280px;
  --pad-x: 24px;
  --font-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-body);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Hamburger — skrytý na desktopu */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown — vždy skryté, zobrazí se jen přes .is-open na mobilu */
.nav-mobile {
  display: none;
}
@media (max-width: 860px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-burger { display: flex; }

  .nav-mobile.is-open {
    display: block;
    background: rgba(10,11,13,.97);
    border-top: 1px solid var(--border-subtle);
    padding: 8px var(--pad-x) 20px;
  }
  .nav-mobile a {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: color .15s;
  }
  .nav-mobile a:last-of-type { border-bottom: none; }
  .nav-mobile a:hover { color: var(--text); }
  .nav-mobile .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .nav-mobile .nav-mobile-cta .btn { text-align: center; justify-content: center; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  will-change: transform;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-ghost {
  background: transparent;
  color: var(--text-body);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--text); }
.btn-icon { font-size: 16px; line-height: 1; }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255,107,0,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255,107,0,0.04), transparent 60%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(38,40,44,0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(38,40,44,0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
  z-index: -1;
  opacity: .5;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-text > * + * { margin-top: 24px; }
.hero h1 strong { color: var(--orange); font-weight: 700; }
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 560px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.hero-meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75) contrast(1.05) saturate(.9);
  transform: scale(1.05);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,0.85) 0%, rgba(10,11,13,0.2) 40%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 16px 20px;
  background: rgba(10, 11, 13, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-badge strong { color: var(--text); font-weight: 600; }

/* === USP === */
.usp { background: var(--surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 960px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usp-grid { grid-template-columns: 1fr; } }
.usp-item {
  background: var(--surface);
  padding: 40px 32px;
  transition: background .2s;
}
.usp-item:hover { background: var(--surface-hover); }
.usp-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 24px;
  display: block;
}
.usp-item h4 { margin-bottom: 12px; font-size: 18px; }
.usp-item p { font-size: 15px; line-height: 1.55; color: var(--text-body); }

/* === SECTION HEADER === */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head .lead { max-width: 560px; }
.section-head .lead h2 { margin-top: 16px; }
.section-head .lead p { font-size: 17px; color: var(--text-body); margin-top: 16px; max-width: 480px; }

/* === CAR CARDS === */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .cars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cars-grid { grid-template-columns: 1fr; } }

.car-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.car-photo {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  filter: brightness(.92) saturate(.95);
}
.car-card:hover .car-photo img { transform: scale(1.04); }
.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(10,11,13,0.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
}
.car-badge.accent { color: var(--orange); border-color: var(--orange-muted); }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-title { font-size: 19px; color: var(--text); font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
.car-spec {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.car-spec span { display: inline-flex; align-items: center; gap: 6px; }
.car-spec span::before { content: ''; width: 4px; height: 4px; background: var(--text-muted); border-radius: 50%; }
.car-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.car-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.car-price small { font-size: 13px; color: var(--text-dim); font-weight: 500; margin-left: 4px; }
.car-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.car-link::after { content: '→'; transition: transform .2s; }
.car-card:hover .car-link::after { transform: translateX(4px); }

.offer-foot { margin-top: 56px; text-align: center; }

/* === FILTERS === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-body);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--orange); color: var(--text); }
.chip.active { background: var(--orange); color: var(--bg); border-color: var(--orange); font-weight: 600; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text > * + * { margin-top: 24px; }
.about-text .body { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.about-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.7) contrast(1.1) saturate(.85);
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.08) 0%, transparent 50%);
}

/* === SERVICES === */
.services { background: var(--surface); border-top: 1px solid var(--border-subtle); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .2s;
}
.service-item:hover { border-color: var(--orange-muted); }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
  padding: 4px 8px;
  border: 1px solid var(--orange-muted);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.service-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
}

/* === FINANCING === */
.financing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  padding: 48px;
  background: linear-gradient(135deg, var(--surface-elev) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.financing::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,107,0,0.12), transparent 70%);
  pointer-events: none;
}
@media (max-width: 860px) { .financing { grid-template-columns: 1fr; gap: 32px; padding: 32px; } }

.fin-calc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.fin-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.fin-row:last-of-type { border-bottom: none; }
.fin-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.fin-val { font-family: var(--font-display); font-size: 18px; color: var(--text); font-weight: 600; }
.fin-val.big { font-size: 32px; color: var(--orange); }

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.contact-item .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; display: block; margin-bottom: 6px; }
.contact-item .val { font-family: var(--font-display); font-size: 18px; color: var(--text); font-weight: 600; }
.contact-item .val a:hover { color: var(--orange); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 110px; }

/* === FOOTER === */
.footer { background: var(--surface); border-top: 1px solid var(--border-subtle); padding: 56px 0 32px; margin-top: 48px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; padding: 4px 0; color: var(--text-body); font-size: 14px; transition: color .2s; }
.foot-col a:hover { color: var(--orange); }
.foot-col p { font-size: 14px; color: var(--text-body); line-height: 1.6; max-width: 280px; margin-top: 12px; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom .built { color: var(--text-muted); }
.foot-bottom a { color: var(--text-dim); margin-right: 16px; }
.foot-bottom a:hover { color: var(--orange); }

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }

/* === FOCUS STATES === */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.btn:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* === CAR PHOTO LINK === */
.car-photo-link { display: block; text-decoration: none; }
.car-photo-link .car-photo { transition: transform .2s ease; }
.car-photo-link:hover .car-photo { transform: scale(1.02); }

/* === CAR DETAIL PAGE === */
.det-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--pad-x) 80px;
}

.det-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.det-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.det-breadcrumb a:hover { color: var(--text-body); }

/* Main 60/40 grid */
.det-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .det-grid { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
.det-gallery {
  min-width: 0; /* grid children musí mít min-width: 0, jinak přetékají */
}

.det-main-wrap {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 560px;
}
.det-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.det-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,11,13,.7);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  backdrop-filter: blur(4px);
}
.det-arrow:hover { background: rgba(255,107,0,.2); border-color: var(--orange); }
.det-prev { left: 12px; }
.det-next { right: 12px; }

.det-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  background: rgba(10,11,13,.65);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 20px;
}

.det-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow: hidden; /* skryje přesahující thumbnaily, scrolluje se přes JS */
}
.det-thumb {
  flex: 0 0 88px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: .45;
  border: 2px solid transparent;
  transition: opacity .15s, border-color .15s;
}
.det-thumb:hover { opacity: .75; }
.det-thumb.active { opacity: 1; border-color: var(--orange); }

.det-no-photo {
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ── Info panel ── */
.det-badge { display: inline-block; margin-bottom: 14px; }

.det-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}

.det-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.det-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.det-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-body);
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
}

.det-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1;
}
.det-price small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.det-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.det-cta .btn { text-align: center; }

.det-flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.det-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #4ade80;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 4px;
  padding: 4px 10px;
}
.det-flag.off {
  color: var(--text-muted);
  background: var(--surface);
  border-color: var(--border-subtle);
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.detail-table th,
.detail-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.detail-table th {
  color: var(--text-muted);
  width: 45%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding-right: 12px;
}
.detail-table td { color: var(--text-body); }
.det-vin { font-family: var(--font-mono); font-size: 12px; word-break: break-all; }

.det-note {
  margin-top: 28px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-md);
  border-left: 3px solid var(--orange);
}
.det-note .kicker { margin-bottom: 8px; }
.det-note p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }

/* === PAGINATION === */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* === AUTO NA ZAKÁZKU PAGE === */
.anz-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}
.anz-hero .kicker { margin-bottom: 16px; }
.anz-hero h1 { font-size: clamp(32px, 5vw, 56px); max-width: 720px; line-height: 1.1; }
.anz-hero p { font-size: 18px; color: var(--text-body); max-width: 560px; margin-top: 20px; line-height: 1.6; }
.anz-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.anz-steps {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.anz-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 960px) { .anz-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .anz-steps-grid { grid-template-columns: 1fr; } }

.anz-step {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.anz-step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--orange-muted);
  line-height: 1;
  margin-bottom: 16px;
}
.anz-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.anz-step p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }

.anz-why {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.anz-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 860px) { .anz-why-grid { grid-template-columns: 1fr; } }

.anz-why-item {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--orange);
}
.anz-why-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.anz-why-item p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }

.anz-sellers {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.anz-sellers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 640px) { .anz-sellers-grid { grid-template-columns: 1fr; } }

.anz-seller {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.anz-seller-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--surface-elev);
  flex-shrink: 0;
}
.anz-seller h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.anz-seller p { font-size: 13px; color: var(--text-body); line-height: 1.5; margin: 0; }

.anz-contact {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}
.anz-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 760px) { .anz-contact-inner { grid-template-columns: 1fr; gap: 40px; } }
.anz-contact h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.anz-contact p { font-size: 16px; color: var(--text-body); line-height: 1.6; }
.anz-contact-person {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 28px;
}
.anz-contact-person-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-subtle);
  border: 2px solid var(--orange-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--orange);
  flex-shrink: 0;
}
.anz-contact-person-info strong { display: block; font-size: 15px; margin-bottom: 4px; }
.anz-contact-person-info span { font-size: 13px; color: var(--text-muted); }
.anz-contact-person-info a { display: block; font-size: 14px; color: var(--text-body); margin-top: 6px; text-decoration: none; }
.anz-contact-person-info a:hover { color: var(--orange); }

/* === LEGAL PAGES === */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px var(--pad-x) 96px;
}
.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}
.legal-wrap .legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.legal-wrap h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 12px;
}
.legal-wrap h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  margin: 24px 0 8px;
}
.legal-wrap p,
.legal-wrap li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
}
.legal-wrap ul,
.legal-wrap ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap a { color: var(--orange); }
.legal-wrap a:hover { color: var(--orange-hover); }
.legal-wrap .legal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.legal-wrap .legal-box p { margin: 0; }
hr.legal-hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 40px 0;
}

/* === LIGHTBOX === */
.det-main-clickable {
  cursor: zoom-in;
}
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.lb-overlay[hidden] { display: none; }

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 60px 80px 0;
  overflow: hidden;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--r-md);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 201;
}
.lb-close:hover { background: var(--surface-hover); border-color: var(--orange); color: var(--orange); }
.lb-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  z-index: 201;
}
.lb-arrow:hover { background: var(--surface-hover); border-color: var(--orange); color: var(--orange); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 600px) {
  .lb-arrow { width: 40px; height: 40px; font-size: 18px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-img-wrap { padding: 52px 56px 0; }
}

.lb-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 20px;
  letter-spacing: 0.05em;
}

/* === REFERENCE === */
.ref-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
@media (max-width: 768px) { .ref-section { padding: 64px 0; } }

.ref-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.ref-head .lead p {
  margin-top: 12px;
  color: var(--text-body);
}
.ref-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ref-arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-body);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s, background .2s;
}
.ref-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-subtle);
}

.ref-track-wrap {
  overflow: hidden;
}
.ref-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}

.ref-card {
  flex: 0 0 340px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s;
}
.ref-card:hover { border-color: var(--border); }
@media (max-width: 600px) { .ref-card { flex: 0 0 280px; padding: 20px; } }

.ref-stars {
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 2px;
}
.ref-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  flex: 1;
  font-style: italic;
}
.ref-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border-subtle);
}
.ref-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-muted);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.ref-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
}
.ref-author span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* === MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
