/* Společné díly (kariéra, poptávka s 3D soupravou) pro ukázku 2 – zkopírováno ze style.css varianty 1.
   Měnit v obou souborech, dokud se nerozhodne, která varianta zůstane. */
:root { --blue: #1738ac; --blue-2: #2c4fd0; --yellow: #f4d000; --yellow-2: #e0bf00; --radius: 10px; }
.btn svg { width: 20px; height: 20px; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-2); }
.lead { font-size: 1.08rem; color: var(--muted); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
/* ===== kariéra: týden řidiče, výhody, výzva ===== */
.job { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; margin-top: 40px; }
.job__foto { position: relative; margin: 0; }
.job__foto img { width: 100%; height: 440px; object-fit: cover; object-position: 60% 50%; border-radius: 14px; }
.job__foto figcaption {
	position: absolute; left: -16px; bottom: 28px; background: var(--yellow); color: var(--navy);
	padding: 16px 22px; border-radius: 10px; font-weight: 600; box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.job__foto figcaption b { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.job__h { color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.week { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.week li { position: relative; padding: 0 0 22px 58px; color: #b9c3e4; font-size: .97rem; }
.week li::before {
	counter-increment: w; content: counter(w); position: absolute; left: 0; top: 0; width: 38px; height: 38px;
	border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 900; display: grid; place-items: center;
}
.week li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: rgba(244,208,0,.35); }
.week li:last-child { padding-bottom: 0; }
.week li:last-child::after { display: none; }
.week span { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.week b { display: block; color: #fff; font-size: 1.1rem; margin: 2px 0 3px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.perk { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 24px 22px; }
.perk svg { width: 40px; height: 40px; color: var(--yellow); margin-bottom: 12px; }
.perk svg .acc { color: #fff; stroke: #fff; }
.perk h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.perk p { margin: 0; color: #b9c3e4; font-size: .93rem; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #fff; }

/* ===== formuláře (zatím jen vzhled) ===== */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form__grid--3 { grid-template-columns: repeat(3, 1fr); }
.form__grid--4 { grid-template-columns: repeat(4, 1fr); }
.fld { display: block; }
.fld--full { grid-column: 1 / -1; }
.fld > span { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
.fld input, .fld select, .fld textarea {
	width: 100%; padding: 12px 14px; font: inherit; font-size: .98rem; color: var(--ink);
	background: var(--soft); border: 1.5px solid transparent; border-radius: 8px; transition: border-color .15s, background .15s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.fld textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; border: 1.5px solid transparent; }
.chip input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; }
.chip:has(input:checked) { background: #fff8cc; border-color: var(--yellow-2); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file__box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; border: 2px dashed #c9cfdc; border-radius: 10px; color: var(--muted); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.file__box svg { width: 22px; height: 22px; color: var(--blue); }
.file__box.is-drag, .file:hover .file__box { border-color: var(--blue); background: #f2f5fd; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 16px 0; }
.consent input { accent-color: var(--blue); margin-top: 3px; }
.btn--full { width: 100%; justify-content: center; }
.demo-note { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff8cc; color: var(--navy); font-weight: 600; font-size: .9rem; }

/* rozevírací okno */
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s ease, opacity .35s ease, margin .45s ease; }
.reveal.is-open { grid-template-rows: 1fr; opacity: 1; }
.reveal__in { overflow: hidden; min-height: 0; }
.btn svg.chev, .btn[data-reveal] svg { transition: transform .3s ease; }
.btn[data-reveal].is-open svg { transform: rotate(180deg); }

/* kariéra – žlutý pruh + rozbalovací přihláška */
.apply { margin-top: 44px; }
.apply__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 28px 32px; border-radius: 14px; background: var(--yellow); color: var(--navy); }
.apply__bar h3 { color: var(--navy); font-size: 1.5rem; margin: 0 0 4px; }
.apply__bar p { margin: 0; opacity: .85; }
.apply__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.apply .reveal.is-open { margin-top: 18px; }
.form { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }

/* poptávka – nakládka → vykládka */
.inq { display: grid; grid-template-columns: 1fr 300px; gap: 24px 30px; }
.inq__head { grid-column: 1 / -1; }
.inq__form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 18px 40px rgba(14,30,91,.08); display: grid; gap: 18px; }
.inq__next { justify-self: start; align-self: start; height: auto; padding: 12px 24px; }
.inq__form > .reveal:not(.is-open) { margin-top: -18px; }
.inq__next.is-open { display: none; }
.inq__more { display: grid; gap: 18px; }
.route { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: end; gap: 0; background: var(--navy); border-radius: 12px; padding: 22px; }
.route__pt { display: block; position: relative; }
.route__lbl { display: block; color: #c8d0ec; font-size: .8rem; font-weight: 700; margin: 0 0 8px 56px; }
.route__ic { position: absolute; left: 8px; bottom: 6px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.route__ic svg { width: 20px; height: 20px; }
.route__ic--a { background: var(--yellow); color: var(--navy); }
.route__ic--b { background: #fff; color: var(--blue); }
.route__pt input { width: 100%; margin-left: 0; padding: 13px 14px 13px 56px; border: 0; border-radius: 8px; font: inherit; font-size: 1rem; background: rgba(255,255,255,.1); color: #fff; }
.route__pt input::placeholder { color: #8f9bc6; }
.route__pt input:focus { outline: 2px solid var(--yellow); background: rgba(255,255,255,.16); }
.route__ic { pointer-events: none; }
.route__line { position: relative; height: 48px; display: grid; place-items: center; }
.route__line::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; border-top: 2px dashed rgba(244,208,0,.7); }
.route__line svg { position: relative; width: 30px; height: 30px; color: var(--yellow); background: var(--navy); padding: 2px; }
.chips--light .chip { background: var(--soft); }
.inq__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.inq__foot .consent { margin: 0; }
.form__grid--2 { grid-template-columns: 1fr 1fr; }
.route__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-top: -6px; }
.route__info svg { width: 18px; height: 18px; color: var(--blue); }
.route__km { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 800; }
.btn--ghost { background: #fff; color: var(--blue); border: 1.5px dashed #b8c3e3; justify-self: start; }
.btn--ghost:hover { border-color: var(--blue); background: #f2f5fd; }

/* poptávka – zjednodušený krok 2 (10.11.): nepovinné rozměry pod odkazem, samostatné „Expres“ */
.inq__detail, .chip--expres { justify-self: start; }
/* odeslání poptávky: past na roboty mimo obrazovku, hlášky, chybějící pole */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.form__msg.is-ok { background: #e7f6ec; color: #17603a; }
.form__msg.is-err { background: #fdecec; color: #a12020; }
.fld.is-err input, .fld.is-err textarea { border-color: #d03030; background: #fff6f6; }
.route__pt.is-err input { outline: 2px solid #ff6b6b; }
.consent.is-err { color: #a12020; }
.cf-turnstile { min-height: 65px; }
/* našeptávač adres v poptávce */
.naseptavac { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 14px 34px rgba(14,30,91,.28); max-height: 300px; overflow-y: auto; }
.naseptavac li { padding: 10px 12px; border-radius: 7px; color: var(--navy); font-size: .95rem; line-height: 1.3; cursor: pointer; }
.naseptavac li:hover, .naseptavac li.is-on { background: var(--soft); }
.route__info.is-ok .route__km { background: var(--yellow); }

.inq__more > .reveal:not(.is-open) { margin-top: -18px; }

/* náklad – položky */
.cargo { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 14px; }
.cargo__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cargo__head h3 { margin: 0; font-size: 1.1rem; }
.cargo__hint { color: var(--muted); font-size: .85rem; }
.cargo__items { display: grid; gap: 14px; }
.cargo__item { position: relative; background: var(--soft); border-radius: 10px; padding: 16px; }
.cargo__type { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 7px 16px; border-radius: 999px; font-size: .88rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.cargo__body { display: grid; grid-template-columns: 1fr 200px; gap: 16px; align-items: center; }
.cargo__dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step > span { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.step__ctl { display: flex; align-items: stretch; height: 42px; background: #fff; border-radius: 8px; overflow: hidden; border: 1.5px solid transparent; }
.step__ctl:focus-within { border-color: var(--blue); }
.step__ctl input { width: 100%; min-width: 0; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--navy); background: none; -moz-appearance: textfield; }
.step__ctl input::-webkit-inner-spin-button, .step__ctl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step__ctl input:focus { outline: none; }
.step__btn { width: 34px; flex: none; border: 0; background: var(--yellow); color: var(--navy); font-size: 1.15rem; font-weight: 900; cursor: pointer; }
.step__btn:hover { background: var(--yellow-2); }
.pallet { width: 100%; height: auto; }
.pallet__box { fill: #fff8cc; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.pallet__wood { fill: #c79a5b; stroke: #8a6631; stroke-width: 1.5; }
.pallet__dim { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 3; fill: none; }
.pallet__t { font: 800 13px "Segoe UI", sans-serif; fill: var(--blue); }
.cargo__del { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.cargo__del:hover { background: #fdecec; color: #b42318; }

/* obsazení soupravy shora */
.load { background: var(--navy); border-radius: 12px; padding: 18px 20px; color: #c8d0ec; }
.load__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.load__head b { color: #fff; }
.load__head span { color: var(--yellow); font-weight: 800; }
.top { width: 100%; height: auto; display: block; }
.top__cab { fill: var(--yellow); }
.top__glass { fill: #8fa9de; }
.top__box { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.35); stroke-width: 2; }
.top__slot { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.18); stroke-width: 1; transition: fill .25s ease; }
.top__slot.is-full { fill: var(--yellow); stroke: #c9ab00; }
.top__bar { stroke: rgba(255,255,255,.5); stroke-width: 4; }
.top__t { font: 700 14px "Segoe UI", sans-serif; fill: #9aa6cf; text-anchor: middle; }
.load__stage { position: relative; border-radius: 10px; overflow: hidden; }
.load__gl { display: none; }
.load__stage.is-3d { height: 400px; background: radial-gradient(ellipse at 50% 70%, #ffffff 0%, #e7ecf5 55%, #cfd8e8 100%); }
.load__stage.is-3d .load__flat { display: none; }
.load__stage.is-3d .load__gl { display: block; position: absolute; inset: 0; cursor: grab; }
.load__stage.is-3d .load__gl:active { cursor: grabbing; }
.load__gl canvas { display: block; }
.load__views, .load__tools, .load__hint { display: none; }
.load__stage.is-3d .load__views, .load__stage.is-3d .load__tools { display: flex; position: absolute; top: 10px; gap: 4px; z-index: 2; }
.load__views { left: 10px; background: rgba(14,30,91,.9); border-radius: 999px; padding: 4px; }
.load__views button { border: 0; background: none; color: #c8d0ec; font: 700 .82rem/1 inherit; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.load__views button.is-on { background: var(--yellow); color: var(--navy); }
.load__views button:not(.is-on):hover { color: #fff; }
.load__tools { right: 10px; }
.load__tools button { border: 0; background: #fff; color: var(--navy); font: 700 .82rem/1 inherit; padding: 9px 13px; border-radius: 999px; cursor: pointer; box-shadow: 0 2px 8px rgba(14,30,91,.18); display: inline-flex; align-items: center; gap: 7px; }
.load__tools button:hover { background: var(--yellow); }
.load__tools i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.load__stage.is-3d .load__hint { display: block; position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: .78rem; color: #5b6785; pointer-events: none; transition: opacity .4s; }
.load__stage.is-touched .load__hint { opacity: 0; }
.load__head span.is-over { color: #ff8a80; }
.cargo__stack select { width: 100%; height: 42px; border: 1.5px solid transparent; border-radius: 8px; background: #fff; padding: 0 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.cargo__stack select:focus { outline: none; border-color: var(--blue); }
.load__warn { margin: 10px 0 0; color: #ffd0cc; font-size: .88rem; font-weight: 600; }
@media (max-width: 700px) {
	.load__stage.is-3d { height: 250px; }
	.load__views { left: 6px; top: 6px; }
	.load__views button { padding: 7px 9px; font-size: .76rem; }
	.load__stage.is-3d .load__tools { top: auto; bottom: 8px; right: 8px; }
	.load__tools button { padding: 7px 10px; font-size: .76rem; }
	.load__stage.is-3d .load__hint { display: none; }
}
.load__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.load__bar i { display: block; height: 100%; background: var(--yellow); border-radius: 999px; transition: width .35s ease; }
.load__bar i.is-over { background: #f97066; }

.inq__phones { background: var(--yellow); border-radius: 16px; padding: 26px; align-self: start; }
.inq__phones h3 { margin-bottom: 14px; }
.inq__phones a { display: block; text-decoration: none; color: var(--navy); font-size: 1.3rem; font-weight: 900; padding: 8px 0; border-bottom: 1px solid rgba(14,30,91,.15); }
.inq__phones a:hover { color: var(--blue); }
.inq__phones small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.inq__time { margin: 12px 0 0; font-weight: 700; color: var(--navy); }


@media (max-width: 1050px) {
	.job, .apply, .inq { grid-template-columns: 1fr; }
	.perks { grid-template-columns: 1fr 1fr; }
	.job__foto figcaption { left: 16px; }
	.form__grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.perks { grid-template-columns: 1fr; }
	.job__foto img { height: 280px; }
	.form__grid, .form__grid--2, .form__grid--3, .form__grid--4 { grid-template-columns: 1fr; }
	.cargo__body { grid-template-columns: 1fr; }
	.cargo__dims { grid-template-columns: 1fr 1fr; }
	.pallet { max-width: 200px; margin: 0 auto; }
	.route { grid-template-columns: 1fr; gap: 6px; }
	.route__line { height: 30px; transform: rotate(90deg); }
	.form, .inq__form { padding: 20px; }
}

/* lišta souhlasu s cookies (Google Analytics) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 760px; margin: 0 auto; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; padding: 18px 22px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 18px 50px rgba(14,30,91,.28); border: 1px solid var(--line); }
.cookies[hidden] { display: none; }   /* 19.11.2026: display:flex přebíjel atribut hidden → lišta po kliknutí nezmizela */
.cookies p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.45; }
.cookies a { color: var(--blue); }
.cookies__btns { display: flex; gap: 10px; flex: none; }
.cookies__btns .btn { padding: 10px 18px; }
.ft__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
