/*
Theme Name: Chytrý dovoz
Theme URI: https://chytrydovoz.cz
Author: Chytrý dovoz
Description: Poptávkový portál pro přepravu. Zákazník zadá zásilku, dopravci posílají nabídky a za přístup platí měsíční předplatné.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: chytry-dovoz
*/

:root {
  --ink: #0a2a22;
  --ink-2: #14473a;
  --green: #087f51;
  --green-2: #0b9b63;
  --mint: #e4f6ec;
  --lime: #cff230;
  --paper: #f6f9f6;
  --white: #fff;
  --line: #d5e5db;
  --muted: #56695f;
  --danger: #b42318;
  --warn-bg: #fff6d6;
  --f-head: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--f-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 860px); }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--f-body); padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--ink-2); color: #fff; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #e2ff54; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 800 1.3rem/1 var(--f-head); letter-spacing: -0.02em; }
.logo:hover { color: #fff; }
.logo__mark { flex: none; }
.nav { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }
.nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__list a, .nav__link { color: #d9efe4; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav__list a:hover, .nav__link:hover { color: var(--lime); }
.nav__actions { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero__routes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__routes path { fill: none; stroke: var(--green-2); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .55; }
.hero__routes circle { fill: var(--lime); opacity: .9; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero__lead { font-size: 1.15rem; color: #cfe6da; max-width: 52ch; margin-bottom: 1.8rem; }
.hero__fine { color: #9cc2b1; font-size: .92rem; margin: .9rem 0 0; }

.quote { background: #fff; color: var(--ink); border-radius: 22px; padding: 1.2rem; display: grid; gap: 1rem; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.route { position: relative; display: grid; gap: .6rem; padding-left: 2.1rem; }
.route::before { content: ""; position: absolute; left: .62rem; top: 1.6rem; bottom: 1.6rem; border-left: 3px dotted var(--green-2); }
.route__field { position: relative; display: block; }
.route__field::before { content: ""; position: absolute; left: -1.85rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 3px solid var(--green); background: #fff; }
.route__field:last-child::before { background: var(--green); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border-color: var(--green); }
.route input { width: 100%; padding: 1rem 1rem; font: 600 1.05rem var(--f-body); border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.route input:focus { border-color: var(--green-2); outline: 0; background: #fff; }
.quote__row { display: grid; grid-template-columns: .8fr 1.5fr 1.1fr; gap: .7rem; align-items: end; }
.quote__row .btn { grid-column: 1 / -1; }

/* ---------- Živá nástěnka ---------- */
.board { background: var(--ink-2); border: 1px solid #1f6a57; border-radius: 22px; padding: 1.3rem; }
.board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.board__head h2 { font-size: 1.25rem; margin: 0; color: #fff; }
.board__live { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--lime); }
.board__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__list li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .95rem 0; border-top: 1px solid #1f6a57; }
.board__list p { grid-column: 1; margin: 0; color: #a9d0bf; font-size: .92rem; }
.board__count { grid-row: 1 / span 2; grid-column: 2; align-self: center; background: #0a2a22; color: var(--lime); font-weight: 700; font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; }
.board__more { display: block; margin-top: .6rem; padding-top: .9rem; border-top: 1px dashed #2c7c67; color: var(--lime); font-weight: 600; font-size: .94rem; }
.board__empty p { color: #cfe6da; }

.route-line { display: flex; align-items: center; gap: .6rem; min-width: 0; color: inherit; }
.route-line strong { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-line__track { flex: 1 1 28px; min-width: 20px; max-width: 80px; height: 0; border-top: 3px dotted var(--green-2); }
.route-line--lg { font-size: 1.5rem; font-family: var(--f-head); }
.board .route-line { color: #fff; }

/* ---------- Sekce ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--mint { background: var(--mint); }
.section__title { max-width: 22ch; margin-bottom: 1.6rem; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 1.2rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); font: 800 1.1rem var(--f-head); margin-bottom: 1rem; }
.steps p { color: var(--muted); max-width: 34ch; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ticks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.05rem; height: .55rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; margin-bottom: 2rem; }
.plan--card { margin: 0; box-shadow: 0 18px 40px -26px rgba(10, 42, 34, .5); }
.plan__price { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1rem; }
.plan__amount { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 var(--f-head); letter-spacing: -0.03em; }
.plan__meta { display: flex; flex-direction: column; gap: .15rem; padding-left: 1rem; border-left: 2px solid var(--line); line-height: 1.1; }
.plan__vat { font: 600 .78rem/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan__period { font: 700 1.45rem/1.1 var(--f-head); letter-spacing: -0.02em; color: var(--green); }
.plan--card .btn { width: 100%; }

.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font: 700 1.1rem var(--f-head); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: .7rem 0 0; color: var(--muted); max-width: 60ch; }

.cta { background: var(--green); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta h2 { margin: 0; color: #fff; }

/* ---------- Podstránky ---------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-head .muted { color: #9cc2b1; margin: .5rem 0 0; }
.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.prose > *:first-child { margin-top: 0; }
.post-item { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Formuláře ---------- */
.form { display: grid; gap: 1.4rem; }
.form__group { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: 1rem; margin: 0; min-width: 0; }
.form__group legend { font: 800 1.15rem var(--f-head); padding: 0 .5rem; margin-left: -.5rem; }
.form__hint { color: var(--muted); font-size: .94rem; margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--f-body); padding: .8rem .9rem; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-2); background: #fff; outline: 0; }
.field--bare span { font-size: .85rem; color: var(--muted); }
.field--bare input { padding: .85rem .8rem; }
.req-mark { color: var(--danger); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--green); flex: none; }

.notice { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.4rem; font-weight: 500; }
.notice--ok { background: var(--mint); border: 1px solid #a8dcc0; }
.notice--err { background: #fde8e6; border: 1px solid #f3b4ae; color: #7a1a12; }
.notice--warn { background: var(--warn-bg); border: 1px solid #ecd27a; }

.login { max-width: 420px; }
.login form { display: grid; gap: 1rem; }
.login label { display: grid; gap: .35rem; font-weight: 600; }
.login input[type=text], .login input[type=password] { width: 100%; padding: .8rem .9rem; border: 2px solid var(--line); border-radius: 10px; font: 1rem var(--f-body); background: #fff; }
.login .login-submit input { background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 1rem 1.6rem; font: 700 1rem var(--f-body); cursor: pointer; }
.login__links { margin-top: 1.2rem; color: var(--muted); }

/* ---------- Nástěnka dopravců ---------- */
.page-head--board { position: relative; overflow: hidden; padding-bottom: clamp(5rem, 9vw, 6.5rem); }
.page-head--board::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; border-radius: 50%; border: 3px dotted rgba(11, 155, 99, .35); transform: translateY(-50%); pointer-events: none; }
.page-head--board .wrap { position: relative; z-index: 1; }
.page-head--board .muted { font-size: 1.08rem; max-width: 56ch; }
.page-body--board { padding-top: 0; }
.page-body--board > .wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(2.6rem, 5vw, 3.4rem)); }
.page-body--board .notice { box-shadow: 0 12px 28px -18px rgba(10, 42, 34, .5); }

/* Filtr jako jedna lišta */
.filters { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .2rem; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: .45rem; margin-bottom: 1.4rem; box-shadow: 0 1px 2px rgba(10, 42, 34, .05), 0 24px 48px -28px rgba(10, 42, 34, .35); }
.filters .field { position: relative; gap: .1rem; padding: .7rem 1.2rem; border-radius: 20px; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: text; transition: background .15s; }
.filters .field:not(:first-child)::before { content: ""; position: absolute; left: -.1rem; top: 24%; bottom: 24%; border-left: 1px solid var(--line); }
.filters .field:hover { background: var(--paper); }
.filters .field:focus-within { background: var(--mint); box-shadow: inset 0 0 0 2px var(--green-2); }
.filters .field:focus-within::before, .filters .field:focus-within + .field::before { display: none; }
.filters .field input, .filters .field select { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 700 1.05rem var(--f-body); }
.filters .field input::placeholder { color: #8fa397; font-weight: 500; }
.filters .field input:focus, .filters .field select:focus { background: transparent; outline: 0; }
.filters .field select { appearance: none; cursor: pointer; padding-right: 1.6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23087f51' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .1rem center; }
.filters .btn { align-self: center; margin-left: .35rem; padding: 1.05rem 1.7rem; }
.filters .suggest { top: calc(100% + .45rem); }
.sub-status { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--mint); color: var(--green); font-size: .88rem; font-weight: 700; }

/* Karta poptávky */
.req-list { display: grid; gap: 1rem; }
.req { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.1rem, 2.5vw, 1.5rem); box-shadow: 0 1px 2px rgba(10, 42, 34, .04); transition: border-color .2s, box-shadow .2s; }
.req:hover { border-color: #b9d6c6; box-shadow: 0 18px 36px -24px rgba(10, 42, 34, .4); }
.req__route { display: grid; grid-template-columns: minmax(0, max-content) minmax(90px, 170px) minmax(0, max-content); justify-content: center; align-items: start; gap: 1.1rem; }
.req__stop { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
.req__stop > div { display: grid; gap: .1rem; min-width: 0; }
.req__stop strong { font: 800 clamp(1.15rem, 2.2vw, 1.4rem)/1.15 var(--f-head); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.req__stop small { color: var(--muted); font-size: .88rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req__dot { flex: none; width: 16px; height: 16px; margin-top: .28rem; border-radius: 50%; border: 4px solid var(--green); background: #fff; box-shadow: 0 0 0 4px var(--mint); }
.req__stop--to { flex-direction: row-reverse; text-align: right; }
.req__stop--to > div { justify-items: end; }
.req__stop--to .req__dot { background: var(--green); }
.req__mid { display: grid; justify-items: center; gap: .4rem; min-width: 0; }
.req__line { align-self: start; width: 100%; height: 0; margin-top: .7rem; border-top: 3px dotted var(--green-2); }
.req__km { font: 700 .9rem/1.2 var(--f-body); color: var(--ink-2); white-space: nowrap; }
.req__meta { display: grid; justify-items: center; gap: .1rem; }
.req__age { display: inline-flex; align-items: center; gap: .4rem; justify-self: start; margin: -.25rem 0 -.55rem .1rem; color: var(--muted); font: 500 .85rem/1.2 var(--f-body); white-space: nowrap; }
.req__age .ic { width: 15px; height: 15px; }
.req__facts .ic { width: 16px; height: 16px; }

.req__facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0; }
.req__facts li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem .4rem .65rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.req__facts .ic { color: var(--green); }
.req__facts .req__count { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.req__facts .req__count .ic { color: var(--lime); }
.req__facts .req__count.is-zero { background: transparent; border-style: dashed; border-color: #b9d6c6; color: var(--muted); }
.req__facts .req__count.is-zero .ic { color: var(--muted); }

.req__note { margin: 0; padding: .85rem 1.1rem; background: var(--paper); border-radius: 16px; color: var(--ink-2); }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 3rem; margin: 0; padding: 1rem 1.2rem; background: var(--paper); border-radius: 18px; text-align: center; }
.contact > div { min-width: 0; }
.contact dt { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.contact dt .ic { width: 15px; height: 15px; color: var(--green); }
.contact dd { margin: .1rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.contact a { color: var(--ink); text-decoration-color: var(--green-2); text-decoration-thickness: 2px; }
.contact a:hover { color: var(--green); }

.locked { display: flex; align-items: center; gap: .9rem 1rem; flex-wrap: wrap; margin: 0; padding: .9rem 1.1rem; background: var(--warn-bg); border: 1px solid #ecd27a; border-radius: 18px; }
.locked__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #8a5a00; }
.locked p { flex: 1 1 220px; margin: 0; font-weight: 600; }
.locked .btn { flex: none; }

/* Nabídka cenou */
.offer { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .2s; }
.offer[open] { border-color: #b9d6c6; }
.offer summary { display: flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--green); user-select: none; transition: background .15s; }
.offer summary::-webkit-details-marker { display: none; }
.offer summary:hover { background: var(--mint); }
.offer summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
.offer summary b { color: var(--ink); white-space: nowrap; }
.offer__chev { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); transition: transform .2s, background .2s; }
.offer__chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -6px 0 0 -4px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); }
.offer[open] .offer__chev { transform: rotate(180deg); background: var(--lime); }
.offer[open] .offer__chev::before { border-color: var(--ink); }
.offer__edit { margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--muted); }
.offer--mine summary { background: var(--mint); }
.offer__form { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: .9rem; align-items: end; margin: 0; padding: .4rem 1.1rem 1.1rem; }
.money { position: relative; display: block; }
.money input { padding-right: 3.2rem; font-size: 1.15rem; font-weight: 700; }
.money__unit { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }
.offer__form textarea { resize: vertical; min-height: 3.2rem; }

.gate, .empty { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; }
.gate__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pager { margin-top: 1.6rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.pager .page-numbers { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; font-weight: 600; transition: border-color .15s, color .15s; }
.pager a.page-numbers:hover { border-color: var(--green-2); color: var(--green); }
.pager .current { background: var(--ink); color: var(--lime); border-color: var(--ink); }
/* Vlastní rozbalovací seznam */
.dd-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd__trigger { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font: 700 1.05rem var(--f-body); text-align: left; cursor: pointer; }
.dd__trigger:focus-visible { outline: 0; }
.dd__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); position: relative; transition: transform .18s, background .18s; }
.dd__chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -5px 0 0 -3.5px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); }
.dd__trigger[aria-expanded="true"] .dd__chev { transform: rotate(180deg); background: var(--lime); }
.dd__trigger[aria-expanded="true"] .dd__chev::before { border-color: var(--ink); }
.dd__list { position: absolute; left: -.2rem; top: calc(100% + .55rem); z-index: 40; min-width: calc(100% + .4rem); width: max-content; max-width: min(320px, 90vw); margin: 0; padding: .4rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(10, 42, 34, .05), 0 24px 48px -20px rgba(10, 42, 34, .45); max-height: 340px; overflow-y: auto; animation: dd-in .14s ease-out; }
.dd__list[hidden] { display: none; }
.dd__list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 14px; color: var(--ink); font: 600 .98rem/1.25 var(--f-body); cursor: pointer; }
.dd__list li.is-active { background: var(--mint); }
.dd__list li[aria-selected="true"] { color: var(--green); font-weight: 700; }
.dd__list li[aria-selected="true"]::after { content: ""; flex: none; width: 11px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg) translateY(-1px); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@media (max-width: 960px) { .dd__list { left: 0; } }
@media (prefers-reduced-motion: reduce) { .dd__list { animation: none; } .dd__chev { transition: none; } }

.pay { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }

/* ---------- Porovnání nabídek ---------- */
.summary { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; margin-bottom: 2rem; }
.summary .chips { margin-bottom: 0; }
.offers-title { margin-bottom: 1rem; }
.offers { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.offer-card { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; }
.offer-card--best { border: 3px solid var(--green-2); }
.offer-card h3 { margin: 0 0 .3rem; display: inline-block; }
.badge { display: inline-block; margin-left: .6rem; background: var(--lime); font-weight: 700; font-size: .82rem; border-radius: 999px; padding: .2rem .7rem; vertical-align: middle; }
.offer-card__side { display: grid; gap: .5rem; justify-items: end; align-content: start; text-align: right; }
.offer-card__price { font: 800 2rem/1 var(--f-head); letter-spacing: -0.02em; }
.offer-card__mail { font-size: .9rem; }
.close-form { border-top: 1px solid var(--line); padding-top: 1.4rem; }

/* ---------- Patička ---------- */
.site-footer { background: var(--foot-bg, var(--ink)); color: var(--foot-fg, #cfe6da); padding-top: 3.5rem; }
.site-footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer h2 { font: 700 1rem var(--f-body); color: var(--foot-fg, #fff); letter-spacing: 0; margin-bottom: .8rem; }
.site-footer a { color: var(--foot-fg, #cfe6da); text-decoration: none; display: block; padding: .2rem 0; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: var(--lime); text-decoration: none; }
.site-footer__brand p { max-width: 30ch; margin-top: 1rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid color-mix(in srgb, var(--foot-fg, #cfe6da) 25%, transparent); padding: 1.2rem 0; font-size: .9rem; }
.site-footer__bottom a { display: inline; }

/* ---------- Nástěnka: levý panel hledání ---------- */
.wrap--board { width: min(100% - 2.5rem, var(--wrap)); }
.bd { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.bd__side { position: sticky; top: 92px; }
.bd__main { min-width: 0; }

.sf { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 1.2rem; box-shadow: 0 1px 2px rgba(10, 42, 34, .05), 0 24px 48px -28px rgba(10, 42, 34, .35); }
.sf__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem; }
.sf__title { display: inline-flex; align-items: center; gap: .55rem; font: 800 1.15rem/1.1 var(--f-head); letter-spacing: -0.01em; }
.sf__title .ic { width: 20px; height: 20px; color: var(--green); }
.sf__toggle { display: none; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 .9rem/1 var(--f-body); cursor: pointer; }
.sf__toggle .ic { width: 16px; height: 16px; color: var(--green); }
.sf__toggle b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .3rem; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: .75rem; }

.sf__route { position: relative; display: grid; gap: .35rem; margin-bottom: 1.2rem; }
.sf__stop { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: .75rem; align-items: center; padding: .65rem 3.1rem .65rem 1rem; background: var(--paper); border: 1px solid transparent; border-radius: 18px; cursor: text; transition: background .15s, border-color .15s, box-shadow .15s; }
.sf__stop:hover { border-color: var(--line); }
.sf__stop:focus-within { background: var(--mint); border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(11, 155, 99, .15); }
.sf__lbl { grid-column: 2; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sf__stop input { grid-column: 2; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 700 1.05rem/1.4 var(--f-body); }
.sf__stop input::placeholder { color: #8fa397; font-weight: 500; }
.sf__stop input:focus { outline: 0; background: transparent; }
.sf__dot { grid-row: 1 / span 2; grid-column: 1; justify-self: center; width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--green); background: #fff; box-shadow: 0 0 0 4px var(--mint); }
.sf__dot--to { background: var(--green); }
.sf__stop .suggest { top: calc(100% + .35rem); }
.sf__swap { position: absolute; right: .8rem; top: 50%; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--green); cursor: pointer; box-shadow: 0 4px 10px -4px rgba(10, 42, 34, .3); transition: transform .25s, background .15s, color .15s; }
.sf__swap .ic { width: 16px; height: 16px; }
.sf__swap:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.sf__swap.is-spun { transform: rotate(180deg); }

.sf__group { margin: 0 0 1.15rem; padding: 0; border: 0; min-width: 0; }
.sf__group legend { padding: 0; margin-bottom: .55rem; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sf__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.sf__chip, .sf__seg label { position: relative; cursor: pointer; }
.sf__chip input, .sf__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sf__chip span { display: inline-flex; align-items: center; padding: .45rem .85rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font: 600 .9rem/1.2 var(--f-body); color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.sf__chip:hover span { border-color: var(--green-2); color: var(--green); }
.sf__chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.sf__chip input:focus-visible + span, .sf__seg input:focus-visible + span { outline: 3px solid var(--green-2); outline-offset: 2px; }

.sf__seg { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.sf__seg span { display: block; padding: .5rem .4rem; border-radius: 999px; text-align: center; font: 700 .86rem/1.2 var(--f-body); color: var(--muted); transition: background .15s, color .15s; }
.sf__seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10, 42, 34, .18); }

.sf__foot { display: grid; gap: .6rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.sf__submit { width: 100%; padding: 1rem 1.2rem; transition: opacity .15s, background .15s; }
.sf__submit.is-loading { opacity: .7; }
.sf__reset { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; color: var(--muted); font: 600 .9rem/1 var(--f-body); text-decoration: none; padding: .35rem; }
.sf__reset .ic { width: 14px; height: 14px; }
.sf__reset:hover { color: var(--danger); }

@media (max-width: 960px) {
  .bd { grid-template-columns: 1fr; }
  .bd__side { position: static; }
  .sf { padding: 1rem; }
  .sf__head { margin-bottom: 0; }
  .sf.is-js .sf__head { margin-bottom: .2rem; }
  .sf__toggle { display: inline-flex; }
  .sf.is-collapsed .sf__body { display: none; }
  .sf.is-js:not(.is-collapsed) .sf__head { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .sf__swap, .sf__chip span, .sf__stop { transition: none; } }

/* ---------- Responzivita ---------- */
@media (max-width: 960px) {
  .hero__in, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .filters { grid-template-columns: 1fr 1fr; gap: .35rem; }
  .filters .field { background: var(--paper); }
  .filters .field::before { display: none; }
  .filters .btn { grid-column: 1 / -1; margin: .15rem 0 0; }
  .page-head--board::after { display: none; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 1.2rem 1.25rem 1.6rem; gap: 1.2rem; border-top: 1px solid #1f6a57; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: .8rem; }
  .nav__actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .quote__row, .grid-2, .offer__form, .filters { grid-template-columns: 1fr; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__side { justify-items: start; text-align: left; }
  .site-footer__in { grid-template-columns: 1fr; }
  .req__route { grid-template-columns: 1fr; gap: .3rem; }
  .req__stop--to { flex-direction: row; text-align: left; }
  .req__stop--to > div { justify-items: start; }
  .req__mid { grid-auto-flow: column; justify-content: start; align-items: center; gap: .8rem; margin-left: 7px; }
  .req__line { align-self: stretch; width: 0; height: auto; min-height: 40px; margin: 0; border-top: 0; border-left: 3px dotted var(--green-2); }
  .req__meta { justify-items: start; }
  .offer__edit { margin-left: 0; }
  .locked .btn { width: 100%; }
  .cta__in .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .req, .offer, .offer__chev { transition: none; }
  html { scroll-behavior: auto; }
  .board__live i { animation: none; }
}

/* ---------- Našeptávač ---------- */
.suggest { position: absolute; left: 0; right: 0; z-index: 30; margin: 0; padding: .3rem; list-style: none; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 36px -16px rgba(10, 42, 34, .45); max-height: 280px; overflow-y: auto; }
.suggest[hidden] { display: none; }
.suggest li { display: grid; gap: .1rem; padding: .6rem .8rem; border-radius: 8px; cursor: pointer; }
.suggest li strong { font-weight: 700; }
.suggest li span { font-size: .85rem; color: var(--muted); font-weight: 400; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--mint); }

.suggest-hint { font-size: .82rem; font-weight: 600; color: var(--green); }
.suggest-hint::before { content: "✓ "; }
[data-size-custom][hidden] { display: none; }

/* ---------- Okno Vlastní rozměr ---------- */
.dim-dialog { border: 0; border-radius: 24px; padding: 0; width: min(580px, calc(100% - 2rem)); color: var(--ink); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.dim-dialog::backdrop { background: rgba(10, 42, 34, .68); backdrop-filter: blur(3px); }
.dim-form { position: relative; padding: 1.8rem; display: grid; gap: 1.2rem; }
.dim-form h2 { margin: 0; font-size: 1.6rem; padding-right: 2.5rem; }
.dim-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dim-close:hover { background: var(--lime); }
.dim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.dim-grid label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; }
.dim-input { position: relative; display: block; }
.dim-input input { width: 100%; padding: 1rem 2.6rem 1rem .9rem; font: 600 1.15rem var(--f-body); border: 2px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.dim-input input:focus { border-color: var(--green-2); background: #fff; outline: 0; box-shadow: 0 0 0 4px rgba(11, 155, 99, .15); }
.dim-input em { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); pointer-events: none; }
.dim-error { margin: 0; color: var(--danger); font-weight: 600; }
.dim-ok { width: 100%; }
@media (max-width: 520px) { .dim-grid { grid-template-columns: 1fr 1fr; } }

.quote__row--goods { grid-template-columns: 1fr; }
[data-goods-other][hidden] { display: none; }

.field[hidden], [data-weight-wrap][hidden], [data-size-custom][hidden] { display: none; }
.req-mark[hidden] { display: none; }

/* ---------- Hero: text vlevo, formulář vpravo ---------- */
.hero__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.hero__lead { margin-bottom: 1.4rem; }
.hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; color: #e4f6ec; font-weight: 600; }
.hero__points li { position: relative; padding-left: 1.9rem; }
.hero__points li::before { content: ""; position: absolute; left: 0; top: .38rem; width: 1.05rem; height: .55rem; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } }

/* ---------- Hero formulář: pole se vejdou do užšího sloupce ---------- */
.quote__row .field, .quote__row input, .quote__row select { min-width: 0; }
.quote input[type="date"] { width: 100%; }
@media (min-width: 481px) {
  .quote__row:not(.quote__row--goods) { grid-template-columns: 1fr 1fr; }
  .quote__row:not(.quote__row--goods) > .field:nth-child(2) { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 480px) {
  .quote__row { grid-template-columns: 1fr; }
}

/* ---------- Hlavička přes celou šířku, logo úplně vlevo ---------- */
.site-header .wrap { width: 100%; max-width: none; padding-inline: clamp(1rem, 2.5vw, 2.5rem); }
.nav__list a, .nav__link, .nav__actions .btn { white-space: nowrap; }

.site-header__in { justify-content: flex-start; }
.logo { flex: none; margin-right: auto; }
.nav { flex: 0 1 auto; margin-left: auto; }
.logo--image a { display: inline-flex; align-items: center; }
.logo--image .custom-logo { max-height: 64px; max-width: 100%; width: auto; height: auto; display: block; }

/* ---------- Jak to funguje: kroky + fotka ---------- */
.how__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.how .section__title { max-width: 16ch; }
.steps--v { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 2rem; }
.steps--v li { position: relative; border-top: 0; padding: 0 0 1.8rem 4rem; }
.steps--v li:last-child { padding-bottom: 0; }
.steps--v li::before { position: absolute; left: 0; top: 0; margin: 0; width: 44px; height: 44px; background: var(--green); color: #fff; box-shadow: 0 0 0 6px var(--paper); z-index: 1; }
.steps--v li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 3px dotted var(--green-2); }
.steps--v li:last-child::after { display: none; }
.steps--v h3 { margin-bottom: .3rem; padding-top: .45rem; }
.steps--v p { max-width: 44ch; margin: 0; }
.how__visual { margin: 0; }
.how__panel { position: relative; background: var(--mint); border-radius: 32px; padding: clamp(1.8rem, 4vw, 3rem) clamp(.8rem, 2vw, 1.5rem); overflow: hidden; }
.how__panel img { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 22px rgba(10, 42, 34, .28)); }
@media (max-width: 960px) {
  .how__in { grid-template-columns: 1fr; }
}

/* ---------- Patička: přizpůsobitelné prvky ---------- */
.site-footer__in { grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); }
.site-footer .logo { color: var(--foot-fg, #fff); }
.site-footer .logo:hover { color: var(--foot-fg, #fff); }
.footer-logo { max-height: 56px; width: auto; display: block; }
.footer-contact, .footer-social { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .2rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a { border: 1px solid color-mix(in srgb, var(--foot-fg, #cfe6da) 40%, transparent); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; font-weight: 600; }
.footer-social a:hover { color: var(--foot-fg, #cfe6da); background: color-mix(in srgb, var(--foot-fg, #cfe6da) 15%, transparent); text-decoration: none; }
@media (max-width: 640px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Přihlášení ---------- */
.page-body--auth { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); background: var(--paper); }
.auth { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 980px; margin-inline: auto; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10, 42, 34, .55); }
.auth__side { position: relative; background: var(--ink-2); color: #fff; padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; overflow: hidden; }
.auth__side h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0; }
.auth__side p { color: #cfe6da; margin: 0; }
.auth__points { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .6rem; font-weight: 600; }
.auth__points li { position: relative; padding-left: 1.9rem; }
.auth__points li::before { content: ""; position: absolute; left: 0; top: .38rem; width: 1.05rem; height: .55rem; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
.auth__route { margin-top: auto; width: 100%; max-width: 320px; height: auto; }
.auth__main { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.auth__title { margin: 0 0 .3rem; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.auth__sub { color: var(--muted); margin-bottom: 1.4rem; }
.auth__form { display: grid; gap: 1.1rem; }
.auth__form .field input[type="text"], .auth__form .field input[type="password"] { padding: 1rem 1.1rem; font-size: 1.05rem; border-radius: 14px; }
.pass { position: relative; display: block; }
.pass input { padding-right: 5.5rem !important; }
.pass__btn { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--green); font: 700 .9rem var(--f-body); cursor: pointer; padding: .4rem .6rem; border-radius: 8px; }
.pass__btn:hover { background: var(--mint); }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.auth__form .btn { width: 100%; }
.auth__alt { margin: 1.4rem 0 0; text-align: center; color: var(--muted); }
@media (max-width: 800px) {
  .auth { grid-template-columns: 1fr; }
  .auth__side { padding-bottom: 1.6rem; }
  .auth__route { display: none; }
}


/* ---------- Registrace ---------- */
.auth--wide { max-width: 1100px; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.auth__form .form__group { border: 0; background: none; padding: 0; gap: .9rem; }
.auth__form .form__group legend { font: 800 1.1rem var(--f-head); padding: 0; margin: 0 0 .7rem; }
.auth__form .field input[type="tel"], .auth__form .field input[type="email"], .auth__form .field input[type="text"], .auth__form .field input[type="password"] { padding: .95rem 1.05rem; border-radius: 14px; font-size: 1.02rem; }
.auth__form.form { gap: 1.6rem; }
.auth--wide .auth__main { justify-content: flex-start; }

/* ---------- Registrace po krocích ---------- */
.stepper { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; align-items: center; gap: .5rem; }
.stepper li { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .95rem; color: var(--muted); }
.stepper li span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font: 800 .9rem var(--f-head); }
.stepper li + li::before { content: ""; width: clamp(18px, 5vw, 56px); border-top: 3px dotted var(--line); }
.stepper li.is-active { color: var(--ink); }
.stepper li.is-active span { background: var(--green); border-color: var(--green); color: #fff; }
.stepper li.is-done { color: var(--green); }
.stepper li.is-done span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.stepper li.is-done + li::before, .stepper li.is-active + li::before { border-top-color: var(--green-2); }
.step[hidden] { display: none; }
.step__nav { display: flex; gap: .8rem; justify-content: space-between; margin-top: .6rem; }
.step__nav .btn { flex: 1; }
.step__nav .btn--ghost { flex: 0 0 auto; }
.auth__form[data-steps] .btn { width: auto; }

/* ---------- Popisky polí: hvězdička hned za textem ---------- */
.field { display: block; }
.field > input, .field > select, .field > textarea, .field > .pass { display: block; margin-top: .35rem; }
.field .pass input { margin-top: 0; }

/* ---------- Nová poptávka: fotka v bočním panelu ---------- */
.auth__truck { margin-top: auto; width: 112%; max-width: none; height: auto; margin-left: -6%; margin-bottom: -1rem; filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .35)); }
@media (max-width: 800px) { .auth__truck { display: none; } }

/* ---------- Vlastní kalendář ---------- */
.field input.date-input { cursor: pointer; padding-right: 2.8rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23087f51' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right .9rem center; }
.field input.date-input:focus { background-color: #fff; }
.cal { position: absolute; z-index: 100000; width: 326px; max-width: calc(100vw - 16px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 1rem; box-shadow: 0 30px 60px -20px rgba(10, 42, 34, .5); font-family: var(--f-body); }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.cal__title { font: 800 1.1rem var(--f-head); text-transform: capitalize; }
.cal__nav { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mint); color: var(--ink); cursor: pointer; }
.cal__nav:hover:not(:disabled) { background: var(--lime); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__week span { font-size: .78rem; font-weight: 700; color: var(--muted); padding: .35rem 0; }
.cal__day { height: 40px; border: 0; border-radius: 50%; background: none; font: 600 .95rem var(--f-body); color: var(--ink); cursor: pointer; }
.cal__day:hover:not(:disabled) { background: var(--mint); }
.cal__day:disabled { color: #b5c4bb; cursor: default; }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--green-2); }
.cal__day.is-selected { background: var(--green); color: #fff; box-shadow: none; }
.cal__day:focus-visible { outline: 3px solid var(--lime); outline-offset: 0; background: var(--mint); }
.cal__day.is-selected:focus-visible { background: var(--green); outline-color: var(--ink); }
.cal__quick { display: flex; gap: .5rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.cal__quick button { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem .4rem; font: 700 .88rem var(--f-body); color: var(--green); cursor: pointer; }
.cal__quick button:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Přehled zákazníka (dashboard) ---------- */
.page-body--dash { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 5rem); }
.dash { max-width: 1000px; margin-inline: auto; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(1.2rem, 3vw, 2rem); margin-bottom: 1.2rem; }
.dash__hello { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.dash__avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 1.5rem var(--f-head); }
.dash__hello h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .2rem; }
.dash__hello p { margin: 0; color: #a9d0bf; }
.dash__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.dash__top .btn--ghost { color: #fff; border-color: #2c7c67; }
.dash__top .btn--ghost:hover { color: var(--lime); border-color: var(--lime); }
.dash__top .btn--primary { background: var(--lime); color: var(--ink); }
.dash__top .btn--primary:hover { background: #e2ff54; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.4rem; display: grid; gap: .2rem; }
.stat__num { font: 800 clamp(1.8rem, 4vw, 2.4rem)/1.1 var(--f-head); letter-spacing: -0.02em; }
.stat__label { color: var(--muted); font-weight: 600; font-size: .92rem; }
.stat--accent { background: var(--mint); border-color: #a8dcc0; }
.dash__title { margin: 0 0 1rem; }
.acc-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.acc-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.05rem; border-radius: 999px; color: var(--muted); font: 700 .95rem/1 var(--f-body); text-decoration: none; transition: background .15s, color .15s; }
.acc-tabs a .ic { width: 17px; height: 17px; }
.acc-tabs a:hover { color: var(--green); background: var(--paper); }
.acc-tabs a.is-active { background: var(--ink); color: var(--lime); }
.acc-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.acc-links a { display: grid; gap: .25rem; align-content: start; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.acc-links a:hover { border-color: var(--green-2); transform: translateY(-2px); }
.acc-links .ic { width: 24px; height: 24px; color: var(--green); margin-bottom: .3rem; }
.acc-links span { color: var(--muted); font-size: .9rem; }
.ares-st { min-height: 1.1em; font: 600 .85rem/1.3 var(--f-body); color: var(--muted); }
.ares-st.is-ok { color: var(--green); }
.ares-st.is-err { color: var(--danger); }
.ares-st.is-load { color: var(--muted); font-style: italic; }
.acc-form { max-width: 760px; }
.acc-form input:disabled { opacity: .65; cursor: not-allowed; }
.dash .locked { margin-bottom: 1.6rem; }
@media (max-width: 720px) { .acc-links { grid-template-columns: 1fr; } .acc-tabs { border-radius: 22px; width: 100%; } }
.contact--acc { justify-content: flex-start; text-align: left; gap: 1.1rem 3rem; padding: 1.3rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.contact--acc dt { justify-content: flex-start; }
.acc__actions { margin-top: 1.4rem; }

/* Karta poptávky */
.dash-list { display: grid; gap: 1.1rem; }
.dcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.1rem, 2.6vw, 1.6rem); box-shadow: 0 1px 2px rgba(10, 42, 34, .04); transition: box-shadow .2s, border-color .2s; }
.dcard:hover { border-color: #b9d6c6; box-shadow: 0 22px 40px -30px rgba(10, 42, 34, .5); }
.dcard--off { background: #fbfcfb; }
.dcard--off .dstop strong { color: var(--muted); }
.dcard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.dcard__route { display: grid; grid-template-columns: auto minmax(36px, 1fr) auto; align-items: center; gap: 1.1rem; flex: 1; min-width: 0; max-width: 640px; }
.dstop { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; }
.dstop > div { display: grid; gap: .05rem; min-width: 0; }
.dstop strong { font: 800 1.1rem/1.2 var(--f-head); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.dstop span:not(.dstop__dot) { color: var(--muted); font-weight: 600; font-size: .92rem; }
.dstop__dot { flex: none; width: 16px; height: 16px; margin-top: .22rem; border-radius: 50%; border: 4px solid var(--green); background: #fff; box-shadow: 0 0 0 5px var(--mint); }
.dstop--to .dstop__dot { background: var(--green); }
.dcard__track { height: 0; align-self: center; margin-top: -.2rem; border-top: 3px dotted var(--green-2); opacity: .7; }

/* Stav */
.status { flex: none; display: inline-flex; align-items: center; gap: .45rem; font: 700 .82rem var(--f-body); padding: .38rem .85rem; border-radius: 999px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge--on { background: var(--mint); color: var(--green); }
.badge--on i { box-shadow: 0 0 0 0 rgba(8, 127, 81, .5); animation: pulse 2s ease-out infinite; }
.badge--off { background: #eceeed; color: var(--muted); }
@keyframes pulse { to { box-shadow: 0 0 0 7px rgba(8, 127, 81, 0); } }

/* Údaje o zásilce */
.dfacts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.1rem 0 1.1rem; }
.dfacts li { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .85rem .38rem .65rem; font-size: .9rem; font-weight: 600; }
.dfacts .ic { width: 16px; height: 16px; color: var(--green); }

/* Nabídky */
.dcard__offers { border-top: 1px solid var(--line); padding-top: 1rem; }
.dcard__offers summary { list-style: none; display: flex; align-items: center; gap: .8rem; cursor: pointer; font-weight: 700; color: var(--ink); border-radius: 14px; }
.dcard__offers summary::-webkit-details-marker { display: none; }
.dcard__sum { flex: 1; color: var(--green); }
.dstack { display: inline-flex; padding-left: 10px; }
.dstack b { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -10px; border-radius: 12px; border: 2px solid #fff; background: var(--ink); color: var(--lime); font: 800 .75rem var(--f-head); }
.dstack b:nth-child(2) { background: var(--green); color: #fff; }
.dstack b:nth-child(3) { background: var(--lime); color: var(--ink); }
.dstack .dstack__empty { background: var(--paper); color: var(--muted); border-color: var(--line); }
.dstack .ic { width: 16px; height: 16px; }
.dcard__chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); position: relative; transition: transform .2s, background .2s; }
.dcard__chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: translate(-50%, -70%) rotate(45deg); }
.dcard__offers[open] .dcard__chev { transform: rotate(180deg); background: var(--lime); }
.dcard__offers[open] .dcard__chev::before { border-color: var(--ink); }
.dcard__offers summary:hover .dcard__chev { background: #cdeedb; }
.dcard__offers > .muted { margin: .9rem 0 0; padding: .85rem 1rem; background: var(--paper); border-radius: 14px; font-size: .94rem; }
.offers--dash { margin: 1rem 0 0; }
.dcard__actions { margin-top: 1.1rem; display: flex; justify-content: flex-end; }
.dcard__actions .btn { gap: .5rem; }

/* Prázdný stav */
.empty--dash { display: grid; justify-items: center; text-align: center; gap: .3rem; border-radius: 26px; padding: clamp(2rem, 5vw, 3.2rem) 1.5rem; background: #fff; border: 2px dashed var(--line); }
.empty--dash p { color: var(--muted); max-width: 40ch; }
.empty__ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: .6rem; border-radius: 20px; background: var(--mint); color: var(--green); }
.empty__ic .ic { width: 30px; height: 30px; }

.acc-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--mint); border: 1px solid #a8dcc0; border-radius: 20px; padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.acc-cta p { margin: .2rem 0 0; color: var(--muted); max-width: 52ch; }
.acc-cta--ok { background: #fff; border-color: var(--line); }

@media (max-width: 760px) {
  .dcard__head { flex-direction: column-reverse; gap: .8rem; }
  .dcard__route { grid-template-columns: 1fr; gap: .3rem; width: 100%; }
  .dcard__track { height: 22px; width: 0; border-top: 0; border-left: 3px dotted var(--green-2); margin-left: 7px; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .dcard__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .badge--on i { animation: none; } .dcard, .dcard__chev { transition: none; } }

/* =====================================================================
   Stránka „Nabídky k vaší poptávce“ – moderní vzhled
   ===================================================================== */
.ic { flex: none; display: block; }
.wrap--mid { width: min(100% - 2.5rem, 1080px); }

/* Hlášky */
.notice { display: flex; align-items: flex-start; gap: .75rem; border-radius: 14px; padding: .95rem 1.1rem; font-weight: 600; font-size: .96rem; line-height: 1.45; box-shadow: 0 1px 0 rgba(10, 42, 34, .03); }
.notice::before { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; font: 800 .8rem/1 var(--f-head); color: #fff; }
.notice--err::before { content: "!"; background: var(--danger); }
.notice--ok::before { content: "✓"; background: var(--green); }
.notice--warn::before { content: "!"; background: #b7791f; }

/* Hlavička stránky: karta shrnutí na ni zasahuje */
.page-head--offers { padding-bottom: clamp(5rem, 9vw, 6.5rem); position: relative; overflow: hidden; }
.page-head--offers::after { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; border-radius: 50%; border: 3px dotted rgba(11, 155, 99, .35); transform: translateY(-50%); pointer-events: none; }
.page-head--offers .wrap { position: relative; z-index: 1; }
.page-head--offers .muted { font-size: 1.08rem; max-width: 52ch; }
.page-body--offers { padding-top: 0; }
.op { display: grid; gap: 1.5rem; margin-top: calc(-1 * clamp(3rem, 6vw, 4.2rem)); position: relative; z-index: 2; }

/* Shrnutí cesty */
.op-trip { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: 0 1px 2px rgba(10, 42, 34, .05), 0 24px 48px -28px rgba(10, 42, 34, .35); display: grid; gap: 1.4rem; }
.op-trip__top { display: flex; justify-content: flex-end; margin-bottom: -.6rem; }
.op-status { display: inline-flex; align-items: center; gap: .45rem; font: 700 .85rem/1 var(--f-body); padding: .45rem .85rem; border-radius: 999px; }
.op-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.op-status--on { background: var(--mint); color: var(--green); }
.op-status--on i { animation: pulse 2s ease-in-out infinite; }
.op-status--off { background: #eceeed; color: var(--muted); }

.op-trip__route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 160px) minmax(0, 1fr); align-items: center; gap: 1rem; }
.op-stop { display: flex; align-items: flex-start; gap: .9rem; min-width: 0; }
.op-stop > div { display: grid; gap: .1rem; min-width: 0; }
.op-stop--to { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.op-stop__dot { flex: none; width: 18px; height: 18px; margin-top: .3rem; border-radius: 50%; border: 4px solid var(--green); background: #fff; }
.op-stop--to .op-stop__dot { background: var(--green); box-shadow: 0 0 0 5px var(--mint); }
.op-stop--from .op-stop__dot { box-shadow: 0 0 0 5px var(--mint); }
.op-stop__label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.op-stop strong { font: 800 clamp(1.15rem, 2.4vw, 1.5rem)/1.15 var(--f-head); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.op-stop__city { color: var(--muted); font-weight: 600; }
.op-trip__line { position: relative; height: 40px; display: grid; place-items: center; }
.op-trip__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dotted var(--green-2); }
.op-trip__line span { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 6px #fff; }

.op-facts { list-style: none; margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem 1.2rem; }
.op-facts li { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.op-facts__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green); }
.op-facts__txt { display: grid; line-height: 1.25; min-width: 0; }
.op-facts__txt small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.op-facts__txt b { font-weight: 700; overflow-wrap: anywhere; }

/* Rozložení: nabídky + postranní panel */
.op__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; margin-top: .6rem; }
.op__side { display: grid; gap: 1rem; position: sticky; top: 92px; }
.op__titlebar { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.op__titlebar .offers-title { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.op__count { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 .55rem; border-radius: 999px; background: var(--ink); color: var(--lime); font: 800 .95rem var(--f-head); }

/* Čekání na nabídky */
.op-wait { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.2rem, 3vw, 1.8rem); display: grid; gap: 1.4rem; justify-items: start; }
.op-wait__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; }
.op-wait__steps li { position: relative; display: flex; gap: 1rem; padding-bottom: 1.4rem; }
.op-wait__steps li:last-child { padding-bottom: 0; }
.op-wait__steps li::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; border-left: 3px dotted var(--line); }
.op-wait__steps li:last-child::after { display: none; }
.op-wait__steps li.is-done::after { border-left-color: var(--green-2); }
.op-wait__steps span { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); color: var(--muted); }
.op-wait__steps .is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.op-wait__steps .is-now span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.op-wait__steps .is-now span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lime); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.op-wait__steps div { display: grid; gap: .1rem; padding-top: .35rem; }
.op-wait__steps b { font-weight: 700; }
.op-wait__steps small { color: var(--muted); font-size: .92rem; }
.op-wait .btn { gap: .55rem; }

/* Tlačítka */
.btn--sm { padding: .7rem 1.1rem; font-size: .93rem; }
.btn .ic { width: 18px; height: 18px; }

/* Karty nabídek */
.offers { gap: 1rem; margin-bottom: 0; }
.offer-card { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2rem; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.5rem; box-shadow: 0 1px 2px rgba(10, 42, 34, .04); transition: box-shadow .2s, border-color .2s; }
.offer-card:hover { border-color: #b9d6c6; box-shadow: 0 18px 36px -24px rgba(10, 42, 34, .4); }
.offer-card--best { border: 2px solid var(--green-2); background: linear-gradient(180deg, #f1fbf6 0, #fff 120px); box-shadow: 0 0 0 5px rgba(11, 155, 99, .1); }
.offer-card__who { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.offer-card__who > div { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; min-width: 0; }
.offer-card__avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--ink); color: var(--lime); font: 800 1.05rem var(--f-head); }
.offer-card--best .offer-card__avatar { background: var(--green); color: #fff; }
.offer-card h3 { margin: 0; }
.badge { margin-left: 0; font-size: .8rem; padding: .28rem .75rem; }
.offer-card__note { margin: 0 0 .8rem; padding: .75rem 1rem; background: var(--paper); border-radius: 14px; color: var(--ink-2); }
.offer-card__veh { display: flex; align-items: center; gap: .55rem; margin: 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.offer-card__veh .ic { width: 18px; height: 18px; color: var(--green); }
.offer-card__side { justify-items: end; align-content: space-between; gap: 1rem; }
.offer-card__price { font: 800 clamp(1.9rem, 3.4vw, 2.4rem)/1 var(--f-head); letter-spacing: -0.03em; white-space: nowrap; }
.offer-card__price span { font-size: .55em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.offer-card__actions { display: grid; gap: .5rem; justify-items: stretch; }
.offer-card__actions .btn { white-space: nowrap; }

/* Postranní panel */
.acc-cta { position: relative; display: grid; gap: 1rem; justify-items: start; background: var(--ink); color: #fff; border: 0; border-radius: 24px; padding: 1.5rem; margin: 0; overflow: hidden; box-shadow: 0 24px 40px -28px rgba(10, 42, 34, .7); }
.acc-cta::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; border: 3px dotted rgba(11, 155, 99, .5); pointer-events: none; }
.acc-cta__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--ink); }
.acc-cta__txt { position: relative; z-index: 1; }
.acc-cta strong { display: block; font: 800 1.2rem/1.2 var(--f-head); letter-spacing: -0.01em; color: #fff; margin-bottom: .4rem; }
.acc-cta p { margin: 0; color: #b9d8c9; max-width: none; font-size: .95rem; }
.acc-cta p b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.acc-cta .btn { width: 100%; position: relative; z-index: 1; background: var(--lime); color: var(--ink); }
.acc-cta .btn:hover { background: #e2ff54; color: var(--ink); }
.acc-cta--ok { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.acc-cta--ok::after { display: none; }
.acc-cta--ok strong { color: var(--ink); }
.acc-cta--ok p { color: var(--muted); }
.acc-cta--ok .acc-cta__ic { background: var(--mint); color: var(--green); }
.acc-cta--ok .btn { background: var(--green); color: #fff; }
.acc-cta--ok .btn:hover { background: var(--ink-2); color: #fff; }

.close-form { display: grid; gap: .3rem; justify-items: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.4rem; }
.close-form strong { font: 800 1.1rem var(--f-head); }
.close-form p { margin: 0 0 .8rem; color: var(--muted); font-size: .95rem; }
.close-form .btn { width: 100%; }

/* Odkaz na stránku s nabídkami (kopírování) */
.op-link { margin-top: 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem 1.1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.2rem, 3vw, 1.6rem); }
.op-link__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--green); }
.op-link__txt h3 { margin: 0 0 .25rem; font: 800 1.15rem/1.2 var(--f-head); letter-spacing: -0.01em; }
.op-link__txt p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 60ch; }
.op-link__row { grid-column: 1 / -1; display: flex; gap: .6rem; }
.op-link__input { flex: 1; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-2); font: 600 .9rem var(--f-body); text-overflow: ellipsis; }
.op-link__input:focus-visible { outline: 3px solid rgba(11, 155, 99, .35); outline-offset: 1px; border-color: var(--green-2); }
.op-link__btn { flex: none; gap: .5rem; white-space: nowrap; }
.op-link__btn.is-copied { background: var(--ink); color: var(--lime); }
.op-link__note { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--muted); font-size: .86rem; font-weight: 600; }
.op-link__note .ic { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .op-link__row { flex-direction: column; }
  .op-link__btn { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .op__grid { grid-template-columns: 1fr; }
  .op__side { position: static; }
  .op-trip__route { grid-template-columns: 1fr; gap: .4rem; }
  .op-stop--to { flex-direction: row; justify-content: flex-start; text-align: left; }
  .op-trip__line { height: 44px; width: 18px; margin-left: 0; place-items: center start; }
  .op-trip__line::before { left: 8px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dotted var(--green-2); }
  .op-trip__line span { width: 34px; height: 34px; margin-left: -8px; }
  .page-head--offers::after { display: none; }
}
@media (max-width: 640px) {
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__side { justify-items: stretch; align-content: start; }
  .offer-card__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .op-status--on i, .op-wait__steps .is-now span::after { animation: none; }
  .offer-card { transition: none; }
}

/* ---------- Kontakt ---------- */
.page-body--kontakt { padding: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(3rem, 7vw, 5rem); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }

.kt-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; border-radius: 30px; padding: clamp(2rem, 5vw, 3.8rem); color: #fff;
  background: radial-gradient(760px 320px at 88% -20%, rgba(207,242,48,.30), transparent 60%), linear-gradient(135deg, #0a2a22 0%, #0f3b2f 60%, #087f51 140%); }
.kt-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.kt-eyebrow span { width: 26px; height: 2px; background: var(--lime); border-radius: 2px; }
.kt-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 16ch; margin-bottom: .45em; }
.kt-lead { max-width: 48ch; color: rgba(255,255,255,.78); font-size: 1.08rem; margin-bottom: 1.6rem; }
.kt-hero__art { position: relative; min-height: 250px; }
.kt-orb { position: absolute; border-radius: 50%; }
.kt-orb--1 { right: 4%; top: 4%; width: 210px; height: 210px; border: 38px solid rgba(207,242,48,.14); }
.kt-orb--2 { right: 30%; bottom: 2%; width: 90px; height: 90px; background: rgba(11,155,99,.55); filter: blur(2px); }
.kt-chat { position: absolute; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); color: #fff; box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.kt-chat--a { left: 8%; top: 12%; transform: rotate(-8deg); }
.kt-chat--b { right: 14%; top: 30%; width: 92px; height: 92px; border-radius: 28px; background: var(--lime); color: var(--ink); border-color: transparent; transform: rotate(6deg); }
.kt-chat--b svg { width: 34px; height: 34px; }
.kt-chat--c { left: 26%; bottom: 4%; transform: rotate(5deg); }

.kt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: -2.2rem; padding: 0 clamp(.6rem, 3vw, 2.2rem); position: relative; z-index: 2; }
.kt-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.7rem; box-shadow: 0 1px 2px rgba(10,42,34,.04), 0 22px 44px -26px rgba(10,42,34,.35); transition: transform .2s, box-shadow .2s; }
.kt-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10,42,34,.04), 0 30px 50px -26px rgba(10,42,34,.4); }
.kt-card h2 { font-size: 1.35rem; margin: 1.1rem 0 .4em; }
.kt-card p { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 1.4rem; }
.kt-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #e4f6ec; color: var(--green); }
.kt-card--lime { background: var(--lime); border-color: transparent; }
.kt-card--lime p { color: rgba(10,42,34,.78); }
.kt-card--lime .kt-badge { background: rgba(10,42,34,.1); color: var(--ink); }

.kt-sec { margin-top: clamp(2.8rem, 6vw, 4.2rem); text-align: center; }
.kt-h { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 1.4rem; }
.kt-direct { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.kt-direct__i { padding: 1.4rem 1rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.kt-direct__i h3 { margin-bottom: .2em; }
.kt-direct__i p { color: var(--muted); font-size: .93rem; margin-bottom: .6rem; }
.kt-direct__i a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.kt-direct__i a:hover { text-decoration: underline; }

.kt-company { margin-top: clamp(2.8rem, 6vw, 4.2rem); padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: 28px; background: var(--ink); color: #fff; }
.kt-company .kt-h { color: #fff; text-align: center; max-width: 30ch; margin-inline: auto; margin-bottom: 2rem; }
.kt-company__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.kt-company__grid > div { padding-top: 1.2rem; border-top: 2px solid rgba(207,242,48,.35); }
.kt-company h3 { font-size: .8rem; font-family: var(--f-body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: .9rem; }
.kt-company address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: .8rem; }
.kt-company dl { margin: 0 0 .9rem; }
.kt-company dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.kt-company dt { color: rgba(255,255,255,.6); }
.kt-company dd { margin: 0; font-weight: 700; text-align: right; }
.kt-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--lime); text-decoration: none; }
.kt-link:hover { color: #fff; }
.kt-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(207,242,48,.14); color: var(--lime); font-weight: 600; font-size: .9rem; }
.kt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

@media (max-width: 900px) {
  .kt-hero { grid-template-columns: 1fr; }
  .kt-hero__art { display: none; }
  .kt-cards, .kt-direct, .kt-company__grid { grid-template-columns: 1fr; }
  .kt-cards { margin-top: 1.1rem; padding: 0; }
  .kt-hero { border-radius: 24px; }
}
.kt-hero { padding-bottom: clamp(3.6rem, 7vw, 5.2rem); }
.kt-company__grid > div:last-child dl div { flex-direction: column; gap: .15rem; }
.kt-company__grid > div:last-child dd { text-align: left; }
@media (max-width: 900px) { .kt-hero { padding-bottom: clamp(2rem, 5vw, 3.8rem); } }

/* ---------- Hlavička: větší mezera mezi menu a pravou částí ---------- */
@media (min-width: 961px) {
  .nav { gap: clamp(2.6rem, 4.5vw, 4.5rem); }
}

/* tlačítko s obrysem na tmavém pozadí (hlavička) */
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { border-color: var(--lime); color: var(--lime); }
.nav__actions .btn { padding: .8rem 1.35rem; font-size: .98rem; }

/* hlavička: pravý okraj dál od kraje obrazovky */
@media (min-width: 961px) {
  .site-header .wrap { padding-right: clamp(1.5rem, 4.5vw, 4.5rem); }
}

/* ---------- Fotografie k poptávce ---------- */
.photos { display: grid; gap: .5rem; position: relative; }
.photos__label { font-weight: 600; font-size: .95rem; }
.photos__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.photos .photos__input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.photos__drop { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; border: 2px dashed var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.photos__drop:hover, .photos__drop.is-over { border-color: var(--green-2); }
.photos__drop:hover, .photos__drop.is-over { background: var(--mint); border-color: var(--green-2); }
.photos:focus-within .photos__drop { border-color: var(--green-2); background: var(--mint); }
.photos__drop svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.photos__txt { display: grid; gap: .1rem; }
.photos__txt b { font-weight: 700; }
.photos__txt small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.photos__err { margin: 0; color: var(--danger); font-size: .9rem; font-weight: 600; }
.photos__err[hidden] { display: none; }
.photos__list, .photos-view { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.photos__list:empty { display: none; }
.photos__list li { position: relative; }
.photos__list img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); }
.photos__rm { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font: 700 16px/24px var(--f-body); cursor: pointer; }
.photos__rm:hover { background: var(--danger); }
.photos-view li { margin: 0; }
.photos-view a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.photos-view img { display: block; width: 110px; height: 82px; object-fit: cover; transition: transform .2s; }
.photos-view a:hover img { transform: scale(1.05); }
.op-trip .photos-view { margin-top: 1rem; }
.req > .photos-view { margin: 0; justify-content: center; }

/* ---------- Chat ---------- */
.req__chat { display: flex; justify-content: center; }
.chat-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: .15rem; border-radius: 999px; background: var(--lime); color: var(--ink); font: 800 .75rem/1 var(--f-body); }
.btn--ghost .chat-badge { background: var(--green); color: #fff; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 1000; width: 380px; max-width: calc(100vw - 24px); height: min(580px, calc(100dvh - 36px)); border-radius: 22px; background: #fff; box-shadow: 0 12px 48px rgba(10, 42, 34, .28), 0 0 0 1px rgba(10, 42, 34, .06); transform: translateY(14px) scale(.98); transform-origin: bottom right; opacity: 0; transition: transform .2s ease, opacity .18s; }
.chat[hidden] { display: none; }
.chat__scrim { display: none; }
.chat.is-open { transform: none; opacity: 1; }
.chat__panel { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff; }
.chat__av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 1.1rem var(--f-head); }
.chat__who { min-width: 0; display: grid; }
.chat__who strong { font: 800 1.1rem/1.2 var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__who small { color: #b9d9cb; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__x { margin-left: auto; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .15s; }
.chat__x:hover { background: rgba(255, 255, 255, .22); }
.chat__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1rem .6rem; background: var(--paper); }
.chat__body:focus-visible { outline: 2px solid var(--green-2); outline-offset: -2px; }
.chat__msgs { display: flex; flex-direction: column; min-height: 100%; }
.chat__day { display: flex; justify-content: center; margin: .9rem 0 .6rem; }
.chat__day span { padding: .2rem .75rem; border-radius: 999px; background: #e3ede6; color: var(--muted); font-size: .78rem; font-weight: 600; }
.chat__m { display: flex; flex-direction: column; max-width: 82%; margin-top: 2px; }
.chat__m.is-first { margin-top: .7rem; }
.chat__m--me { align-self: flex-end; align-items: flex-end; }
.chat__m--them { align-self: flex-start; align-items: flex-start; }
.chat__b { padding: .6rem .9rem; border-radius: 18px; font-size: .98rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__m--me .chat__b { background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 2px 8px -2px rgba(8, 127, 81, .45); }
.chat__m--them .chat__b { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(10, 42, 34, .05); }
.chat__m--me:not(.is-first) .chat__b { border-top-right-radius: 6px; }
.chat__m--them:not(.is-first) .chat__b { border-top-left-radius: 6px; }
.chat__m--me:not(.is-last) .chat__b { border-bottom-right-radius: 6px; }
.chat__m--them:not(.is-last) .chat__b { border-bottom-left-radius: 6px; }
.chat__b.is-pending { opacity: .6; }
.chat__b.is-failed { background: #fdecea; color: var(--danger); border: 1px solid #f3b8b2; }
.chat__t { margin: .2rem .3rem .1rem; color: var(--muted); font-size: .74rem; }
.chat__retry { margin: .25rem .2rem 0; padding: 0; border: 0; background: none; color: var(--danger); font: 600 .8rem var(--f-body); text-decoration: underline; cursor: pointer; }
.chat__state { margin: auto; padding: 2rem 1rem; color: var(--muted); text-align: center; }
.chat__state--err { color: var(--danger); font-weight: 600; }
.chat__empty { margin: auto; display: grid; justify-items: center; gap: .35rem; padding: 1.5rem .5rem; text-align: center; color: var(--muted); }
.chat__empty strong { color: var(--ink); font: 800 1.15rem var(--f-head); }
.chat__empty p { margin: 0; max-width: 28ch; }
.chat__empty-ic { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: .4rem; border-radius: 50%; background: var(--mint); color: var(--green); }
.chat__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .9rem; }
.chat__chips button { padding: .5rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .88rem var(--f-body); cursor: pointer; box-shadow: 0 1px 2px rgba(10, 42, 34, .04); transition: border-color .15s, background .15s, transform .1s; }
.chat__chips button:active { transform: scale(.97); }
.chat__chips button:hover { border-color: var(--green-2); background: var(--mint); }
.chat__form { padding: .7rem .8rem .35rem; background: #fff; }
.chat__form[hidden] { display: none; }
.chat__composer { display: flex; align-items: flex-end; gap: .25rem; padding: .3rem .3rem .3rem .35rem; border: 1.5px solid var(--line); border-radius: 26px; background: var(--paper); transition: border-color .15s, box-shadow .15s, background .15s; }
.chat__composer:focus-within { border-color: var(--green-2); background: #fff; box-shadow: 0 0 0 4px rgba(11, 155, 99, .14); }
.chat__form textarea { flex: 1; min-width: 0; max-height: 130px; resize: none; overflow-y: hidden; box-sizing: border-box; padding: .55rem .35rem; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 400 1rem/1.35 var(--f-body); }
.chat__form textarea::placeholder { color: #8a9c92; }
.chat__form textarea:focus, .chat__form textarea:focus-visible { outline: 0; box-shadow: none; background: transparent; }
.chat__emoji-btn { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #6b7f74; cursor: pointer; transition: background .15s, color .15s; }
.chat__emoji-btn:hover, .chat__emoji-btn.is-on { background: var(--mint); color: var(--green); }
.chat__send { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; transition: background .15s, transform .1s, opacity .15s; }
.chat__send:hover:not(:disabled) { background: var(--ink-2); }
.chat__send:active:not(:disabled) { transform: scale(.92); }
.chat__send:disabled { background: #dbe7e0; color: #fff; cursor: default; }
.chat__emoji { position: absolute; left: .8rem; bottom: 4.3rem; z-index: 5; width: min(300px, calc(100% - 1.6rem)); border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(10, 42, 34, .22), 0 0 0 1px rgba(10, 42, 34, .07); overflow: hidden; animation: chatPop .14s ease-out; transform-origin: bottom left; }
.chat__emoji[hidden] { display: none; }
.chat__emoji-tabs { display: flex; gap: .2rem; padding: .4rem .45rem 0; border-bottom: 1px solid var(--line); }
.chat__emoji-tabs button { flex: 1; padding: .35rem 0 .45rem; border: 0; border-bottom: 2.5px solid transparent; background: none; font-size: 1.15rem; line-height: 1; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.chat__emoji-tabs button:hover { opacity: .85; }
.chat__emoji-tabs button.is-on { opacity: 1; border-bottom-color: var(--green-2); }
.chat__emoji-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; max-height: 188px; overflow-y: auto; padding: .45rem; }
.chat__emoji-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .1s, transform .1s; }
.chat__emoji-grid button:hover { background: var(--mint); transform: scale(1.12); }
@keyframes chatPop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.chat__hint { margin: 0; padding: .15rem 1rem .6rem; background: #fff; color: var(--muted); font-size: .76rem; text-align: center; }
.chat__hint[hidden] { display: none; }
.chat__closed { margin: 0; padding: .9rem 1rem; background: #fff; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .92rem; }
.chat__closed[hidden] { display: none; }
.chat__toast { position: absolute; left: .8rem; right: .8rem; bottom: 5.4rem; padding: .7rem 1rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .9rem; box-shadow: 0 8px 24px rgba(10, 42, 34, .3); }
@media (hover: none) { .chat__hint { display: none; } .chat__form { padding-bottom: .8rem; } .chat__emoji { bottom: 4.4rem; } }
@media (max-width: 480px) { .chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: min(560px, calc(100dvh - 16px)); } .chat__m { max-width: 88%; } }
@media (prefers-reduced-motion: reduce) { .chat { transition: none; } .chat__emoji { animation: none; } }

/* ---------- Zákazník na kartě poptávky ---------- */
.cust { padding: .9rem 1.1rem; background: var(--paper); border-radius: 18px; }
.cust__top { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.cust__av { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font: 800 1.1rem var(--f-head); box-shadow: 0 0 0 3px var(--mint); }
.cust__who { min-width: 0; display: grid; text-align: left; }
.cust__who strong { font: 800 1.1rem/1.2 var(--f-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust__who small { color: var(--muted); font-size: .82rem; font-weight: 600; }
.cust__top .btn { flex: none; margin-left: auto; }
.cust__contact { display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; margin: .85rem 0 0; padding-top: .85rem; border-top: 1px solid var(--line); }
.cust__contact > div { min-width: 0; }
.cust__contact dt { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.cust__contact dt .ic { width: 15px; height: 15px; color: var(--green); }
.cust__contact dd { margin: .1rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.cust__contact a { color: var(--ink); text-decoration-color: var(--green-2); text-decoration-thickness: 2px; }
.cust__contact a:hover { color: var(--green); }
.cust__lock { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; gap: .5rem; margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.cust__lock .ic { flex: none; width: 17px; height: 17px; margin-top: .1rem; color: var(--green); }
@media (max-width: 760px) { .cust__lock { order: 3; flex-basis: 100%; justify-content: flex-start; text-align: left; } }

/* Prohlížeč fotek */
.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(6, 22, 18, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .18s ease; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__stage { position: relative; display: grid; place-items: center; max-width: 100vw; max-height: 100dvh; padding: 4.2rem 1rem 3.4rem; box-sizing: border-box; }
.lb__img { display: block; max-width: min(1100px, calc(100vw - 2rem)); max-height: calc(100dvh - 7.6rem); width: auto; height: auto; border-radius: 16px; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); background: #0d2b24; transform: scale(.97); transition: transform .2s ease, opacity .15s; user-select: none; }
.lb.is-open .lb__img { transform: none; }
.lb.is-loading .lb__img { opacity: 0; }
.lb__spin { position: absolute; width: 38px; height: 38px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--lime); border-radius: 50%; opacity: 0; animation: lbSpin .8s linear infinite; }
.lb.is-loading .lb__spin { opacity: 1; }
@keyframes lbSpin { to { transform: rotate(360deg); } }
.lb__count { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); padding: .3rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 600 .85rem var(--f-body); letter-spacing: .02em; }
.lb__count:empty { display: none; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .15s, transform .1s; }
.lb__btn:hover { background: rgba(255, 255, 255, .24); }
.lb__btn:active { transform: scale(.92); }
.lb__btn[hidden] { display: none; }
.lb__btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.lb__x { top: 1rem; right: 1rem; }
.lb__nav { top: 50%; margin-top: -22px; }
.lb__prev { left: 1rem; }
.lb__next { right: 1rem; }
@media (max-width: 640px) { .lb__nav { top: auto; bottom: .9rem; margin-top: 0; } .lb__prev { left: 1rem; } .lb__next { right: 1rem; } .lb__stage { padding-top: 4rem; padding-bottom: 4.6rem; } .lb__img { max-height: calc(100dvh - 8.6rem); border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) { .lb, .lb__img { transition: none; } .lb__spin { animation-duration: 2s; } }

.site-footer__links { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.4rem; }

/* Obchodní podmínky */
.vop h2 { margin: 2.2rem 0 .8rem; font-size: 1.35rem; }
.vop p, .vop li { line-height: 1.65; }
.vop ul { margin: .6rem 0 1rem 1.2rem; padding: 0; }
.vop blockquote { margin: 1rem 0; padding: .9rem 1.1rem; border-left: 4px solid #0b9b63; background: #f1f7f3; border-radius: 0 12px 12px 0; }
.vop blockquote p { margin: 0; }

/* ---------- Mobilní responzivita: přihlášení, registrace, nová poptávka ----------
   Musí být na konci souboru, aby přebilo .auth--wide (stejná specificita, pozdější pravidlo vyhrává). */
@media (max-width: 800px) {
  .auth, .auth--wide { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .auth__main { order: -1; padding: 1.6rem 1.25rem 1.8rem; }
  .auth__side { padding: 1.6rem 1.25rem 1.8rem; gap: .8rem; }
  .auth__side h2 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .auth__truck, .auth__route { display: none; }
  .auth__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .auth__sub { margin-bottom: 1.1rem; }
}
@media (max-width: 520px) {
  .page-body--auth { padding: 1rem 0 2.5rem; }
  .page-body--auth .wrap { width: calc(100% - 1.5rem); }
  .auth { border-radius: 22px; box-shadow: 0 24px 48px -30px rgba(10, 42, 34, .5); }
  .auth__main, .auth__side { padding: 1.4rem 1.1rem 1.6rem; }
  .auth__form .form__group { gap: .85rem; }
  .auth__form .form__group legend { font-size: 1.05rem; }
  .auth__form .field input[type="text"], .auth__form .field input[type="password"],
  .auth__form .field input[type="tel"], .auth__form .field input[type="email"],
  .auth__form .field select, .auth__form .field textarea { font-size: 16px; /* iOS nezoomuje při fokusu */ }

  /* Stepper: vejde se do jednoho řádku bez ořezání popisků */
  .stepper { gap: .35rem; margin-bottom: 1.3rem; }
  .stepper li { gap: .35rem; font-size: .8rem; white-space: nowrap; }
  .stepper li span { width: 28px; height: 28px; font-size: .8rem; flex: none; }
  .stepper li + li { flex: 1 1 0; min-width: 0; }
  .stepper li + li::before { flex: 1 1 8px; width: auto; min-width: 8px; max-width: 40px; }

  /* Tlačítka kroků přes celou šířku, "Zpět" pod "Pokračovat" */
  .step__nav { flex-direction: column-reverse; gap: .6rem; }
  .step__nav .btn, .step__nav .btn--ghost { flex: none; width: 100%; }
  .auth__form[data-steps] .btn { width: 100%; }
  .auth__row { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (max-width: 360px) {
  .stepper li { font-size: .74rem; }
  .stepper li span { width: 24px; height: 24px; }
}
