: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: #e75013;
  --orange-hover: #ff6a32;
  --orange-muted: #8b300b;
  --orange-subtle: #2a1308;
  --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(231,80,19,.4), 0 8px 32px rgba(231,80,19,.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; }

/* === PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A0B0D;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.no-preloader #preloader { display: none; }
.pre-inner { display: flex; flex-direction: column; align-items: center; }
.pre-logo {
  width: 240px;
  height: 68px;
  background:
    linear-gradient(110deg, transparent 38%, rgba(255,255,255,.85) 50%, transparent 62%),
    #e75013;
  background-size: 220% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  animation: preLogoIn .5s ease both, preShine 1.05s ease .3s both;
}
.pre-line {
  display: block;
  width: 200px;
  height: 2px;
  margin-top: 22px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.pre-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  animation: preLine .85s ease .35s both;
}
@keyframes preLogoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes preShine { from { background-position: 120% 0, 0 0; } to { background-position: -40% 0, 0 0; } }
@keyframes preLine { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .pre-logo { animation: none; background: #e75013; }
  .pre-line::after { animation: none; transform: scaleX(1); }
}

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);
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.footer .brand-logo { height: 52px; margin-bottom: 4px; }
.nav-links {
  display: flex;
  gap: 24px;
  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: 1000px) {
  .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 (full-bleed video) === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 768px) { .hero { min-height: 80vh; } }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(.58) contrast(1.06) saturate(.92);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 1%, rgba(10,11,13,.5) 40%, rgba(10,11,13,.18) 72%, rgba(10,11,13,.5) 100%),
    linear-gradient(to right, rgba(10,11,13,.85) 0%, rgba(10,11,13,.3) 48%, transparent 78%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x) 88px;
}
.hero-content > * + * { margin-top: 24px; }
@media (max-width: 768px) { .hero-content { padding-bottom: 56px; } }

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

.hero h1 {
  max-width: 760px;
  text-shadow: 0 2px 48px rgba(0,0,0,.55);
}
.hero h1 strong { color: var(--orange); font-weight: 700; }
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  opacity: .94;
  max-width: 580px;
  text-shadow: 0 1px 24px rgba(0,0,0,.65);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  margin-top: 8px;
  border-top: 1px solid rgba(245,245,245,.14);
  flex-wrap: wrap;
}
@media (max-width: 600px) { .hero-meta { gap: 28px; } }
.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;
}

/* === 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 h3, .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 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.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; }

/* === FILTER FORM === */
.flt-form {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.flt-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.flt-select {
  flex: 1 1 150px;
  min-width: 0;
  height: 44px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-elev) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0 36px 0 12px;
  cursor: pointer;
  transition: border-color .15s;
}
.flt-select:hover,
.flt-select:focus { border-color: var(--orange); outline: none; }
.flt-select option { background: var(--surface-elev); }

.flt-input {
  height: 44px;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0 12px;
  transition: border-color .15s;
  min-width: 0;
}
.flt-input::-webkit-outer-spin-button,
.flt-input::-webkit-inner-spin-button { appearance: none; -webkit-appearance: none; margin: 0; }
.flt-input[type=number] { -moz-appearance: textfield; }
.flt-input:hover,
.flt-input:focus { border-color: var(--orange); outline: none; }
.flt-price { width: 110px; flex: 0 0 110px; }
.flt-year  { width: 80px;  flex: 0 0 80px; }
.flt-km    { width: 140px; flex: 0 0 140px; }

.flt-range {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.flt-sep  { color: var(--text-muted); font-size: 14px; }
.flt-unit { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* Select uvnitř flt-group (flex sloupec) — nepřebírá flex-grow od rodiče */
.flt-group .flt-select { flex: none; width: 100%; }

.flt-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.flt-adv-btn { font-size: 13px; padding: 10px 16px; }
.flt-adv-icon {
  display: inline-flex;
  align-items: center;
  transition: transform .25s ease;
}
.flt-adv-icon.open { transform: rotate(180deg); }

/* Rozšířené filtry */
.flt-advanced {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.flt-advanced.open { display: block; }
.flt-adv-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.flt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}
.flt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.flt-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  height: 44px;
  align-items: center;
}
.flt-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.flt-check input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.flt-check:hover { color: var(--text); }

.flt-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.flt-active-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.flt-reset {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.04em;
  transition: color .15s;
}
.flt-reset:hover { color: var(--orange-hover); }

@media (max-width: 860px) {
  .flt-form { padding: 16px; }
  .flt-select { flex: 1 1 calc(50% - 5px); }
  .flt-range { flex-wrap: nowrap; }
  .flt-actions { width: 100%; margin-left: 0; }
  .flt-actions .btn { flex: 1; justify-content: center; }
  .flt-adv-row { gap: 16px; }
  .flt-group { flex: 1 1 100%; }
  .flt-checks { height: auto; }
  .flt-km { width: 120px; flex: 0 0 120px; }
}

/* === INSPECT (kontrola před prodejem) === */
.inspect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .inspect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inspect-grid { grid-template-columns: 1fr; } }
.inspect-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .25s, transform .25s;
}
.inspect-item:hover { border-color: var(--orange-muted); transform: translateY(-3px); }
.inspect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.inspect-icon { color: var(--orange); display: flex; }
.inspect-icon svg { width: 26px; height: 26px; }
.inspect-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.inspect-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.inspect-item p { font-size: 14px; line-height: 1.6; color: var(--text-body); margin: 0; }

