:root {
  --ink: #111318;
  --muted: #68707b;
  --line: #e6e8eb;
  --bg: #f6f7f8;
  --red: #e82127;
  --white: #fff;
  --radius: 18px;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a.intext { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 800;
  letter-spacing: .13em;
  font-size: 16px;
  flex-shrink: 0;
}
.brand span { color: var(--red); }
.links { display: flex; gap: 25px; color: #454b54; font-size: 14px; }
.links .menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
}
.nav-toggle svg { display: block; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 19px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn.dark { background: #15171b; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.whatsapp { background: #128c7e; }
.btn.ghost-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid #3a3f46;
}
.btn.ghost-on-dark:hover { border-color: #fff; }
.hero-actions, .thanks-actions, .contact-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}

.hero { background: #111318; color: #fff; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 78px 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #b6bbc3;
  font-size: 11px;
  font-weight: 700;
}
.section .eyebrow { color: #8a919b; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 18px 0;
}
.hero p { color: #c4c8ce; max-width: 520px; font-size: 17px; }
.hero-art {
  min-height: 0;
  border-radius: 22px;
  background: #1a1d22;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.hero-note {
  position: absolute;
  bottom: 14px;
  left: 14px;
  margin: 0;
  background: rgba(17, 19, 24, .78);
  color: #d5d8de;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.section { padding: 76px 0; }
.section.alt { background: var(--bg); }
.section h2, .legal-page h1 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 10px 0 14px;
}
.lead { max-width: 700px; color: var(--muted); font-size: 17px; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.trust article, .step, .vehicle, .pricebox, .info-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.symbol { font-size: 23px; }
.trust h3 { font-size: 16px; margin: 12px 0 6px; }
.trust p, .step p, .vehicle p { font-size: 13px; color: var(--muted); margin: 0; }

.notice {
  border-left: 3px solid var(--red);
  padding: 13px 16px;
  background: #fff;
  border-radius: 0 12px 12px 0;
  color: #4e5560;
  font-size: 13px;
  margin-top: 24px;
}
.section.alt .notice { background: var(--white); }

.check-list, .warranty-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.check-list li, .warranty-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 14px;
  color: #3d4450;
}
.check-list li:before, .warranty-list li:before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
}
.inspect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #3d4450;
  background: #fff;
}

.cars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.vehicle { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.vehicle-art {
  height: 155px;
  background: linear-gradient(135deg, #e6e8eb, #c6cbd1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #606873;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  padding: 16px;
}
.vehicle-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.vehicle h3 { margin: 0 0 6px; }
.vehicle .meta { font-size: 12px; color: var(--muted); margin: 8px 0 15px; }
.vehicle .warranty {
  font-size: 12px;
  color: #3d4450;
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 13px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.vehicle .warranty strong { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.vehicle .status {
  display: inline-block;
  background: #edf6ef;
  color: #28643b;
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.vehicle .status.sample { background: #f3f0e7; color: #6a5720; }
.vehicle .btn { margin-top: auto; align-self: flex-start; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #17191e;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step h3 { font-size: 15px; margin: 13px 0 7px; }

.price-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}
.pricebox h3 { margin-top: 0; }
.example-label {
  display: inline-block;
  background: #111318;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 5px 10px;
  margin-bottom: 12px;
}
.fee { font-size: 42px; font-weight: 800; letter-spacing: -.04em; }
.fee small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.moneyrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.moneyrow:last-child { border: 0; }
.variants { display: grid; gap: 14px; }
.price-note { margin: 20px 0 0; max-width: 780px; }
.variant h3 { margin: 0 0 8px; font-size: 16px; }
.fine { font-size: 11px; color: var(--muted); margin: 12px 0 0; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid #dfe2e6;
  border-radius: 10px;
  padding: 13px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}
.form textarea { min-height: 110px; }
.form .full { grid-column: 1 / -1; }
.form small, .form .hint { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 400; }
.consent {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  color: #3d4450;
}
.consent input { width: auto; margin-top: 3px; }
.form-honeypot, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin-top: 8px;
  align-items: start;
}
.contact-card p { color: var(--muted); font-size: 15px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-list li { margin: 0 0 10px; font-size: 15px; }
.contact-list a { font-weight: 700; }

.footer { background: #111318; color: #fff; padding: 38px 0; }
.footer p { color: #aeb4bd; font-size: 12px; }
.footer a { color: #d0d4da; }
.footer a:hover { color: #fff; }
.footerline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
.legal {
  font-size: 11px;
  color: #7f8792;
  max-width: 780px;
  margin-top: 22px;
}
.operator { margin: 14px 0 0; font-size: 12px; color: #aeb4bd; }

.legal-page { padding: 64px 0 80px; }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 10px; }
.legal-content p, .legal-content li { color: #3d4450; font-size: 15px; }
.legal-content ul, .legal-content ol { padding-left: 20px; }
.draft {
  border: 1px solid #e8b4b4;
  background: #fff6f6;
  border-radius: 14px;
  padding: 16px 18px;
  color: #5a2a2a;
  font-size: 14px;
  margin: 18px 0 28px;
}
.draft strong { display: block; margin-bottom: 4px; color: var(--red); }


.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.btn:focus-visible { outline-color: currentColor; }

.box-title {
  margin: 10px 0 12px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.box-lead {
  margin: 0 0 8px;
  color: #3d4450;
  font-size: 14px;
}
.split-intro {
  font-size: 14px;
  color: #3d4450;
  margin: 16px 0 8px;
}
hr.soft { border: 0; border-top: 1px solid var(--line); }

.criteria-label {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.vehicle .status.available { background: #edf6ef; color: #28643b; }
.vehicle .status.reserved { background: #f3efe6; color: #6a4f16; }
.vehicle .status.sold { background: #eeeef0; color: #5a5d63; }
.vehicle .specs { margin: 0 0 8px; }
.vehicle .vin, .vehicle .note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.vehicle-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.vehicle-actions .btn { align-self: stretch; }
.btn.tesla-link {
  background: #15171b;
}
.link-missing {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 800px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 4px 20px 4px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  color: var(--muted);
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 16px;
  color: #3d4450;
  font-size: 15px;
}

.price-note { margin-top: 22px; max-width: 900px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


.vehicle .price-czk {
  font-size: 12px;
  font-weight: 500;
  color: #3d4450;
  margin: 4px 0 0;
}
.rate-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.45;
}
.catalog-rate, .price-rate {
  margin-top: 16px;
  font-size: 14px;
  color: #3d4450;
  max-width: 800px;
}
@media (max-width: 800px) {
  .nav-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .links .menu-cta { display: inline-flex; margin-top: 12px; align-self: flex-start; }
  .links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .links a:last-child { border: 0; }
  .hero-grid, .price-layout, .inspect-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { padding: 54px 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .cars { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav .btn { padding: 11px 14px; font-size: 13px; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .trust, .cars, .steps { grid-template-columns: 1fr; }
  .section, .legal-page { padding: 55px 0; }
  .form { grid-template-columns: 1fr; }
  .form textarea, .form .full, .form small, .form .hint, .consent { grid-column: auto; }
  .footerline { display: block; }
  .fee { font-size: 32px; }
}
