/* MH ProAuto – prototyp. Světlý, důvěryhodný, konverzní. Bez buildu, čisté CSS. */
:root {
  --brand: #c54100; /* původně #d64600, ztmaveno kvůli kontrastu textu (WCAG AA 4,5:1) */
  --brand-dark: #b33a00;
  --brand-soft: #fff1ea;
  --ink: #0f1b2d;
  --ink-2: #3c4a5e;
  --muted: #5f6b7d;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --navy: #12233d;
  --ok: #177a41;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,27,45,.06), 0 8px 24px rgba(15,27,45,.06);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Funnel Display", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 2px solid transparent;
  font: 600 1rem/1 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfd8e3; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Funnel Display", sans-serif; font-weight: 700; font-size: 1.3rem; }
.logo img { height: 40px; width: auto; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1rem; letter-spacing: -.04em; }
.logo span b { color: var(--brand); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--brand); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.burger svg { width: 28px; height: 28px; display: block; }
/* Barva výslovně: Safari na iPhonu dá tlačítku bez barvy systémovou modrou. Otevřené menu = oranžový křížek. */
.burger .ikona-zavrit, .burger[aria-expanded="true"] .ikona-menu { display: none; }
.burger[aria-expanded="true"] { color: var(--brand); }
.burger[aria-expanded="true"] .ikona-zavrit { display: inline; }

/* Hero */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c54100' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-media { position: relative; }
.hero-media img { border-radius: 20px; aspect-ratio: 4/3.2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.hero-badge strong { display: block; font-size: 1.05rem; }
.hero-badge .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--ink-2); }
.trust-item strong { display: block; color: var(--ink); font-size: 1rem; }
.trust-item svg { width: 28px; height: 28px; color: var(--brand); flex: none; }
.trust .wrap:has(.trust-cebia) { grid-template-columns: repeat(5, 1fr); }
.trust-cebia img { width: 56px; height: auto; flex: none; }

/* Service split cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.service-card .tag { align-self: flex-start; }
.service-card .price-tag { font-family: "Funnel Display", sans-serif; font-size: 1.9rem; font-weight: 700; margin: 8px 0 4px; }
.service-card .price-tag small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.service-card .checks { margin: 18px 0 24px; }
.service-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); text-transform: uppercase; letter-spacing: .05em; }
.tag--ok { background: #e8f6ee; color: var(--ok); }
.tag.tag--prodano, .car-img .tag.tag--prodano { background: var(--ink); color: #fff; }
/* Prodaný vůz: zůstává na webu jako ukázka, ale zešedne */
.car--prodano .car-img img { filter: grayscale(1); opacity: .7; }
.car--prodano .car-body { opacity: .75; }
.callout--prodano { margin: 4px 0 16px; }