/* === 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(231,80,19,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(231,80,19,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-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange-muted);
  flex-shrink: 0;
}

.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, .field select {
  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, .field select:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-group {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 8px;
}
.field-group:first-of-type { margin-top: 0; }

/* === 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(231,80,19,.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-top: 28px;
  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;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  color: var(--orange);
  flex-shrink: 0;
}
.anz-seller-icon svg { width: 20px; height: 20px; }

/* Icon nad nadpisem v usp/preparation kartách */
.usp-icon {
  color: var(--orange);
  display: block;
  margin-bottom: 20px;
}
.usp-icon svg { width: 26px; height: 26px; }
.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: 60px;
  height: 60px;
  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;
  overflow: hidden;
}
.anz-contact-person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.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-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ref-rating-stars { color: var(--orange); font-size: 17px; letter-spacing: 2px; }
.ref-rating-score { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text); }
.ref-rating-meta { font-size: 14px; color: var(--text-muted); }
.ref-rating-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-body);
  padding-left: 14px;
  border-left: 1px solid var(--border);
  transition: color .2s;
}
.ref-rating-link:hover { color: var(--orange); }
@media (max-width: 600px) { .ref-rating-link { padding-left: 0; border-left: none; } }

.ref-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ref-verified {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ref-verified::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3FB369;
}
.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; }

/* ====================================================== */
/* === AUTO NA ZAKÁZKU — REDESIGN ======================= */
/* ====================================================== */

/* Hero */
.anz-hero2 { padding: 72px 0 64px; border-bottom: 1px solid var(--border-subtle); }
.anz-hero2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .anz-hero2-grid { grid-template-columns: 1fr; gap: 36px; } }
.anz-hero2-text .kicker { margin-bottom: 18px; }
.anz-hero2-text h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; max-width: 620px; }
.anz-hero2-text > p { font-size: 18px; color: var(--text-body); max-width: 560px; margin-top: 20px; line-height: 1.6; }
.anz-hero2-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.anz-hero2-person {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color .2s;
}
.anz-hero2-person:hover { border-color: var(--orange-muted); }
.anz-hero2-person-photo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--orange-muted); }
.anz-hero2-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.anz-hero2-person-info { font-size: 14px; color: var(--text); line-height: 1.45; }
.anz-hero2-person-info span { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--orange); }

.anz-hero2-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.anz-media-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) contrast(1.05) saturate(.92); }
.anz-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(231,80,19,.12) 0%, transparent 45%), linear-gradient(to top, rgba(10,11,13,.7) 0%, transparent 50%);
  pointer-events: none;
}

/* Trust row */
.anz-trust { border-bottom: 1px solid var(--border-subtle); background: var(--surface); }
.anz-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
}
@media (max-width: 860px) { .anz-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .anz-trust-grid { grid-template-columns: 1fr; } }
.anz-trust-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  padding: 22px 24px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.anz-trust-icon { color: var(--orange); display: flex; flex-shrink: 0; }
.anz-trust-icon svg { width: 22px; height: 22px; }

/* Solve 2x2 */
.anz-solve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .anz-solve-grid { grid-template-columns: 1fr; } }
.anz-solve-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.anz-solve-card:hover { border-color: var(--orange-muted); transform: translateY(-3px); }
.anz-solve-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--orange-muted); display: block; margin-bottom: 14px; }
.anz-solve-card h3 { font-size: 19px; margin-bottom: 10px; }
.anz-solve-card p { font-size: 15px; color: var(--text-body); line-height: 1.6; margin: 0; }

