/* AD MOTO - navrh noveho webu. Tmavy "asfalt" a zluta z puvodniho admoto.cz (#fff200). */
:root {
  --bg: #0f0f10;
  --bg2: #131418;
  --card: #17191d;
  --line: #262930;
  --txt: #eef0f3;
  --mut: #9ba1ab;
  --acc: #fff200;
  --acc2: #fff36b;
  --ok: #3ccf7a;
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--acc2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 700; }
.wrap { width: min(1200px, 100% - 4.5rem); margin: 0 auto; position: relative; }
.kicker { margin: 0 0 0.5rem; font: 600 0.82rem var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc); }
.lead { color: #c9cdd4; font-size: 1.08rem; max-width: 60ch; }

/* lista neverejneho nahledu */
.preview { position: relative; z-index: 60; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: center; align-items: center; padding: 0.4rem 16px; background: #24220c; border-bottom: 1px solid #4d4813; color: #fff8b0; font-size: 0.85rem; }
.preview[hidden], .preview a[hidden] { display: none; }
.preview a { color: #fff; font-weight: 600; }
.preview-user { color: #fff36b; }

/* hlavicka */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(12, 13, 15, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.hdr.scrolled { border-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; flex-shrink: 1; }
.logo img { display: block; height: 46px; width: auto; max-width: 100%; object-fit: contain; }
.logo b { display: inline-block; font: 400 1.5rem/1 'Krona One', 'Arial Black', sans-serif; letter-spacing: 0.03em; transform: skewX(-16deg) scaleY(0.74); paint-order: stroke fill; }
.logo .l-ad { color: var(--acc); -webkit-text-stroke: 2.6px #111; margin-right: 0.38em; }
.logo .l-moto { color: #111; -webkit-text-stroke: 2.6px var(--acc); text-shadow: 0 0 0 #111, 0 0 1.5px #111; }
.logo span { display: none; }
.menu { display: flex; gap: 1.6rem; margin-left: auto; }
.menu a { color: #d5d8de; text-decoration: none; font: 600 1.05rem var(--head); text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.on { color: #fff; border-color: var(--acc); }
.hdr-tel { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--acc); color: #111; text-decoration: none; font: 700 1.05rem var(--head); letter-spacing: 0.04em; white-space: nowrap; }
.hdr-tel svg { width: 1rem; height: 1rem; fill: currentColor; }
.burger { display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: none; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 20%, rgba(255, 242, 0, 0.13), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(255, 242, 0, 0.05), transparent 60%),
  repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, 0.025) 46px 48px); }
.hero-in { position: relative; min-width: 0; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7.2rem); font-weight: 800; text-transform: uppercase; line-height: 0.92; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { margin: 1.4rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 10px; font: 700 1.1rem var(--head); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-acc { background: var(--acc); color: #111; }
.btn-acc:hover { background: #fff75a; }
.btn-line { border-color: #3a3e46; color: #fff; background: transparent; }
.btn-line:hover { border-color: var(--acc); }
.facts { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 960px; }
.facts li { background: rgba(19, 20, 24, 0.92); padding: 0.95rem 1rem; }
.facts b { display: block; font: 800 1.75rem/1 var(--head); color: #fff; white-space: nowrap; }
.facts span { display: block; margin-top: 0.3rem; color: var(--mut); font-size: 0.82rem; line-height: 1.35; }
/* proklik na motorky a dily */
.facts a { display: block; margin: -0.95rem -1rem; padding: 0.95rem 1rem; color: inherit; text-decoration: none; transition: background .2s; }
.facts a:hover, .facts a:focus-visible { background: rgba(var(--flow-rgb), .08); outline: none; }
.facts a b { color: var(--acc); }
.facts a span::after { content: '\00a0→'; color: var(--acc); }

/* sekce */
.sec { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.8rem; }
.sec-note { color: var(--mut); max-width: 46ch; margin: 0; }

/* filtry a karty motorek */
.filters { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.filters label { display: grid; gap: 0.2rem; font-size: 0.78rem; color: var(--mut); text-transform: uppercase; letter-spacing: 0.08em; }
.filters select, .form input, .form textarea { font: 500 1rem var(--body); color: var(--txt); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.8rem; }
.filters select { min-width: 11rem; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--acc); border-color: transparent; }
.count { color: var(--mut); margin: 0 0 1rem; font-size: 0.95rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
/* na velke obrazovce je cely web sirsi (vsechny sekce stejne, aby silnice vlevo vedla rovne a necrossovala karty) */
@media (min-width: 1300px) { .wrap { width: min(1600px, 100% - 14rem); } .tnode:not(.hero-visual > .tnode) { left: -3.4rem; } }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.bike { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; padding: 0; transition: transform 0.18s, border-color 0.18s; }
.bike:hover, .bike:focus-visible { transform: translateY(-4px); border-color: #5c5718; outline: none; }
.bike-img { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 70% 30%, #262410, #121214 70%); display: grid; place-items: center; overflow: hidden; }
.bike-img img { width: 100%; height: 100%; object-fit: cover; }
.bike-ph { width: 78%; opacity: 0.85; }
.bike-brand { position: absolute; left: 0.8rem; top: 0.7rem; padding: 0.22rem 0.55rem; border-radius: 999px; background: rgba(10, 10, 11, 0.78); font: 700 0.78rem var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc2); }
.bike-year { position: absolute; right: 0.7rem; top: 0.6rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font: 700 0.9rem var(--head); }
.bike-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.bike h3 { font-size: 1.4rem; }
.bike-meta { color: var(--mut); font-size: 0.92rem; }
.bike-price { margin-top: auto; padding-top: 0.5rem; font: 800 1.6rem var(--head); color: #fff; }
.bike-price small { font: 500 0.85rem var(--body); color: var(--mut); margin-left: 0.3rem; }
.empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--mut); border: 1px dashed var(--line); border-radius: 14px; }

/* dily */
.parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.7rem; }
.part { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--txt); text-decoration: none; font: 600 1.1rem var(--head); letter-spacing: 0.03em; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.part:hover { border-color: var(--acc); background: #1e1d12; }
.part svg { width: 1.6rem; height: 1.6rem; flex: none; stroke: var(--acc); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.part small { display: block; font: 500 0.78rem var(--body); color: var(--mut); letter-spacing: 0; }

/* sluzby */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.svc article { position: relative; padding: 1.4rem 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; border-top: 3px solid var(--acc); }
.svc p { color: var(--mut); margin: 0.5rem 0 0; font-size: 0.98rem; }
.svc-n { font: 800 0.95rem var(--head); color: var(--acc2); letter-spacing: 0.1em; }
.svc h3 { margin-top: 0.4rem; }
.svc .svc-off { border-top-color: #555a63; opacity: 0.75; }
.svc .svc-off .svc-n { color: #8a909a; }
/* proklik z karty sluzby: odkaz dole, klikaci je cela karta */
.svc article:has(.svc-go) { display: flex; flex-direction: column; cursor: pointer; }
.svc-go { margin-top: auto; padding-top: 0.9rem; color: var(--acc); font: 700 0.95rem var(--head); text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.svc-go::after { content: '\00a0→'; display: inline-block; transition: transform .2s; }
.svc-go::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.svc article:hover .svc-go::after, .svc-go:focus-visible::after { transform: translateX(4px); }

/* prodejna */
.sec-shop { background: linear-gradient(180deg, var(--bg), #16150a 50%, var(--bg)); }
.shop { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.shop .lead { margin: 1rem 0; }
.warn { display: inline-block; margin: 0.4rem 0 1.4rem; padding: 0.6rem 0.9rem; border-radius: 10px; background: #24220c; border: 1px solid #5c5718; color: #fff8b0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.steps li { display: flex; gap: 1rem; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.steps b { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--acc); color: #111; font: 800 1.2rem var(--head); }
.steps p { margin: 0.2rem 0 0; color: var(--mut); font-size: 0.95rem; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.cdl { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 1.4rem; margin: 1.6rem 0 0; }
.cdl dt { color: var(--mut); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 0.15rem; }
.cdl dd { margin: 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.form-note { color: var(--mut); margin: 0.3rem 0 0.6rem; font-size: 0.95rem; }
.form label { display: grid; gap: 0.25rem; margin-top: 0.8rem; font-size: 0.85rem; color: var(--mut); }
.form input, .form textarea { width: 100%; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form .btn { margin-top: 1.1rem; }
.form-msg { min-height: 1.4em; margin: 0.7rem 0 0; font-size: 0.95rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #ff8f7a; }

/* paticka */
.ftr { border-top: 1px solid var(--line); padding: 2.4rem 0; color: var(--mut); font-size: 0.95rem; }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.ftr p { margin: 0; }
.ftr-small { font-size: 0.85rem; }

/* detail motorky */
.dlg { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--txt); }
.dlg::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.dlg-x { position: absolute; right: 0.8rem; top: 0.8rem; z-index: 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 1rem; cursor: pointer; }
.dlg .bike-img { aspect-ratio: auto; background: #0a0a0b; }
.dlg .bike-img img:not(.bike-ph) { width: 100%; height: auto; max-height: min(68vh, 620px); object-fit: contain; }
.dlg-in { padding: 1.4rem 1.5rem 1.6rem; }
.dlg h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; margin: 1.1rem 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { background: var(--bg2); padding: 0.7rem 0.9rem; }
.specs span { display: block; color: var(--mut); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.specs b { font: 700 1.25rem var(--head); }
.dlg-desc { color: #c9cdd4; white-space: pre-line; }
.dlg-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.dlg-src { margin-top: 1rem; font-size: 0.85rem; color: var(--mut); }

@media (max-width: 960px) {
  .menu { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 0.5rem 16px 1rem; background: rgba(12, 13, 15, 0.97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform 0.25s; }
  .menu.open { transform: none; }
  .menu a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .burger { display: flex; }
  .hdr-in { gap: 0.8rem; }
  .hdr-tel { margin-left: auto; }
  .shop, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { height: 34px; }
  /* na mobilu je z telefonu jen kulate tlacitko se sluchatkem (cislo je v Kontaktu) */
  .hdr-tel { flex: none; width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .hdr-tel svg { width: 1.2rem; height: 1.2rem; }
  .hero-bg::after { opacity: 0.35; right: -30%; bottom: -6%; }
  .filters { width: 100%; }
  .filters label { flex: 1 1 140px; }
  .filters select { min-width: 0; width: 100%; }
  .form-2 { grid-template-columns: 1fr; }
  .cdl { grid-template-columns: 1fr; gap: 0.2rem; }
  .cdl dd { margin-bottom: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .bike { transition: none; } }

/* ================= Fluxline jako na nijak.cz, ve zlute ================= */
:root { --flow: #fff200; --flow-rgb: 255, 242, 0; --flow-hi: #fff8a0; --mono: 'Cascadia Mono', Consolas, ui-monospace, monospace; }
.bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%); }
.bg-grain { position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .ftr { position: relative; z-index: 2; }
.sec-alt { background: rgba(19, 20, 24, 0.72); }

/* nit */
.thread-layer { position: absolute; top: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
#thread { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
#thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#thread .t-core { stroke: url(#threadGrad); stroke-width: 1.4; }
#thread .t-glow1 { stroke: url(#threadGrad); stroke-opacity: .3; stroke-width: 7; stroke-linecap: butt; }
#thread .t-glow2 { stroke: url(#threadGrad); stroke-opacity: .07; stroke-width: 40; stroke-linecap: butt; }
#thread .t-mask { stroke: #fff; stroke-width: 120; }
#threadGrad .g0 { stop-color: var(--flow); stop-opacity: 0; }
#threadGrad .g1, #threadGrad .g2 { stop-color: var(--flow); stop-opacity: 1; }
#thread .t-flow path { stroke-linecap: round; animation: flow linear infinite; }
#thread .t-flow .s0 { stroke: var(--flow); stroke-opacity: .8; stroke-width: 2; stroke-dasharray: 90 50 30 70; animation-duration: 6s; }
#thread .t-flow .s1 { stroke: var(--flow); stroke-opacity: .6; stroke-width: 1.6; stroke-dasharray: 150 90; animation-duration: 9s; }
#thread .t-flow .s2 { stroke: var(--flow-hi); stroke-opacity: 1; stroke-width: 2.6; stroke-dasharray: 1 23; animation-duration: 4s; }
#thread .t-flow .s3 { stroke: var(--flow-hi); stroke-opacity: .85; stroke-width: 1.8; stroke-dasharray: 18 120 4 58; animation-duration: 5s; }
#thread .t-flow .s4 { stroke: var(--flow); stroke-opacity: .4; stroke-width: 5; stroke-dasharray: 220 180; animation-duration: 12s; }
#thread .t-flow .s5 { stroke: var(--flow-hi); stroke-opacity: .7; stroke-width: 1.4; stroke-dasharray: 60 40 2 48; animation-duration: 7s; }
#thread .t-flow .s6 { stroke: var(--flow); stroke-opacity: .35; stroke-width: 8; stroke-dasharray: 300 100; animation-duration: 15s; }
@keyframes flow { to { stroke-dashoffset: -1200; } }
.tnode { position: absolute; z-index: 3; left: -1.6rem; top: .4rem; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(255,255,255,.22); transition: border-color .4s, box-shadow .4s, background .4s; pointer-events: none; }
.tnode::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; transition: background .4s; }
.tnode.lit { border-color: var(--flow-hi); box-shadow: 0 0 0 4px rgba(var(--flow-rgb), .25), 0 0 22px rgba(var(--flow-rgb), .95); }
.tnode.lit::after { background: var(--flow-hi); }
.shop > .tnode, .contact > .tnode { top: 1rem; }

/* menu: po odrolovani se stahne do zluteho ovalu */
.hdr { background: transparent; backdrop-filter: none; transition: padding .4s cubic-bezier(.2,1.4,.4,1); }
.hdr-in { transition: max-width .5s cubic-bezier(.2,1.4,.4,1), border-radius .5s, background .3s, border-color .3s, padding .4s; border: 1px solid transparent; }
.hdr.scrolled { padding: .6rem 1rem 0; border-color: transparent; }
.hdr.scrolled .hdr-in { width: min(1120px, 100%); height: 60px; padding: 0 .5rem 0 .6rem; border-radius: 999px; background: rgba(16,16,18,.78); border-color: rgba(var(--flow-rgb), .45); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 50px -20px rgba(0,0,0,.8), 0 0 30px -12px rgba(var(--flow-rgb), .6); }

/* hero s oknem */
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; }
.hero > .wrap { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.hero-visual { position: relative; perspective: 1400px; }
.hero-visual > .tnode { top: 50%; }
.hero-in > .kicker, .hero .facts { position: relative; }
.glass { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(var(--flow-rgb), .25); }
.window { border-radius: 18px; padding: 0 0 1rem; transform: rotateY(-14deg) rotateX(7deg); transform-style: preserve-3d; will-change: transform; }
.win-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font: 500 .75rem var(--mono); color: var(--mut); }
.win-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.win-bar b { font-weight: 500; margin-left: .6rem; }
.win-bar .live { margin-left: auto; font-style: normal; color: var(--acc); display: inline-flex; align-items: center; gap: .35rem; }
.win-bar .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wflow { list-style: none; margin: 0; padding: 1rem 1.1rem .4rem; display: grid; gap: .15rem; }
.wflow li { position: relative; border-radius: 10px; transition: background .4s; }
.wflow li::before { content: ''; position: absolute; left: calc(.6rem + 6px); top: -.45rem; height: .9rem; width: 1px; background: rgba(255,255,255,.14); }
.wflow li:first-child::before { display: none; }
.wflow li.done::before, .wflow li.on::before { background: var(--acc); box-shadow: 0 0 6px var(--acc); }
.wflow a { display: flex; align-items: center; gap: .8rem; padding: .42rem .6rem; color: inherit; text-decoration: none; }
.wflow i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); flex-shrink: 0; transition: all .35s cubic-bezier(.2,1.4,.4,1); }
.wflow li.done i { border-color: rgba(var(--flow-rgb), .6); background: rgba(var(--flow-rgb), .25); }
.wflow li.on { background: rgba(var(--flow-rgb), .07); }
.wflow li.on i { border-color: var(--acc); background: var(--acc); box-shadow: 0 0 14px var(--acc); transform: scale(1.15); }
.wflow li:hover { background: rgba(var(--flow-rgb), .1); }
.wflow a::after { content: '→'; margin-left: auto; color: var(--flow-hi); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.wflow li.on a::after, .wflow a:hover::after { opacity: 1; transform: none; }
.wflow strong { display: block; font: 600 1.05rem var(--head); letter-spacing: .03em; text-transform: uppercase; }
.wflow small { display: block; font: 400 .72rem var(--mono); color: #7b818b; }
.log { margin: .6rem 1.1rem 0; padding: .7rem .8rem; height: 6.9rem; overflow: hidden; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--line); font: 400 .7rem/1.6 var(--mono); color: #7b818b; display: flex; flex-direction: column; justify-content: flex-end; }
.log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .4s cubic-bezier(.2,1.4,.4,1); }
.log div b { color: var(--acc); font-weight: 500; }
.log div:last-child { color: #c9cdd4; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }

/* karty se zari od kurzoru */
.glow, .bike, .svc article, .steps li, .part { --mx: 50%; --my: 50%; }
.bike, .svc article, .steps li, .part, .form.glow { background: linear-gradient(var(--card), var(--card)) padding-box, radial-gradient(240px circle at var(--mx) var(--my), rgba(var(--flow-rgb), calc(.6 * var(--ga, 0))), transparent 60%) border-box, linear-gradient(var(--line), var(--line)) border-box; border-color: transparent; }
.bike:hover, .svc article:hover, .steps li:hover, .part:hover, .form.glow:hover { --ga: 1; }
.svc article { border-top: 3px solid transparent; }
@property --ga { syntax: '<number>'; inherits: true; initial-value: 0; }

/* vstup sekci */
.js [data-r] { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(12px); transition: opacity .9s, transform .9s cubic-bezier(.2,1.4,.4,1), filter .9s; }
.js [data-r].in { opacity: 1; transform: none; filter: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } /* 1fr by se roztahl podle nezalomenych radku v okne a pretekl vpravo */
  .hero-visual, .window { min-width: 0; max-width: 100%; }
  .window { transform: none; }
  .hero-visual > .tnode { top: -1.4rem; }
  .hdr.scrolled { padding: .5rem .6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  #thread .t-flow path { animation: none; }
  .js [data-r] { opacity: 1; transform: none; filter: none; transition: none; }
  .window { transform: none; }
}

/* galerie v detailu motorky */
.thumbs { display: flex; gap: .5rem; overflow-x: auto; margin: 0 0 1rem; padding-bottom: .2rem; }
.thumb { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #111; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.on { border-color: var(--acc); opacity: 1; }


/* prohlizec nahradnich dilu */
.pb { margin-top: 2.2rem; scroll-margin-top: 90px; }
.pb-bar { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.pb-bar label { display: grid; gap: .2rem; font-size: .78rem; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; }
.pb-bar input, .pb-bar select { width: 100%; font: 500 1rem var(--body); color: var(--txt); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .55rem; }
.pcard { display: flex; flex-direction: column; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; border-radius: 9px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.pcard:hover, .pcard:focus-visible { transform: translateY(-3px); border-color: #5c5718; outline: none; }
.pcard-img { aspect-ratio: 4 / 3; background: #101012; display: grid; place-items: center; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-none { color: #555a63; font-size: .68rem; }
.pcard-body { padding: .4rem .5rem .5rem; display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.pcard-kat { color: var(--acc2); font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard strong { font: 700 .82rem/1.15 var(--head); overflow-wrap: anywhere; }
.pcard-moto { color: var(--mut); font-size: .68rem; line-height: 1.3; }
.pcard-price { margin-top: auto; padding-top: .25rem; font: 800 .92rem var(--head); }
.pb-more { display: flex; margin: 1.4rem auto 0; }
@media (max-width: 760px) { .pb-bar { grid-template-columns: 1fr 1fr; } .pb-q { grid-column: 1 / -1; } .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; } }

/* silnice a motorka (Fluxline s motorkou) */
#thread .t-road { stroke: #16161a; stroke-width: 30; stroke-linecap: butt; }
#thread .t-edge { stroke: rgba(255, 255, 255, .16); stroke-width: 33; stroke-linecap: butt; stroke-dasharray: none; mix-blend-mode: normal; }
#thread .t-edge { stroke: transparent; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
#thread .t-lane { stroke: var(--flow); stroke-opacity: .85; stroke-width: 2.4; stroke-dasharray: 16 18; stroke-linecap: butt; animation: lane 1.2s linear infinite; }
@keyframes lane { to { stroke-dashoffset: -34; } }
#thread .t-core { stroke-opacity: .55; }
#thread .t-glow1 { stroke-opacity: .16; stroke-width: 34; }
.rider { transition: opacity .3s; }
.rider .beam { opacity: .55; transition: opacity .3s; }
.rider.fast .beam { opacity: 1; }
.rider-tag rect { fill: rgba(12, 12, 14, .88); stroke: rgba(var(--flow-rgb), .55); stroke-width: 1; }
.rider-tag text { fill: var(--flow); font: 700 12px var(--mono); }
.rider.fast .rider-tag rect { stroke: var(--flow); }
@media (prefers-reduced-motion: reduce) { #thread .t-lane { animation: none; } }

.rider-layer { position: absolute; top: 0; left: 0; width: 100%; z-index: 4; pointer-events: none; overflow: hidden; }
#riderSvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* posuvnik "Cena do" */
.price-f { min-width: 13rem; }
.price-f span b { color: var(--acc); font-weight: 700; text-transform: none; letter-spacing: 0; margin-left: .3rem; }
#fPrice { -webkit-appearance: none; appearance: none; width: 100%; height: 42px; background: transparent; cursor: pointer; margin: 0; --p: 100%; }
#fPrice::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) 0 var(--p), #2a2b31 var(--p) 100%); }
#fPrice::-moz-range-track { height: 6px; border-radius: 3px; background: #2a2b31; }
#fPrice::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--acc); }
#fPrice::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--acc); border: 3px solid #111; box-shadow: 0 0 0 2px var(--acc), 0 0 14px rgba(var(--flow-rgb), .6); transition: transform .15s; }
#fPrice::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--acc); border: 3px solid #111; box-shadow: 0 0 0 2px var(--acc), 0 0 14px rgba(var(--flow-rgb), .6); }
#fPrice:active::-webkit-slider-thumb { transform: scale(1.15); }
#fPrice:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 8px; }


.thumb-video { position: relative; }
.thumb-video::after { content: '\25B6'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--acc); font-size: 1.3rem; text-shadow: 0 0 8px #000; }

/* video v detailu motorky */
.dlg [hidden] { display: none; }
.dlg .bike-img video { display: block; width: 100%; max-height: min(68vh, 620px); background: #000; }
.dlg .bike-img [hidden] { display: none; }

/* video jako nahled v karte motorky */
.bike-img > video { width: 100%; height: 100%; object-fit: cover; }

/* info s telefonem v detailu */
.dlg-cta { align-items: center; }
.dlg-call { font: 600 1.15rem var(--head); letter-spacing: .03em; color: #d5d8de; }
.dlg-call a { color: var(--acc); text-decoration: none; white-space: nowrap; }

/* popis a historie modelu v detailu */
.dlg-h { margin: 1.1rem 0 .3rem; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; color: var(--acc); }
.dlg-text { margin: 0; color: #c9cdd4; }
.dlg-zvuk { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 .9rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #0f1013; }
.dlg-zvuk span { font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .05em; color: var(--acc); }
.dlg-zvuk audio { flex: 1 1 240px; min-width: 0; height: 40px; }
.stk-list { margin: .2rem 0 0; padding-left: 1.3rem; color: #c9cdd4; }
.stk-list li { margin: .35rem 0; padding-left: .2rem; }
.stk-list li::marker { color: var(--acc); font-weight: 700; }

/* promitani fotek v karte motorky */
.bike-img.slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.bike-img.slides .slide.on { opacity: 1; }
.bike-img.slides .bike-brand, .bike-img.slides .bike-year { z-index: 2; }

/* prepinac jazyka: globus vpravo pod menu */
.lang { position: absolute; right: max(16px, calc((100% - 1200px) / 2)); top: calc(100% + 12px); z-index: 55; }
.hdr.scrolled .lang { right: max(24px, calc((100% - 1120px) / 2 + 8px)); }
.lang-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .3rem; border-radius: 999px; border: 1px solid rgba(var(--flow-rgb), .45); background: rgba(16, 16, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--txt); cursor: pointer; box-shadow: 0 0 18px -6px rgba(var(--flow-rgb), .6); transition: border-color .2s, box-shadow .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--acc); box-shadow: 0 0 24px -4px rgba(var(--flow-rgb), .8); }
.lang-btn svg { width: 34px; height: 34px; fill: none; stroke: var(--acc); stroke-width: 1.4; }
.lang-btn svg .g-fill { fill: rgba(var(--flow-rgb), .08); stroke: none; }
.lang-code { font: 700 .95rem var(--head); letter-spacing: .08em; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 12rem; margin: 0; padding: .4rem; list-style: none; border-radius: 12px; border: 1px solid var(--line); background: rgba(16, 16, 18, .96); box-shadow: 0 20px 50px -20px #000; }
.lang-menu[hidden] { display: none; }
.lang-menu a, .lang-menu .soon { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem .7rem; border-radius: 8px; color: var(--txt); text-decoration: none; font-weight: 600; }
.lang-menu a.on { color: var(--acc); background: rgba(var(--flow-rgb), .08); }
.lang-menu a.on::after { content: '\2713'; }
.lang-menu .soon { color: #6f747d; cursor: default; }
.lang-menu small { font-weight: 400; font-size: .75rem; }
@media (max-width: 560px) { .lang-btn svg { width: 28px; height: 28px; } }

/* menu: Nedovolali jste se? + okno pro zavolani zpet */
.menu a.menu-cb { color: var(--acc); }
.menu a.menu-cb:hover { color: #fff; border-color: var(--acc); }
.dlg-cb { width: min(440px, calc(100% - 24px)); }
.dlg-cb form label { display: grid; gap: .25rem; margin-top: .8rem; font-size: .85rem; color: var(--mut); }
.dlg-cb form input { width: 100%; font: 500 1rem var(--body); color: var(--txt); background: #0f1013; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.dlg-cb .btn { margin-top: 1.1rem; }
#servis .form input[type=date] { color-scheme: dark; }
@media (min-width: 961px) and (max-width: 1240px) { .menu { gap: 1.1rem; } .menu a { font-size: .95rem; } }

/* chat na webu (chat.js) */
.ch-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--acc); color: #111; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(var(--flow-rgb), .6), 0 6px 20px rgba(0,0,0,.5); transition: transform .2s; }
.ch-fab:hover { transform: scale(1.06); }
.ch-fab svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 2; stroke-linejoin: round; }
.ch-fab.on svg { opacity: .6; }
.ch-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e5322d; color: #fff; font: 700 12px/22px var(--body); }
.ch-badge[hidden] { display: none; }
.ch-panel { position: fixed; right: 18px; bottom: 88px; z-index: 80; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; border: 1px solid rgba(var(--flow-rgb), .45); border-radius: 18px; background: rgba(16, 16, 18, .97); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -20px #000, 0 0 40px -16px rgba(var(--flow-rgb), .5); overflow: hidden; }
.ch-panel[hidden] { display: none; }
.ch-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.ch-title { font: 700 1.15rem var(--head); text-transform: uppercase; letter-spacing: .05em; }
.ch-x { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--txt); cursor: pointer; }
.ch-tabs { display: flex; gap: 6px; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.ch-tab { position: relative; flex: 1; padding: .45rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--txt); font: 600 .9rem var(--body); cursor: pointer; }
.ch-tab.on { background: var(--acc); border-color: var(--acc); color: #111; }
.ch-dot { position: absolute; top: 2px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #e5322d; }
.ch-dot[hidden] { display: none; }
.ch-msgs { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.ch-msg { max-width: 85%; padding: .55rem .8rem; border-radius: 14px; font-size: .93rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.ch-msg small { display: block; font-weight: 700; font-size: .72rem; color: var(--acc); margin-bottom: 2px; }
.ch-msg time { display: block; font-size: .68rem; opacity: .55; margin-top: 2px; text-align: right; }
.ch-them { align-self: flex-start; background: #1f2126; border-bottom-left-radius: 4px; }
.ch-me { align-self: flex-end; background: #3d3910; border-bottom-right-radius: 4px; }
.ch-intro { color: #c9cdd4; }
.ch-form { padding: .6rem .8rem .8rem; border-top: 1px solid var(--line); display: grid; gap: .45rem; }
.ch-form input, .ch-form textarea { width: 100%; font: 500 .95rem var(--body); color: var(--txt); background: #0f1013; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; resize: none; }
.ch-name[hidden] { display: none; }
.ch-row { display: flex; gap: .45rem; align-items: stretch; }
.ch-send { width: 46px; border-radius: 10px; border: 0; background: var(--acc); color: #111; font-size: 1.1rem; cursor: pointer; }
.ch-err { margin: 0; color: #ff8f7a; font-size: .85rem; }
.ch-err[hidden] { display: none; }
@media (max-width: 560px) { .ch-fab { right: 12px; bottom: 12px; width: 52px; height: 52px; } .ch-panel { right: 12px; bottom: 74px; } }

/* Nedovolali jste se? u telefonu v kontaktech */
.cb-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(var(--flow-rgb), .5); color: var(--acc); font: 600 .9rem var(--body); text-decoration: none; }
.cb-link:hover { background: rgba(var(--flow-rgb), .1); border-color: var(--acc); }

.dlg-cb form select { width: 100%; font: 500 1rem var(--body); color: var(--txt); background: #0f1013; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.dlg-cb form label small { display: inline; font-size: .8rem; }

/* odkaz na poptavkovy formular: formular nezajede pod menu */
#form { scroll-margin-top: 96px; }

/* Prodejna: poloprusvitne pozadi, aby silnice (Fluxline) nebyla zakryta */
.sec-shop { background: linear-gradient(180deg, transparent, rgba(22, 21, 10, .55) 50%, transparent); }

/* ucet (account.js) */
.lang { display: flex; gap: 8px; align-items: center; }
.acc-btn { display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 .9rem 0 .7rem; border-radius: 999px; border: 1px solid rgba(var(--flow-rgb), .45); background: rgba(16, 16, 18, .82); backdrop-filter: blur(10px); color: var(--txt); font: 700 .95rem var(--head); letter-spacing: .04em; cursor: pointer; box-shadow: 0 0 18px -6px rgba(var(--flow-rgb), .6); }
.acc-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--acc); stroke-width: 1.8; }
.acc-btn.in { border-color: var(--acc); }
.acc-btn:hover { border-color: var(--acc); }
.acc-dlg form label { display: grid; gap: .25rem; margin-top: .75rem; font-size: .85rem; color: var(--mut); }
.acc-dlg form input:not([type=checkbox]) { width: 100%; font: 500 1rem var(--body); color: var(--txt); background: #0f1013; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .8rem; }
.acc-dlg .acc-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; color: #c9cdd4; }
.acc-check input { margin-top: .2rem; accent-color: var(--acc); width: 18px; height: 18px; flex: none; }
.acc-dlg .btn { margin-top: 1rem; }
.acc-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .8rem 0 0; font-size: .9rem; }
.acc-note { color: #fff8b0; font-size: .9rem; }
.acc-extra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.acc-del { color: #ff8f7a; font-size: .85rem; }
@media (max-width: 560px) { .acc-btn { height: 38px; padding: 0 .7rem 0 .55rem; } .acc-btn span { max-width: 6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
/* chat: kontakt neregistrovanych a bublina */
.ch-contact[hidden], .ch-acc[hidden], .ch-who[hidden] { display: none; }
.ch-who { margin: 0; font-size: .8rem; color: var(--mut); }
.ch-acc { margin: 0; font-size: .8rem; }
.ch-bubble { position: fixed; right: 88px; bottom: 30px; z-index: 80; max-width: 250px; padding: .7rem 2rem .7rem .9rem; border-radius: 16px 16px 4px 16px; background: #fff; color: #111; font: 600 .92rem/1.35 var(--body); box-shadow: 0 14px 40px -10px rgba(0,0,0,.6); cursor: pointer; animation: chBubble .4s cubic-bezier(.2,1.4,.4,1); }
.ch-bubble::after { content: ''; position: absolute; right: -7px; bottom: 10px; border: 8px solid transparent; border-left-color: #fff; border-right: 0; }
.ch-bubble[hidden] { display: none; }
.ch-bubble-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #eee; color: #444; font-size: .7rem; cursor: pointer; }
@keyframes chBubble { from { opacity: 0; transform: translateY(8px) scale(.95); } }
@media (max-width: 560px) { .ch-bubble { right: 74px; bottom: 20px; max-width: 200px; font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .ch-bubble { animation: none; } }

/* Fluxline stejne na cele strance: sekce bez zakryvajiciho pozadi, oddelene jen linkou */
.sec-alt, .sec-shop { background: none; border-block: 1px solid var(--line); }

/* START a cilova cara na silnici */
.mark-t { font: 800 15px 'Barlow Condensed', sans-serif; letter-spacing: .14em; fill: var(--acc); paint-order: stroke; stroke: #0f0f10; stroke-width: 4px; }
.mark-t.fin { fill: #fff; font-size: 18px; }

/* oprava: zaskrtavaci policka v registraci */
.acc-dlg form label.acc-check { display: flex; flex-direction: row; gap: .6rem; align-items: flex-start; }
.acc-dlg form .acc-check input { width: 18px; height: 18px; padding: 0; flex: 0 0 18px; margin: .15rem 0 0; }
.acc-dlg form .acc-check span { flex: 1; line-height: 1.4; }

/* odkazy na ochranu osobnich udaju */
.gdpr-note { margin: .6rem 0 0; font-size: .8rem; color: var(--mut); }
.gdpr-note a, .ftr-small a { color: var(--mut); }

/* pozvanka k registraci nad nadpisem (jako na nijak.cz) */
.hero-invite { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; margin: .2rem 0 1.1rem; padding: .55rem 1rem .55rem .85rem; border-radius: 999px; border: 1px solid rgba(var(--flow-rgb), .55); background: rgba(var(--flow-rgb), .1); color: var(--txt); font-size: .95rem; line-height: 1.35; text-decoration: none; box-shadow: 0 0 30px -12px rgba(var(--flow-rgb), .7); transition: background .2s, border-color .2s, transform .2s; }
.hero-invite:hover, .hero-invite:focus-visible { background: rgba(var(--flow-rgb), .2); border-color: rgba(var(--flow-rgb), .9); transform: translateY(-1px); outline: none; }
.hero-invite .dot { width: .5rem; height: .5rem; flex: none; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px rgba(var(--flow-rgb), .9); animation: invPulse 2s infinite; }
.hero-invite .arr { color: var(--acc); font-weight: 700; transition: transform .2s; }
.hero-invite:hover .arr { transform: translateX(3px); }
.hero-invite[hidden] { display: none; }
@keyframes invPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hero-invite .dot { animation: none; } }
@media (max-width: 640px) { .hero-invite { border-radius: 16px; font-size: .9rem; } }
.svc .svc-we{margin:.15rem 0 0;color:var(--ink,#fff);font-size:1.02rem}.svc .svc-we strong{font-weight:800}
.fb-link{display:inline-flex;align-items:center;gap:.7rem}.fb-ico{width:44px;height:44px;flex:none;color:#1877f2;background:#fff;border-radius:50%;transition:transform .2s}.fb-link:hover .fb-ico{transform:scale(1.08)}
.hdr-fb{display:inline-flex;flex:none;margin-right:-1rem;text-decoration:none}.hdr-fb .fb-ico{width:40px;height:40px;color:#1877f2;background:#fff;border-radius:50%;transition:transform .2s}.hdr-fb:hover .fb-ico{transform:scale(1.08)}
.ftr-fb{margin:.4rem 0;text-decoration:none;color:inherit}
@media (max-width:960px){.hdr-fb{margin:0 0 0 auto}.hdr-fb+.hdr-tel{margin-left:0}}
@media (max-width:560px){.hdr-fb .fb-ico{width:38px;height:38px}}
.dlg-video{display:flex;align-items:center;gap:.6rem;margin:0 0 .9rem;padding:.7rem .9rem;border:1px solid var(--line);border-radius:12px;background:#0f1013;color:var(--acc);font:700 1rem var(--head);text-transform:uppercase;letter-spacing:.05em;text-decoration:none}.dlg-video::before{content:'f';display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#1877f2;color:#fff;font:800 1.3rem/1 Arial,sans-serif;text-transform:none}.dlg-video::after{content:'\2197';margin-left:auto;color:var(--mut,#9ba1ab)}.dlg-video:hover{border-color:var(--acc)}
/* mobil: zavrene menu nesmi vykukovat nad hlavickou; Ucet/jazyk po odrolovani nezakryva obsah */
@media (max-width: 960px) {
  .menu { visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .menu.open { visibility: visible; transition: transform .25s; }
  .lang { transition: opacity .2s; }
  .hdr.scrolled .lang { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
}
/* vyska nahledu i bez aspect-ratio (starsi iPhony): fotky v prolinani jsou absolutne, vysku drzi tento prvek */
.bike-img::before { content: ''; display: block; padding-top: 75%; grid-area: 1 / 1; }
.bike-img > img:not(.slide), .bike-img > video, .bike-img > .bike-ph { grid-area: 1 / 1; }
/* Safari: v tlacitku (.bike) se nahled s prolinanim neroztahne sam (sirka 0) */
.bike-img, .bike-body { width: 100%; box-sizing: border-box; }
/* textova nabidka pro vyhledavace (vklada _gate.php), skript ji nahradi kartami */
.bike-seo { display: none; }
/* chat na mobilu: mensi okno nad tlacitkem, pismo 16 px (iPhone jinak pri psani priblizi stranku), stranka pod chatem neroluje */
@media (max-width: 560px) {
  .ch-panel { left: auto; right: 10px; bottom: 72px; width: min(330px, calc(100vw - 20px)); height: min(430px, calc(100dvh - 150px)); border-radius: 14px; }
  .ch-head { padding: .5rem .8rem; } .ch-title { font-size: 1rem; } .ch-x { width: 1.8rem; height: 1.8rem; }
  .ch-tabs { padding: .45rem .6rem; } .ch-tab { padding: .3rem .4rem; font-size: .82rem; }
  .ch-msgs { padding: .6rem; } .ch-msg { font-size: .86rem; }
  .ch-form { padding: .45rem .6rem .6rem; gap: .35rem; } .ch-form input, .ch-form textarea { padding: .4rem .6rem; } .ch-acc, .ch-who { font-size: .72rem; } .ch-send { width: 42px; }
  .ch-form input, .ch-form textarea { font-size: 16px; }
  html.ch-open, html.ch-open body { overflow: hidden; }
}
/* ikona menu na mobilu: zluty ramecek a cary (jako tlacitka Ucet a jazyk) */
.burger { border-color: rgba(var(--flow-rgb), .55); background: rgba(16, 16, 18, .82); box-shadow: 0 0 18px -6px rgba(var(--flow-rgb), .6); }
.burger span { background: var(--acc); width: 100%; flex: none; } /* Safari: v tlacitku se cary samy neroztahnou (sirka 0) */
.burger[aria-expanded="true"] { border-color: var(--acc); }
/* Safari: obsah karet dilu (tlacitka) roztahnout na celou sirku */
.pcard-img, .pcard-body { width: 100%; box-sizing: border-box; }
/* napoveda v prohlizeci aplikace Facebook */
.fb-hint { position: fixed; left: 12px; right: 12px; top: 12px; z-index: 120; display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; background: #1877f2; color: #fff; font: 500 .95rem/1.4 var(--body); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); }
.fb-hint p { margin: 0; flex: 1; }
.fb-hint button { flex: none; padding: .45rem .9rem; border: 0; border-radius: 999px; background: #fff; color: #1877f2; font: 700 .9rem var(--body); }
/* WhatsApp u telefonu v kontaktech */
.wa-btn { display: inline-flex; align-items: center; gap: .45rem; margin: .5rem 0 .2rem; padding: .45rem .9rem .45rem .6rem; border-radius: 999px; background: #25d366; color: #0b2e17 !important; font: 700 .95rem var(--body); text-decoration: none !important; box-shadow: 0 6px 18px -6px rgba(37, 211, 102, .6); transition: transform .15s; }
.wa-btn:hover { transform: translateY(-1px); }
.wa-btn svg { width: 22px; height: 22px; color: #fff; flex: none; }
/* WhatsApp v horni liste vedle Facebooku */
.hdr-wa { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -1rem; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; transition: transform .2s; }
.hdr-wa:hover { transform: scale(1.08); }
.hdr-wa svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .hdr-wa { margin-right: 0; } }
@media (max-width: 560px) { .hdr-wa { width: 38px; height: 38px; } .hdr-wa svg { width: 22px; height: 22px; } .hdr-in { gap: .55rem; } }
@media (max-width: 380px) { .hdr-wa, .hdr-fb .fb-ico { width: 34px; height: 34px; } .hdr-tel, .burger { width: 40px; height: 40px; } .hdr-in { gap: .4rem; } }

/* Instagram jako Facebook */
.ig-ico{width:44px;height:44px;flex:none;border-radius:50%;transition:transform .2s}.fb-link:hover .ig-ico,.hdr-ig:hover .ig-ico{transform:scale(1.08)}
.hdr-ig{display:inline-flex;flex:none;margin-right:-1rem;text-decoration:none}.hdr-ig .ig-ico{width:40px;height:40px}
@media (max-width:960px){.hdr-ig{margin-right:0}}
@media (max-width:560px){.hdr-ig .ig-ico{width:38px;height:38px}}
@media (max-width:380px){.hdr-ig .ig-ico,.hdr-fb .fb-ico,.hdr-wa{width:31px;height:31px}.hdr-wa svg{width:19px;height:19px}.hdr-tel,.burger{width:38px;height:38px}.hdr-in{gap:.3rem}}