/* Půjčovna dodávek Zlín — design „Web Pujcovna" (Claude Design 07/2026):
   Sora, tmavě modrá #1c2440, žlutá #f2c230, zlatý akcent #c9a11a. */
:root {
  --navy: #1c2440;
  --navy-2: #2a3560;
  --yellow: #f2c230;
  --yellow-dark: #e5b31c;
  --gold: #c9a11a;
  --ink: #1c2440;
  --ink-soft: #5a6178;
  --ink-mute: #8a90a3;
  --line: #e7e9f0;
  --line-soft: #eef0f4;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --ok: #1c7a43;
  --ok-bg: #e8f6ee;
  --ok-line: #bfe5cf;
  --busy: #b23a3a;
  --busy-bg: #fdecec;
  --busy-line: #f2c4c4;
  --warn: #9a6700;
  --warn-bg: #fff4d6;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 14px rgba(28, 36, 64, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Sora, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 1.6em 0 .7em; }
h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- tlačítka a formuláře ---------- */
.btn {
  display: inline-block;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-danger { background: #fff; color: var(--busy); border-color: var(--busy); }
.btn-danger:hover { background: var(--busy-bg); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid rgba(242, 194, 48, .65);
  outline-offset: 2px;
}

label { display: block; font-weight: 600; font-size: .8rem; color: #3d4763; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: .93rem;
  padding: 11px 13px;
  border: 1px solid #dfe2ea;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.field { margin-bottom: 14px; }
.field-hint { font-size: .78rem; color: var(--ink-mute); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 400; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }

.alert { border-radius: var(--radius); padding: 13px 17px; margin: 14px 0; font-size: .92rem; }
.alert-error { background: var(--busy-bg); color: var(--busy); border: 1px solid var(--busy-line); }
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- horní lišta + hlavička ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 0; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 22px; opacity: .85; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar-phone { font-weight: 700; color: var(--yellow) !important; white-space: nowrap; }
.topbar-phone span { opacity: .75; color: #fff; font-weight: 400; margin-right: 6px; }

.site-header { border-bottom: 1px solid var(--line-soft); background: #fff; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.2; }
.brand-sub { font-size: .72rem; color: var(--ink-mute); }
.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: #3d4763; font-weight: 600; font-size: .92rem; }
.main-nav a:hover { color: var(--navy); text-decoration: underline; }
.main-nav a[aria-current="page"] { color: var(--navy); }
.nav-phone { color: var(--ink) !important; font-weight: 700 !important; }

/* ---------- hero ---------- */
.hero-wrap { background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 48px 0 42px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: .8fr 1.2fr; gap: 0; padding-top: 36px; } }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600; color: #3d4763;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fae5f; }
.google-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 14px; font-size: .8rem; font-weight: 700; color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow);
}
.google-badge:hover { border-color: #c9cede; }
.google-badge svg { width: 16px; height: 16px; flex: none; }
.google-badge .stars { color: #FBBC04; letter-spacing: 1px; font-size: .85rem; }
.google-badge-text { color: #3d4763; font-weight: 600; }
.hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.12; letter-spacing: -.03em; margin: 18px 0 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.02rem; line-height: 1.65; color: var(--ink-soft); margin: 0 0 26px; max-width: 470px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-contact { font-size: .84rem; color: var(--ink-mute); }
.hero-contact b { color: var(--ink); }
.hero-contact a { text-decoration: none; }
/* Velký hero obrázek — okraje se rozpouštějí do pozadí sekce (maska + multiply),
   takže bílé pozadí fotky splyne s podkladem bez viditelného rámečku. */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img {
  width: 100%;
  max-width: none;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(115% 115% at 55% 45%, #000 62%, transparent 97%);
  mask-image: radial-gradient(115% 115% at 55% 45%, #000 62%, transparent 97%);
}
@media (min-width: 900px) {
  /* Vpravo zarovnaný s okrajem stránky; vlevo (světlá část fotky) podjíždí pod text. */
  .hero-art { margin: -30px 0 -32px -150px; }
}

/* ---------- trust pás ---------- */
.trust-strip { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.trust-strip ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 40px; margin: 0; padding: 15px 0; list-style: none; font-size: .86rem; font-weight: 600; color: #3d4763; }
.trust-strip li::before { content: "✓ "; color: var(--ok); }

/* ---------- sekce ---------- */
.section { padding: 50px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2, .section h2:first-child { margin: 0; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin: 0 0 6px; }
.section-link { font-size: .86rem; font-weight: 600; color: #3d4763; text-decoration: none; }
.section-link:hover { color: var(--navy); text-decoration: underline; }
.page-intro { font-size: .92rem; color: var(--ink-soft); margin: 0 0 26px; }

/* ---------- kroky ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 620px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 22px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  font-weight: 700; font-size: .88rem; margin-bottom: 12px;
}
.steps strong { display: block; font-size: .95rem; margin-bottom: 5px; }
.steps li { font-size: .84rem; color: var(--ink-soft); line-height: 1.55; }
.steps strong { color: var(--ink); }

/* ---------- karty vozů ---------- */
.vehicle-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0 0 24px; }
@media (min-width: 560px) { .vehicle-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .vehicle-grid { grid-template-columns: repeat(4, 1fr); } }
.vehicle-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .15s ease, border-color .15s ease; }
.vehicle-card:hover { border-color: #d9dce6; box-shadow: var(--shadow); }
.vehicle-photo { position: relative; background: var(--bg-soft); display: flex; justify-content: center; align-items: center; height: 200px; padding: 8px; }
.vehicle-photo img { max-height: 190px; max-width: 98%; object-fit: contain; mix-blend-mode: multiply; }
.badge-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 4px 11px; font-size: .72rem; font-weight: 700; color: #3d4763;
}
.vehicle-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vehicle-body h3 { margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.vehicle-body h3 a { color: var(--ink); text-decoration: none; }
.vehicle-body h3 a:hover { color: var(--navy-2); text-decoration: underline; }
.vehicle-params { margin: 0; padding: 0; list-style: none; font-size: .76rem; color: var(--ink-mute); line-height: 1.6; }
.vehicle-params li { display: inline; }
.vehicle-params li + li::before { content: " · "; }
.vehicle-price { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.vehicle-price .amount {
  font-weight: 800; font-size: 1.3rem; display: inline-block; white-space: nowrap;
  /* zvýraznění hlavní ceny — žlutý „fix" pod textem */
  background: linear-gradient(transparent 62%, rgba(242, 194, 48, .5) 62%);
  padding: 0 3px;
}
.vehicle-price .amount span { font-size: .76rem; color: var(--ink-soft); font-weight: 600; background: none; }
.price-alt { font-size: .8rem; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }
.price-alt b { font-weight: 700; color: var(--ink); }
.vehicle-price .btn { width: 100%; }

/* řádková varianta na stránce Vozy a ceník */
.vehicle-rows { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 0 0 26px; }
@media (min-width: 860px) { .vehicle-rows { grid-template-columns: 1fr 1fr; } }
.vehicle-row { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; }
.vehicle-row .vehicle-photo { width: 260px; flex: none; height: auto; min-height: 190px; }
.vehicle-row .vehicle-body { padding: 16px 18px; }
.vehicle-row .vehicle-price { flex-direction: row; justify-content: space-between; align-items: center; }
.vehicle-row .vehicle-price .btn { width: auto; }
@media (max-width: 560px) { .vehicle-row { flex-direction: column; } .vehicle-row .vehicle-photo { width: 100%; height: 150px; } }

.avail-pill { font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.avail-pill.free { background: var(--ok-bg); color: var(--ok); }
.avail-pill.busy { background: var(--busy-bg); color: var(--busy); }

/* filtr termínu */
.filter-box { display: flex; gap: 14px; align-items: end; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 26px; max-width: 680px; flex-wrap: wrap; }
.filter-box .field { margin: 0; }
.filter-box label { margin-bottom: 6px; }
.filter-box input { background: #fff; }

.info-box { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 22px; font-size: .86rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 24px; }
.info-box b { color: var(--ink); }

/* ---------- CTA pruh ---------- */
.cta-strip { background: var(--navy); color: #fff; margin-top: 46px; }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
.cta-strip h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.cta-strip p { margin: 6px 0 0; font-size: .84rem; opacity: .75; }
.cta-strip p a { color: var(--yellow); font-weight: 700; }
.cta-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-phone { font-weight: 800; font-size: 1.25rem; color: var(--yellow); text-decoration: none; }
.cta-strip .btn { background: #fff; color: var(--navy); }

/* ---------- detail vozu ---------- */
.back-link { display: inline-block; font-size: .84rem; font-weight: 600; color: var(--ink-mute); text-decoration: none; margin-bottom: 14px; }
.back-link:hover { color: var(--navy); }
.detail-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.detail-photo { position: relative; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; display: flex; justify-content: center; align-items: center; height: 360px; }
.detail-photo img { max-height: 330px; max-width: 98%; object-fit: contain; mix-blend-mode: multiply; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery a { height: 96px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 6px; }
.gallery img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-desc { font-size: .95rem; line-height: 1.65; color: var(--ink-soft); }

.params-table { width: 100%; border-collapse: collapse; font-size: .9rem; border-top: 1px solid var(--line-soft); }
.params-table td { padding: 11px 2px; border-bottom: 1px solid var(--line-soft); }
.params-table td:first-child { color: var(--ink-soft); width: 55%; }
.params-table td:last-child { font-weight: 600; text-align: right; }

.price-box { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.price-box .price-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.price-box .price-line:last-of-type { border-bottom: none; }
.price-box .price-line span:first-child { color: var(--ink-soft); }
.price-box .price-line span:last-child { font-weight: 700; }
.price-box .price-note { font-size: .82rem; color: var(--ink-soft); line-height: 1.65; margin: 10px 0 0; }
.price-box h3 { margin: 0 0 10px; font-size: 1rem; }

.included { padding-left: 0; list-style: none; font-size: .9rem; color: #3d4763; }
.included li { padding: 3px 0; }
.included li::before { content: "✓ "; color: #2fae5f; font-weight: 700; }

/* ---------- dostupnostní kalendář (veřejný) ---------- */
.avail-calendar { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-header button { background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 32px; height: 32px; font-size: .95rem; color: #3d4763; cursor: pointer; }
.cal-header button:hover:not(:disabled) { border-color: var(--navy); }
.cal-header button:disabled { opacity: .4; cursor: default; }
.cal-month { font-weight: 700; font-size: .95rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-dow { font-size: .72rem; color: var(--ink-mute); text-align: center; padding: 4px 0 6px; font-weight: 600; }
.cal-day { height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; background: var(--ok-bg); color: var(--ok); }
.cal-day.busy { background: var(--busy-bg); color: var(--busy); }
/* částečně obsazený den — diagonála: obsazená půlka dne vs. volná */
.cal-day.partial-am { background: linear-gradient(135deg, var(--busy-bg) 0 50%, var(--ok-bg) 50% 100%); color: #6b5620; }
.cal-day.partial-pm { background: linear-gradient(135deg, var(--ok-bg) 0 50%, var(--busy-bg) 50% 100%); color: #6b5620; }
.cal-day.partial { background: var(--warn-bg); color: var(--warn); }
.cal-day.past, .cal-day.out { background: transparent; color: #c3c7d4; }
.cal-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .76rem; color: var(--ink-soft); }
.cal-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.cal-legend .free::before { background: var(--ok-bg); border: 1px solid var(--ok-line); }
.cal-legend .partial-swatch::before { background: linear-gradient(135deg, var(--busy-bg) 0 50%, var(--ok-bg) 50% 100%); border: 1px solid var(--warn); }
.cal-legend .occupied::before { background: var(--busy-bg); border: 1px solid var(--busy-line); }

/* rezervační formulář — karta */
.reservation-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; }

/* platba zálohy po odeslání rezervace */
.payment-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 14px; }
.payment-box h3 { margin: 0 0 12px; font-size: 1rem; }
.pay-grid { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; min-width: 250px; }
.pay-row span { color: var(--ink-soft); }
.pay-qr { flex: none; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- rozpad ceny ---------- */
.quote-box { background: var(--bg-soft); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.quote-box table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.quote-box td { padding: 5px 0; }
.quote-box td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.quote-total td { font-weight: 700; border-top: 1px solid var(--line); padding-top: 9px; }
.quote-note { font-size: .78rem; color: var(--ink-mute); line-height: 1.55; }

/* ---------- lightbox fotogalerie ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28, 36, 64, .92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { width: min(90vw, 640px); max-height: 88vh; object-fit: contain; border-radius: var(--radius-sm); background: #fff; }
.lightbox button {
  position: absolute; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox .lb-prev { left: 6px; } .lightbox .lb-next { right: 6px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq h2 { margin: 0 0 10px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 15px 34px 15px 0; font-weight: 600; font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 10px;
  font-size: 1.4rem; font-weight: 400; color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; font-size: .92rem; color: var(--ink-soft); line-height: 1.65; max-width: 65ch; }

/* SEO text v patě homepage */
.seo-text { margin: 34px 0 0; font-size: .8rem; color: var(--ink-mute); line-height: 1.7; }
.seo-text strong { color: var(--ink-soft); }

/* ---------- recenze ---------- */
.reviews-summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 20px 24px; margin: 22px 0 26px;
}
.reviews-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reviews-number { font-family: inherit; font-weight: 800; font-size: 2.2rem; letter-spacing: -.02em; }
.reviews-score .stars { color: #FBBC04; font-size: 1.3rem; letter-spacing: 2px; }
.reviews-count { color: var(--ink-soft); font-size: .9rem; }
.reviews-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.reviews-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.review-card .stars { color: #FBBC04; letter-spacing: 1px; }
.review-when { font-size: .78rem; color: var(--ink-mute); }
.review-text { margin: 0; font-size: .92rem; line-height: 1.6; color: #3d4763; flex: 1; }
.review-author { margin: 0; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.contact-card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.contact-card p { margin: 0 0 9px; font-size: .92rem; color: #3d4763; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .phone-big { font-weight: 700; color: var(--navy); }
.contact-note { background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; font-size: .86rem; color: var(--ink-soft); line-height: 1.65; }
.contact-note b { color: var(--ink); }
.map-frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 400px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: .84rem; }
.map-actions .addr { font-weight: 600; color: #3d4763; }

/* ---------- patička ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line-soft); margin-top: 64px; padding: 36px 0 28px; font-size: .84rem; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand span { font-weight: 800; color: var(--ink); font-size: .95rem; }
.footer-heading { font-weight: 700; color: var(--ink); margin: 0 0 10px; font-size: .86rem; }
.site-footer p { margin: 0 0 7px; line-height: 1.7; }
.site-footer a { color: var(--ink-soft); }
.site-footer a.strong, .site-footer .strong { color: var(--navy); font-weight: 700; text-decoration: none; }
.footer-nav-link { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; font-size: .76rem; color: var(--ink-mute); }

/* ---------- ikony a ilustrace (fallback bez fotky) ---------- */
.icon { width: 22px; height: 22px; flex: none; }
.van-art { width: 100%; height: auto; display: block; }
.vehicle-photo .van-art { width: min(82%, 320px); height: auto; }

/* ---------- admin ---------- */
.admin-header { background: var(--navy); color: #fff; }
.admin-header-inner { max-width: 1280px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand-admin { color: #fff; font-size: 1rem; font-weight: 800; text-decoration: none; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.admin-nav a { color: #cdd3dc; text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: .88rem; font-weight: 600; }
.admin-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.logout-form { margin: 0; }
.logout-form .btn-ghost { color: #cdd3dc; border-color: rgba(255,255,255,.25); }
.admin-main { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; }
.admin-main h1 { font-size: 1.5rem; }

.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; }
.data-table th, .data-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.data-table tr:hover td { background: var(--bg-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.status-chip { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.st-awaiting_deposit { background: var(--warn-bg); color: var(--warn); }
.st-new { background: var(--warn-bg); color: var(--warn); }
.st-confirmed { background: #e3e9fc; color: var(--navy); }
.st-picked_up { background: #ede9fe; color: #6d28d9; }
.st-returned { background: var(--ok-bg); color: var(--ok); }
.st-closed { background: var(--bg-soft); color: var(--ink-soft); }
.st-cancelled, .st-expired { background: var(--busy-bg); color: var(--busy); }

.cards-row { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 18px 0; }
@media (min-width: 860px) { .cards-row { grid-template-columns: 1fr 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.panel-body { padding: 12px 16px; }
.panel-body:empty::after, .empty { color: var(--ink-soft); font-size: .88rem; }

/* ---------- admin timeline kalendář ---------- */
.timeline-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.timeline { border-collapse: collapse; min-width: 900px; width: 100%; font-size: .78rem; }
.timeline th, .timeline td { border: 1px solid var(--line); padding: 0; }
.timeline thead th { padding: 6px 4px; font-weight: 600; text-align: center; background: var(--bg-soft); min-width: 42px; }
.timeline thead th.today { background: #e3e9fc; color: var(--navy); }
.timeline .vehicle-cell { padding: 8px 10px; font-weight: 600; white-space: nowrap; background: #fff; position: sticky; left: 0; z-index: 2; border-right: 2px solid var(--line); }
.tl-cell { height: 44px; min-width: 42px; }
.tl-cell.weekend { background: var(--bg-soft); }
.tl-item { display: block; height: 20px; border-radius: 4px; font-size: .68rem; line-height: 20px; padding: 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; margin: 1px; }
.tl-reservation.st-awaiting_deposit { background: var(--warn-bg); color: var(--warn); }
.tl-reservation.st-confirmed { background: #c8d3f7; color: var(--navy); }
.tl-reservation.st-picked_up { background: #ddd3fb; color: #5b21b6; }
.tl-block { background: #d9dde3; color: var(--ink-soft); }

/* ---------- dokumenty (tisk) ---------- */
.document { max-width: 800px; margin: 24px auto; padding: 40px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.document h1 { font-size: 1.4rem; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.doc-grid h3 { margin-top: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.doc-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.doc-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.doc-total { font-size: 1.05rem; font-weight: 700; }
.signature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; }
.signature-row div { border-top: 1px solid var(--ink); padding-top: 6px; text-align: center; font-size: .86rem; }
.doc-toolbar { max-width: 800px; margin: 16px auto 0; display: flex; gap: 10px; }

@media print {
  .doc-toolbar, .admin-header { display: none !important; }
  .document { border: none; margin: 0; padding: 0; max-width: none; }
  body { background: #fff; }
}

/* ---------- mobilní zobrazení ---------- */
@media (max-width: 700px) {
  /* Modrý pruh na mobilu vůbec nezobrazujeme — rychleji k obsahu. */
  .topbar { display: none; }

  /* Kompaktní sticky hlavička: menší logo a odsazení, bez telefonu (Rezervovat vedle Kontaktu). */
  .main-nav .nav-phone { display: none; }
  .main-nav { flex-wrap: nowrap; gap: 10px; width: 100%; justify-content: space-between; align-items: center; }
  .main-nav .btn { padding: 7px 12px; font-size: .8rem; white-space: nowrap; }
  .main-nav a { font-size: .84rem; white-space: nowrap; }
  .header-inner { padding: 8px 0; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: .92rem; }
  .brand-sub { display: none; }

  /* Hero: rovnou k věci — nadpis a tlačítka první, štítky (17 let, Google) až dole. */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-badges { order: 9; margin-top: 20px; }
  .hero-copy h1 { margin-top: 0; }
  .hero-grid { padding-top: 30px; gap: 18px; }

  /* Drobné odsazení obsahu od okrajů displeje. */
  .container { padding: 0 18px; }
  body { overflow-x: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