/* Proof / report */
.anz-proof { background: var(--surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.anz-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .anz-proof-grid { grid-template-columns: 1fr; gap: 36px; } }
.anz-proof-text h2 { margin-top: 16px; }
.anz-proof-text p { font-size: 17px; color: var(--text-body); line-height: 1.7; margin-top: 16px; max-width: 480px; }

.anz-report { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-md); }
.anz-report-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 8px; }
.anz-report-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text); }
.anz-report-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; }
.anz-report-list { list-style: none; margin: 0; padding: 0; }
.anz-report-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border-subtle); }
.anz-report-label { font-size: 14px; color: var(--text-body); }
.anz-report-ok { font-family: var(--font-mono); font-size: 12px; color: #3FB369; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.anz-report-ok::before { content: '✓'; }
.anz-report-verdict { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 16px 18px; background: var(--orange-subtle); border: 1px solid var(--orange-muted); border-radius: var(--r-md); }
.anz-report-verdict-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-body); }
.anz-report-verdict-value { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--orange); }

/* Timeline */
.anz-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
@media (max-width: 820px) { .anz-timeline { grid-template-columns: 1fr; } }
.anz-tl-step { padding: 0 28px 0 0; }
.anz-tl-step + .anz-tl-step { padding-left: 28px; border-left: 1px solid var(--border); }
@media (max-width: 820px) {
  .anz-tl-step, .anz-tl-step + .anz-tl-step { padding: 0 0 28px 28px; border-left: 1px solid var(--border); }
  .anz-tl-step:last-child { padding-bottom: 0; }
}
.anz-tl-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--text); letter-spacing: -0.02em; line-height: 1; display: block; position: relative; }
.anz-tl-num::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 28px; height: 3px; background: var(--orange); border-radius: 2px; }
.anz-tl-step h3 { font-size: 16px; margin-bottom: 8px; margin-top: 22px; }
.anz-tl-step p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }

/* Why 3x2 */
.anz-why2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .anz-why2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .anz-why2-grid { grid-template-columns: 1fr; } }
.anz-why2-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; transition: border-color .25s, transform .25s; }
.anz-why2-item:hover { border-color: var(--orange-muted); transform: translateY(-3px); }
.anz-why2-item h3 { font-size: 17px; margin-bottom: 10px; }
.anz-why2-item p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }
.anz-why2-item.highlight { border-color: var(--orange); background: linear-gradient(160deg, var(--orange-subtle) 0%, var(--surface) 60%); box-shadow: var(--shadow-glow); }
.anz-why2-badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); border: 1px solid var(--orange-muted); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* Sellers cards w/ badges */
.anz-sellers2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .anz-sellers2-grid { grid-template-columns: 1fr; } }
.anz-seller2 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 28px; transition: border-color .25s; }
.anz-seller2:hover { border-color: var(--orange-muted); }
.anz-seller2-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.anz-seller2-top h3 { font-size: 17px; }
.anz-seller2-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-body); background: var(--surface-elev); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.anz-seller2-badge.warn { color: #E8A33D; border-color: rgba(232,163,61,.3); }
.anz-seller2 p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin: 0; }

/* Prep checklist */
.anz-prep-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 760px) { .anz-prep-grid { grid-template-columns: 1fr; } }
.anz-checklist { list-style: none; margin: 0; padding: 0; }
.anz-checklist li { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--border-subtle); font-size: 16px; color: var(--text); }
.anz-checklist li::before {
  content: ''; width: 22px; height: 22px; flex-shrink: 0;
  border: 1px solid var(--orange-muted); border-radius: 6px;
  background: var(--orange-subtle) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e75013' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5 9-10'/></svg>") center / 12px no-repeat;
}
.anz-prep-card { background: linear-gradient(160deg, var(--surface-elev) 0%, var(--surface) 100%); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 90px; }
.anz-prep-card h3 { font-size: 19px; margin-bottom: 10px; }
.anz-prep-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; margin-bottom: 20px; }
.anz-prep-card .btn { width: 100%; }

/* Audience */
.anz-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .anz-audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .anz-audience-grid { grid-template-columns: 1fr; } }
.anz-audience-item { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: var(--r-md); padding: 20px 22px; font-size: 15px; color: var(--text); line-height: 1.5; }
.anz-audience-item::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 7px; flex-shrink: 0; }