/* Cars */
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.car-img { position: relative; aspect-ratio: 16/10; background: var(--bg-2); }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.car-img .tag { position: absolute; top: 12px; left: 12px; background: #fff; }
.car-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.car h3 { margin-bottom: 4px; }
.car .sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.spec { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.spec svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.todo { background: #fff6d6; border-radius: 4px; padding: 0 4px; }
.car-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.car-docs span { font-size: .78rem; padding: 3px 8px; border-radius: 6px; background: #e8f6ee; color: var(--ok); font-weight: 600; }
.car-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.car-img { display: block; overflow: hidden; }
.car-img img { transition: transform .4s; }
.car:hover .car-img img { transform: scale(1.04); }
.car-count { position: absolute; right: 12px; bottom: 12px; background: rgba(15,27,45,.78); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.car h3 a { color: inherit; text-decoration: none; }
.car h3 a:hover { color: var(--brand); }
.car-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.car-body > .car-price { margin-top: auto; }
.car-price { font-family: "Funnel Display", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.car-price small { display: block; font: 500 .78rem "Inter", sans-serif; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.step p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Pricing tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 9px; font: 600 .95rem "Inter", sans-serif; color: var(--ink-2); cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.tab-panel[hidden] { display: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--brand); position: relative; }
.plan--featured .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; }
.plan .amount { font-family: "Funnel Display", sans-serif; font-size: 2.2rem; font-weight: 700; margin: 6px 0 2px; }
.plan .note { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.plan .checks { margin-bottom: 24px; font-size: .95rem; }
.plan .btn { margin-top: auto; }
.provider-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 14px; }
.provider-head img { height: 36px; width: auto; max-width: 70%; object-fit: contain; object-position: left; }
.provider-scope { font-weight: 600; margin-bottom: 16px; }
.price-rows { list-style: none; padding: 0; margin: 0 0 20px; font-size: .95rem; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-rows li:last-child { border-bottom: 0; }
.price-rows b { white-space: nowrap; }
.provider .checks { margin-bottom: 20px; }
.provider-price { display: grid; gap: 4px; margin-bottom: 20px; }
.provider-bonus { background: var(--brand-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-size: .95rem; }
.provider-bonus .tag { background: #fff; margin-right: 6px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.calc { margin-top: 24px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.calc label { font-weight: 600; }
.calc input[type=range] { flex: 1; min-width: 180px; accent-color: var(--brand); }
.calc output { font-family: "Funnel Display", sans-serif; font-size: 1.3rem; font-weight: 700; min-width: 140px; text-align: right; }

/* Report / docs */
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.doc-list { display: grid; gap: 10px; }
.doc-group { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.doc-group:first-child { margin-top: 0; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s; }
.doc:hover { border-color: var(--brand); }
.doc .pdf { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: .72rem; font-weight: 800; flex: none; }
.doc small { display: block; font-weight: 400; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-photo { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.about--slider { grid-template-columns: 1fr 1fr; }
.photo-slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.photo-slider .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.photo-slider .slides::-webkit-scrollbar { display: none; }
.photo-slider .slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; scroll-snap-align: start; }
.photo-slider .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0; }
.photo-slider .slider-prev { left: 12px; } .photo-slider .slider-next { right: 12px; }
.photo-slider .carousel-btn:disabled { opacity: 0; pointer-events: none; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; width: 22px; border-radius: 4px; }
.principles { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.principles li { display: flex; gap: 12px; }
.principles b { color: var(--brand); font-family: "Funnel Display", sans-serif; font-size: 1.1rem; min-width: 28px; }

/* Reviews placeholder */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }
.placeholder-note { font-size: .8rem; background: #fff6d6; border-radius: 8px; padding: 8px 12px; display: inline-block; margin-bottom: 20px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 16px; }

/* Partner */
.partner { display: flex; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.partner .big { font-family: "Funnel Display", sans-serif; font-size: 3rem; font-weight: 700; color: var(--brand); line-height: 1; white-space: nowrap; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; border-radius: 20px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--outline { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }

/* Contact + form */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form h3 { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #cdd5df; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 110px; resize: vertical; }
.consent { font-size: .82rem; color: var(--muted); margin: 14px 0 18px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--navy); color: #b8c3d1; padding: 56px 0 28px; font-size: .92rem; }
.footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo-mark { background: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Mobile sticky CTA */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.mobile-cta .btn { flex: 1; padding: 13px 10px; }

/* Thank you */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.thanks .ok { width: 72px; height: 72px; border-radius: 50%; background: #e8f6ee; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }

/* Responsive */
@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  .header.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .header.open .nav a { padding: 10px 0; font-size: 1.05rem; }
  .hero .wrap, .report, .about, .contact, .split { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 16/9; }
  .hero-badge { left: 12px; bottom: 12px; }
  .trust .wrap, .trust .wrap:has(.trust-cebia) { grid-template-columns: 1fr 1fr; }
  .trust-cebia { grid-column: 1 / -1; }
  .steps--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .topbar { display: none; }
  .header-phone { display: none; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding: 24px 0 48px; }
  .hero-ctas .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form, .service-card, .cta-band { padding: 24px; }
  .cars { grid-template-columns: 1fr; }
  .partner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .tabs { display: flex; }
  .tab { flex: 1; padding: 10px 8px; font-size: .85rem; }
}

/* Partner */
.partner-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.partner-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.partner-logo { display: inline-block; margin-bottom: 24px; }
.partner-logo img { height: 52px; width: auto; }
.partner-main p { color: var(--ink-2); }
.partner-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.partner-bonus { background: var(--brand-soft); border-radius: var(--radius); padding: 32px; }
.partner-bonus .big { font-family: "Funnel Display", sans-serif; font-size: 3.4rem; font-weight: 700; color: var(--brand); line-height: 1; margin: 14px 0 12px; }
.partner-bonus .tag { background: #fff; }
.partner-cebia { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; margin-top: 24px; }
.partner-cebia .partner-logo { margin-bottom: 0; }
.partner-cebia .partner-logo img { height: auto; width: 100%; }
.partner-cebia p:last-child { margin-bottom: 0; }
.partner-alfa .placeholder-note { margin-bottom: 14px; }
.play-ico { display: inline-block; width: 0; height: 0; margin-right: 8px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.video-modal { width: min(960px, 92vw); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; }
.video-modal::backdrop { background: rgba(10,16,26,.9); }
.video-modal .vm-frame { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 16px; }
.video-modal iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.video-modal .lb-close { top: -48px; right: 0; }

/* Detail vozu */
.crumbs { font-size: .88rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.detail-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; padding: 20px 0 48px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4/3; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .car-count { bottom: 14px; right: 14px; font-size: .85rem; padding: 6px 12px; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; }
.g-prev { left: 12px; } .g-next { right: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--bg-2); }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .more { display: grid; place-items: center; color: var(--ink); font: 700 .9rem "Inter", sans-serif; }

.buybox { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.buybox h1 { font-size: 1.7rem; margin-bottom: 4px; }
.buybox .sub { color: var(--muted); margin-bottom: 16px; }
.buybox .price { font-family: "Funnel Display", sans-serif; font-size: 2.3rem; font-weight: 700; line-height: 1.05; }
.buybox .price-note { font-size: .88rem; color: var(--muted); margin: 4px 0 18px; }
.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.keyspec { background: var(--bg-2); border-radius: 10px; padding: 10px 12px; }
.keyspec span { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.keyspec strong { font-size: .98rem; }
.buybox .btn { width: 100%; margin-bottom: 10px; }
.perks { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start; }
.block { padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 1.6rem; margin-bottom: 18px; }
.block h3 { margin: 24px 0 10px; }
.block p, .block li { color: var(--ink-2); }
.callout { background: var(--brand-soft); border-radius: 12px; padding: 16px 20px; margin: 16px 0; color: var(--ink); }
.cond { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cond li { background: var(--bg-2); border-radius: 10px; padding: 12px 16px; }
.cond li strong { color: var(--ink); }
.cond li.warn { background: #fff6e5; }
.equip { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; }
.equip li { margin-bottom: 6px; break-inside: avoid; }
.params { width: 100%; border-collapse: collapse; }
.params th, .params td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.params th { color: var(--muted); font-weight: 500; width: 45%; }
.params td { font-weight: 600; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center/cover; }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%,-50%); border-radius: 14px; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/30px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-form { position: sticky; top: 140px; margin-top: 48px; }
.side-form .form { padding: 24px; }
.side-form .form-grid { grid-template-columns: 1fr; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(10,16,26,.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox .g-nav { background: rgba(255,255,255,.14); color: #fff; width: 52px; height: 52px; }
.lightbox .g-prev { left: 20px; } .lightbox .g-next { right: 20px; }
.lb-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #cfd8e3; font-size: .9rem; }

.mobile-cta .mc-price { display: flex; flex-direction: column; justify-content: center; font-family: "Funnel Display", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.1; padding: 0 4px; white-space: nowrap; }
.mobile-cta .mc-price small { font: 500 .78rem "Inter", sans-serif; color: var(--muted); }

@media (max-width: 980px) {
  .partner-box, .detail-top, .detail-grid, .partner-cebia { grid-template-columns: 1fr; }
  .partner-cebia { gap: 20px; }
  .partner-cebia .partner-logo img { width: 220px; }
  .buybox, .side-form { position: static; }
  .side-form { margin-top: 0; padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .partner-main, .partner-bonus, .buybox { padding: 22px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .thumbs button:nth-child(n+4):not(.more) { display: none; }
  .equip { columns: 1; }
  .docs-grid { grid-template-columns: 1fr; }
  .detail-top { padding-top: 12px; }
}

.detail-top > *, .detail-grid > * { min-width: 0; }
.params td { overflow-wrap: anywhere; }

/* Karusel vozů na úvodu: max 3 na řádek */
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--row > div:first-child { max-width: 720px; }
.carousel-ctrl { display: flex; gap: 8px; flex: none; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, opacity .15s; }
.carousel-btn:hover:not(:disabled) { border-color: var(--ink); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-ctrl[hidden] { display: none; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px; margin: -4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > .car { scroll-snap-align: start; }

/* Výpis vozů */
.list-hero { background: linear-gradient(180deg, #f5f7fa 0%, #fff 100%); padding: 28px 0 8px; }
.list-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 12px; }
.list-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.list-layout > * { min-width: 0; }
.filters { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h3 { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font: 600 .85rem "Inter", sans-serif; cursor: pointer; }
.fgroup { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.fgroup:first-of-type { border-top: 0; }
.fgroup > label, .flabel { font-weight: 600; font-size: .9rem; }
.fgroup select { font: inherit; padding: 10px 12px; border: 1px solid #cdd5df; border-radius: 10px; background: #fff; color: var(--ink); }
.chk { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; color: var(--ink-2); }
.chk input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.chk.is-empty { opacity: .45; }
.cnt { margin-left: auto; color: var(--muted); font-size: .82rem; }
.filters-apply { display: none; margin-top: 8px; }
.list-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.list-count { margin: 0; font-weight: 600; }
.sort { margin-left: auto; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { font: 600 .9rem "Inter", sans-serif; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.filters-toggle { display: none; }
.badge { background: var(--brand); color: #fff; border-radius: 99px; font-size: .75rem; padding: 1px 7px; }
.cars--list { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.list-empty { text-align: center; background: var(--bg-2); border-radius: var(--radius); padding: 48px 24px; }

@media (max-width: 980px) {
  .car-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .list-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; z-index: 130; border-radius: 0; overflow-y: auto; top: 0; padding: 20px 20px 40px; }
  .filters.open { display: block; }
  .filters-apply { display: flex; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .section-head--row { align-items: flex-start; }
  .carousel-ctrl { display: none; }
  .car-track { grid-auto-columns: 86%; gap: 14px; }
  .sort { margin-left: 0; width: 100%; }
  .sort select { flex: 1; }
  .list-count { margin-left: auto; }
}
.car--promo { background: var(--navy); color: #fff; border-color: var(--navy); }
.car--promo .car-body { padding: 32px 28px; justify-content: center; }
.car--promo .tag { align-self: flex-start; background: rgba(255,255,255,.12); color: #fff; margin-bottom: 18px; }
.car--promo h3 { font-size: 1.5rem; color: #fff; }
.car--promo p { color: #c3cdd9; font-size: .95rem; }
.promo-price { font-family: "Funnel Display", sans-serif; font-size: 2rem; font-weight: 700; margin: 8px 0 6px; }
.promo-price small { display: block; font: 500 .8rem "Inter", sans-serif; color: #c3cdd9; }
.car--promo .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.car--promo .btn--ghost:hover { border-color: #fff; }

/* Patička: právní odkazy */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Právní stránky */
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 12px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .params { margin: 8px 0 16px; }
.legal .params th { width: 38%; padding-right: 16px; }
.legal .params td { font-weight: 400; color: var(--ink-2); }
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-card { background: var(--bg-2); border-radius: 12px; padding: 18px 22px; margin: 12px 0 16px; line-height: 1.8; }
.cookie-table th, .legal .params th code { font-family: ui-monospace, Consolas, monospace; font-size: .88rem; color: var(--ink); }

/* Cookie lišta */
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #000; }
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; display: none; }
.cookiebar.open { display: block; }
.cookiebar-in { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(15,27,45,.18); padding: 20px 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; }
.cookiebar-text p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.cookiebar-opts { grid-column: 1 / -1; display: grid; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cookiebar-opts[hidden] { display: none; }
.cookiebar-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookiebar-btns [hidden] { display: none; }
@media (max-width: 760px) {
  .cookiebar { left: 8px; right: 8px; bottom: 8px; }
  .cookiebar-in { grid-template-columns: 1fr; padding: 18px; }
  .cookiebar-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .cookiebar-btns .btn { width: 100%; }
}
.cookiebar-opts:not([hidden]) ~ .cookiebar-btns { grid-column: 1 / -1; }

/* Mobilní panel filtrů: zavírací křížek a tlačítko přilepené dole */
.filters-close { display: none; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); padding: 0 0 0 12px; }
@media (max-width: 980px) {
  .filters { padding-bottom: 0; }
  .filters-head { position: sticky; top: -20px; background: #fff; padding: 20px 0 12px; margin-top: -20px; z-index: 1; gap: 12px; }
  .filters-head .link-btn { margin-left: auto; }
  .filters-close { display: block; }
  .filters-apply { position: sticky; bottom: 0; margin: 8px -20px 0; width: calc(100% + 40px); border-radius: 0; padding: 18px; }
}

/* Telefony a tablety: nic nesmí roztáhnout stránku do šířky a ovládání musí jít pohodlně trefit prstem */
.hero .wrap > *, .report > *, .about > *, .contact > *, .split > *, .form-grid > *, .detail-grid > *, .detail-top > * { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
/* Safari kreslí dlouhý text vybrané možnosti přes okraj pole a rozšíří stránku; rezerva 4 px nechá vidět rámeček při kliknutí */
.field:has(select) { overflow: hidden; padding: 4px; margin: -4px; }
@media (max-width: 640px) {
  .btn { min-height: 44px; }
  input, select, textarea, .sort select, .fgroup select { font-size: 16px; }
  .sort select { min-height: 44px; }
  /* Oranžový pruh: tlačítka vedle sebe, místo čísla „Zavolat“ */
  .cta-band .btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; gap: 10px; }
  .cta-band .btn { padding: 10px 8px; line-height: 1.2; text-align: center; }
  .calc input[type=range] { height: 32px; }
}
.jen-mobil { display: none; }
@media (max-width: 640px) { .jen-mobil { display: inline; } .jen-sirsi { display: none; } }

/* Stránky z administrace: pozadí sekcí se střídá samo podle toho, které sekce jsou zobrazené
   (1. sekce = úvodní část, pak bílá, šedá, bílá…). Pruh přilepený pod předchozí blok si nechá barvu bloku nad sebou. */
main.auto-pozadi > section.section:nth-of-type(odd) { background: var(--bg-2); }
main.auto-pozadi > section.section.section--navazuje { background: inherit; }

/* Autor webu v patičce (grou.cz) */
.autor-webu { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.6); text-decoration: none; }
.autor-webu img { display: block; height: 18px; width: auto; opacity: .8; transition: opacity .2s; }
.autor-webu:hover { color: #fff; }
.autor-webu:hover img { opacity: 1; }
