/* Parkoviště Důlce – veřejný web a klientská zóna. Vzhled dle schváleného návrhu (artifact „cesta zákazníka“). */
:root {
  --ink: #17211C; --muted: #4B5A52; --line: #D9DDD6; --line-soft: #E6E9E3;
  --ground: #F3F4EF; --surface: #FFFFFF; --green: #1E6B47; --green-dark: #14492F; --green-tint: #E3EFE7;
  --yellow: #F2C230; --warn-bg: #FDF3D0; --warn-line: #E8C860; --warn-ink: #8A5A00;
  --red: #8E2B1E; --red-tint: #F8E3DF; --blue: #2F5E9E; --taken: #C9CEC7;
  --radius: 10px;
  --font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--green); } a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: 32px; font-weight: 800; } h2 { font-size: 22px; } h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .wrap, .topbar .narrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 17px; }
.brand-mark { width: 32px; height: 32px; border-radius: 6px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.toplink { font-weight: 600; text-decoration: none; padding: 10px 4px; }
.back { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; color: var(--ink); }
.steps { font-size: 13px; color: var(--muted); }
.progress { height: 4px; background: var(--line); } .progress > span { display: block; height: 4px; background: var(--green); }

.hero { background: var(--ink); color: #fff; padding: 36px 0; }
.hero p { color: #D5DCD7; font-size: 17px; }
.hero h1 { font-size: 36px; max-width: 640px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.price-big { font-family: var(--display); font-weight: 800; font-size: 40px; }
.hero-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } .hero h1 { font-size: 44px; } }
.photo { min-height: 190px; border-radius: var(--radius); background: #E3E6DF; border: 1px dashed #A9B1A9; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.hero .photo { background: #24312A; border-color: #46564D; color: #9FB0A6; }

.section { padding: 28px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card + .card { margin-top: 12px; }
.grid-2 { display: grid; gap: 12px; } @media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .steps-list { grid-template-columns: repeat(4, 1fr); } }
.steps-list li { display: flex; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.rows > div:last-child { border-bottom: 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
details + details { margin-top: 8px; } summary { font-weight: 600; cursor: pointer; } details p { margin: 8px 0 0; color: var(--muted); }
.footer { padding: 28px 0 36px; background: var(--surface); border-top: 1px solid var(--line); margin-top: 32px; font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 8px; border: 0; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--green); color: #fff; } .btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); } .btn-yellow:hover { background: #E0B21F; color: var(--ink); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-danger { background: var(--red); color: #fff; } .btn-danger:hover { background: #721F15; color: #fff; }
.btn-small { min-height: 44px; font-size: 15px; padding: 0 14px; }
.btn-ghost { background: var(--surface); border: 1px solid #A9B1A9; color: var(--ink); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 10px 0; font: inherit; font-weight: 600; color: var(--green); cursor: pointer; }

label, .label { display: block; font-weight: 600; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.input, select.input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #A9B1A9; border-radius: 8px; font: inherit; background: var(--surface); color: var(--ink); }
textarea.input { height: auto; padding: 10px 14px; }
.input:focus, .btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #8DBBA2; outline-offset: 1px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.error { font-size: 14px; color: var(--red); margin-top: 4px; font-weight: 600; }
.input.has-error { border-color: var(--red); }
.row { display: flex; gap: 8px; } .row > .grow { flex: 1; min-width: 0; }
.cols-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; margin-bottom: 12px; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: #E3E6DF; border-radius: var(--radius); }
.segmented label { margin: 0; } .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; min-height: 44px; border-radius: 8px; color: var(--muted); font-weight: 600; cursor: pointer; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.segmented input:focus-visible + span { outline: 3px solid #8DBBA2; }
.company-only { display: none; } .is-company .company-only { display: block; } .is-company .person-only { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.alert-ok { background: var(--green-tint); border-color: #A8CBB4; }
.alert-error { background: var(--red-tint); border-color: #E2A79D; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.badge-ok { background: var(--green-tint); color: var(--green-dark); } .badge-warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge-bad { background: var(--red-tint); color: var(--red); } .badge-muted { background: #E6E9E3; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); margin: 20px 0 12px; }
.legend span { display: flex; align-items: center; gap: 6px; } .legend i { width: 16px; height: 16px; border-radius: 3px; border: 2px solid; }
.spot-map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 560px) { .spot-map { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.spot { position: relative; margin: 0; }
.spot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.spot span { display: grid; place-items: center; height: 46px; border-radius: 6px; border: 2px solid var(--green); background: var(--surface); font-weight: 700; font-size: 15px; }
.spot.ztp span { border-color: var(--blue); color: var(--blue); }
.spot.taken span { background: var(--taken); border-color: var(--taken); color: var(--muted); }
.spot input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.spot input:focus-visible + span { outline: 3px solid #8DBBA2; outline-offset: 1px; }
.sticky-bar { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 16px 0 20px; margin-top: 20px; }

.spot-badge { width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; }
.kv { margin: 0; } .kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; }
.pay { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pay .qr { width: 140px; height: 140px; flex-shrink: 0; } .pay .qr svg { width: 100%; height: 100%; display: block; }
.qr-missing { width: 140px; height: 140px; border: 1px dashed #A9B1A9; border-radius: 6px; display: grid; place-items: center; text-align: center; font-size: 13px; color: var(--muted); padding: 8px; }
.list { list-style: none; margin: 0; padding: 0; } .list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); } .list li:last-child { border-bottom: 0; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