/* Reality check */
.anz-reality { padding: 80px 0; }
.anz-reality-box { max-width: 820px; margin: 0 auto; text-align: center; background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 56px 48px; }
.anz-reality-box .kicker { display: inline-flex; margin-bottom: 16px; }
.anz-reality-box h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 16px; }
.anz-reality-box p { font-size: 17px; color: var(--text-body); line-height: 1.7; max-width: 620px; margin: 0 auto; }
@media (max-width: 600px) { .anz-reality-box { padding: 36px 24px; } }

/* Final CTA form */
.anz-contact .field input { padding: 16px 18px; font-size: 16px; }
.anz-form-note { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; display: block; margin-top: 10px; line-height: 1.5; }

/* ====================================================== */
/* === AUTOSERVIS / SOCIÁLNÍ PODNIK / FOOTER SOCIAL ===== */
/* ====================================================== */

/* Media placeholder (foto doplníme) */
.media-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--surface) 0, var(--surface) 14px, var(--surface-elev) 14px, var(--surface-elev) 28px);
  color: var(--text-muted); text-align: center;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; line-height: 1.7;
}
.media-placeholder small { font-size: 12px; opacity: .65; }

/* Sociální podnik */
.sp-hero { max-width: 780px; }
.sp-hero h1 { margin: 16px 0 20px; }
.sp-hero > p { font-size: 18px; color: var(--text-body); line-height: 1.7; }
.sp-target { margin-top: 24px; font-size: 15px; color: var(--text); border-left: 3px solid var(--orange); padding-left: 16px; line-height: 1.6; }
.sp-target span { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.sp-goals { max-width: 780px; }
.sp-justice { margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.sp-justice a { color: var(--orange); }
.sp-justice a:hover { color: var(--orange-hover); }

/* Footer social */
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text-body); transition: border-color .2s, color .2s;
}
.foot-social a:hover { border-color: var(--orange); color: var(--orange); }

/* O nás — inline odkaz na sociální podnik */
.about-link { color: var(--orange); font-weight: 600; white-space: nowrap; }
.about-link:hover { color: var(--orange-hover); }

/* Inspect link (CEBIA u kontroly VIN) */
.inspect-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--orange); transition: color .2s;
}
.inspect-link:hover { color: var(--orange-hover); }

/* CEBIA — layout: det-outer flex wrapper + sticky aside + small banner */
.det-outer {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto;
}
.det-outer > .det-wrap { flex: 1; min-width: 0; }

.det-cebia-aside {
  display: none;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
}
.det-cebia-aside img { display: block; border-radius: var(--r-md); }

@media (min-width: 1600px) {
  .det-cebia-aside { display: block; }
}

/* Malý banner 300×300 — pod galerií, zarovnaný doprava; skrytý na ≥1600 px */
.det-cebia-banner-sm {
  display: block;
  margin: 16px auto 0;
  width: fit-content;
}
.det-cebia-banner-sm img { display: block; border-radius: var(--r-md); max-width: 100%; height: auto; }

@media (min-width: 1600px) {
  .det-cebia-banner-sm { display: none; }
}

/* CEBIA odkaz na detailu vozu */
.det-cebia {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: 13px; color: var(--text-body); line-height: 1.4;
  transition: border-color .2s, color .2s;
}
.det-cebia svg { color: var(--orange); flex-shrink: 0; }
.det-cebia:hover { border-color: var(--orange-muted); color: var(--text); }

/* Orientační úvěrová kalkulačka na detailu */
.det-calc {
  margin-top: 20px; padding: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.det-calc-head { margin-bottom: 16px; }
.det-calc-row { margin-bottom: 16px; }
.det-calc-row label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--text-body); margin-bottom: 8px;
}
.det-calc-row label span { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.det-calc-row input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 4px; background: var(--border); outline: none;
}
.det-calc-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--orange); cursor: pointer; border: none;
}
.det-calc-row input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--orange); cursor: pointer; border: none;
}
.det-calc-result {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 0 8px; border-top: 1px solid var(--border-subtle); margin-top: 4px;
}
.det-calc-result-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.det-calc-result-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--orange); }
.det-calc-note { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 4px 0 16px; }
.det-calc-cta { width: 100%; }

/* Kontakt — skupiny a monogramy */
.contact-group-title {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin: 12px 0 2px; padding-top: 8px;
}
.contact-mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-subtle); color: var(--orange);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  border: 1px solid var(--orange-muted);
}
.val-note { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Katalog — řadicí lišta */
.flt-sortbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 44px;
}
.flt-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--text-muted); }
.flt-sort { display: inline-flex; align-items: center; gap: 10px; }
.flt-sort > span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.flt-sort .flt-select { width: auto; min-width: 180px; }

/* ====================================================== */
/* === POPTÁVKOVÝ FORMULÁŘ (auto na zakázku) ============= */
/* ====================================================== */
.anz-poptavka {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .anz-poptavka { grid-template-columns: 1fr; gap: 32px; } }
.anz-poptavka-head { position: sticky; top: 90px; }
@media (max-width: 900px) { .anz-poptavka-head { position: static; } }
.anz-poptavka-head h2 { margin: 12px 0 16px; font-size: clamp(22px, 3vw, 30px); }
.anz-poptavka-head > p { color: var(--text-body); line-height: 1.6; }

.anz-poptavka .contact-form { padding: 28px; }

/* ====================================================== */
/* === COOKIE CONSENT BANNER (Consent Mode v2) ========== */
/* ====================================================== */
.consent-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #111214; border-top: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.5);
  animation: consent-slide-up .3s ease;
}
@keyframes consent-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.consent-bar[hidden] { display: none; }
.consent-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.consent-text {
  flex: 1; min-width: 260px;
  font-size: 13px; color: var(--text-body); line-height: 1.55; margin: 0;
}
.consent-text a { color: var(--orange); }
.consent-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }

/* Buttons */
.consent-btn-settings {
  background: none; border: none; cursor: pointer;
  font-size: 13px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px;
  padding: 8px 4px; font-family: inherit; transition: color .2s;
}
.consent-btn-settings:hover { color: var(--text); }
.consent-btn-reject {
  background: none; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 9px 18px; font-size: 13px; font-family: inherit; font-weight: 600;
  color: var(--text-body); cursor: pointer; transition: border-color .2s, color .2s; line-height: 1;
}
.consent-btn-reject:hover { border-color: var(--text-muted); color: var(--text); }
.consent-btn-accept {
  background: var(--orange); border: none; border-radius: var(--r-sm);
  padding: 9px 20px; font-size: 13px; font-family: inherit; font-weight: 700;
  color: #fff; cursor: pointer; transition: background .2s; line-height: 1;
}
.consent-btn-accept:hover { background: #c94411; }

/* Modal overlay */
.consent-modal {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(0,0,0,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.consent-modal[hidden] { display: none; }
.consent-modal-box {
  background: #111214; border: 1px solid var(--border); border-radius: var(--r-lg);
  width: 100%; max-width: 520px; display: flex; flex-direction: column; max-height: 90vh;
}
.consent-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 18px; border-bottom: 1px solid var(--border);
}
.consent-modal-head h2 { font-size: 17px; margin: 0; }
.consent-modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 16px; color: var(--text-muted); padding: 4px 8px;
  border-radius: var(--r-sm); transition: color .2s; font-family: inherit;
}
.consent-modal-close:hover { color: var(--text); }

.consent-modal-body { padding: 4px 24px; overflow-y: auto; }
.consent-category { padding: 18px 0; border-bottom: 1px solid var(--border); }
.consent-category:last-child { border-bottom: none; }
.consent-category-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.consent-category-head > div strong { display: block; font-size: 14px; margin-bottom: 5px; color: var(--text); }
.consent-category-head > div p { font-size: 13px; color: var(--text-body); margin: 0; line-height: 1.5; }
.consent-always-on { font-size: 12px; color: var(--orange); font-weight: 600; white-space: nowrap; padding-top: 2px; flex-shrink: 0; }

/* Toggle switch */
.consent-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.consent-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.consent-toggle-track {
  position: absolute; inset: 0; border-radius: 24px;
  background: var(--border); transition: background .2s;
}
.consent-toggle-track::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  left: 3px; top: 3px; transition: transform .2s;
}
.consent-toggle input:checked + .consent-toggle-track { background: var(--orange); }
.consent-toggle input:checked + .consent-toggle-track::before { transform: translateX(20px); }
.consent-toggle input:focus-visible + .consent-toggle-track { outline: 2px solid var(--orange); outline-offset: 2px; }

.consent-modal-foot {
  display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  padding: 18px 24px 22px; border-top: 1px solid var(--border);
}

/* Floating cookie settings trigger */
.consent-trigger {
  position: fixed; bottom: 20px; left: 20px; z-index: 8999;
  width: 42px; height: 42px;
  background: #111214; border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
  transition: color .2s, border-color .2s, transform .2s;
}
.consent-trigger:hover { color: var(--orange); border-color: var(--orange-muted); transform: scale(1.08); }
.consent-trigger[hidden] { display: none; }
