/* B-sport – styly homepage (handoff z designu „B-Sport Web v3“, 11/2026) */
:root {
  --navy: #0d2f66;        /* hlavička, patička, tmavé karty */
  --navy-2: #10418c;
  --blue: #1f7fe0;        /* akcent, tlačítka, ikony */
  --blue-dark: #1565c0;   /* hover, ceny, odkazy */
  --sky: #e8f1fb;         /* světlé podbarvení, chipy, badge */
  --bg: #f3f6fa;          /* pozadí stránky */
  --ink: #11213a;         /* text */
  --muted: #4f5f78;       /* sekundární text */
  --line: #d9e2ee;        /* rámečky karet */
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); margin: 0; letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-size: clamp(24px, 2.6vw, 30px); }
h2 span { font-weight: 500; font-size: 0.75em; color: var(--navy-2); }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
.lead { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.txt { font-size: 14.5px; line-height: 1.55; margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 3.5vw, 40px); }
.sec { padding-block: 44px; }
.sec-alt { background: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; gap: 22px; }
.split-8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.split-7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; border: 0; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 18px -14px rgba(13, 47, 102, 0.45); }
.card-pad { padding: 20px; }
.ico { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 40px; height: 40px; }
.price { color: var(--blue-dark); font-weight: 700; font-size: 16px; }
.price small { color: var(--muted); font-weight: 400; font-size: 13px; }
.stars { color: #f4b400; letter-spacing: 2px; font-size: 13px; }
.chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.list { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
.list li { padding-left: 18px; position: relative; margin-top: 5px; }
.list li::before { content: "◆"; position: absolute; left: 0; top: 1px; font-size: 10px; color: var(--blue); }
.badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--sky); color: var(--blue-dark); }

/* hlavička */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.header-inner { height: 64px; display: flex; align-items: center; gap: 28px; }
/* Logo + tagline: tagline přesně na šířku loga (width:0 + min-width:100% = nerozšiřuje blok, justify = roztáhne slova na šířku loga) */
.logo { display: inline-flex; flex-direction: column; align-items: stretch; gap: 3px; flex-shrink: 0; width: max-content; }
.logo img { height: 30px; width: auto; display: block; }
.logo small { width: 0; min-width: 100%; font-size: 7.6px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: uppercase; color: #a9c6ec; white-space: nowrap; text-align: justify; text-align-last: justify; }
.main-nav { display: flex; gap: 24px; margin-inline: auto; font-size: 15px; font-weight: 600; }
.main-nav a { color: #fff; }
.main-nav a:hover { color: #a9c6ec; }
.header-actions { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.header-actions .phone { color: #fff; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* aktuality */
.notice { background: #fff3cd; color: #6b4e00; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 16px; border-bottom: 1px solid #f1dc8a; }
.notice:empty { display: none; }

/* hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--navy); color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 28%, rgba(13,47,102,.82) 44%, rgba(16,65,140,.25) 62%, transparent 78%); }
.hero-inner { position: relative; z-index: 2; width: 100%; align-self: stretch; display: grid; grid-template-rows: minmax(64px, 1fr) auto minmax(56px, 1fr); }
/* stav otevírací doby uprostřed mezi lištou nahoře a nadpisem; text zůstává svisle uprostřed hero */
.hero-status { align-self: center; }
.hero-text { max-width: 540px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 46px); line-height: 1.12; }
.hero p { font-size: 17px; margin: 18px 0 0; max-width: 44ch; color: #e3edfa; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn { height: 50px; padding: 0 24px; font-size: 16px; box-shadow: 0 0 0 2px #fff; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d7e5f8; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2bb673; }
.status.closed::before { background: #e0583a; }
.hero-claim { position: absolute; right: clamp(16px, 6vw, 90px); bottom: 70px; transform: rotate(-12deg); font-style: italic; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); text-shadow: 0 2px 12px rgba(13,47,102,.7); text-align: center; line-height: 1.15; }
.snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.snow span { position: absolute; top: 0; border-radius: 50%; background: #fff; animation: fall linear infinite; }
@keyframes fall { from { transform: translateY(-10vh); } to { transform: translateY(110vh); } }

/* 4 dlaždice služeb */
.svc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc .body { position: relative; padding: 70px 20px 20px; background: linear-gradient(to top, var(--navy) 0 52%, rgba(13,47,102,.85) 70%, transparent); }
.svc .ico { width: 56px; height: 56px; background: var(--navy); box-shadow: 0 0 0 2px #fff; margin-bottom: 14px; }
.svc .ico svg { width: 28px; height: 28px; }
.svc h3 { color: #fff; font-size: 21px; }
.svc p { margin: 8px 28px 0 0; font-size: 14px; color: #dbe7f7; }
.svc .arrow { position: absolute; right: 18px; bottom: 20px; font-size: 20px; }

/* proč b-sport */
.why { overflow: hidden; }
.why .text { padding-block: 40px; }
.why h4 { margin-top: 12px; }
.why p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.why .photo { position: relative; min-height: 260px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.why .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* půjčovna */
/* karty setů (design V2): fotka 92×92 nahoře na střed, cena přichycená dolů – ceny všech karet na jedné lince */
.set { padding: 18px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.set img { width: 92px; height: 92px; align-self: center; border-radius: 10px; object-fit: cover; display: block; }
.set > div { display: flex; flex-direction: column; flex: 1 1 auto; }
.set h4 { font-weight: 600; }
.set h4 strong { font-weight: 800; letter-spacing: 0.02em; }
.set p { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.set .price { margin-top: auto; }
.set-cta { background: var(--navy); border-color: var(--navy); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.set-cta h4 { color: #fff; font-size: 16px; line-height: 1.35; }
.set-cta p { margin: 0; font-size: 13px; color: #cfe0f7; line-height: 1.45; }
.set-cta .arrow { position: absolute; right: 18px; bottom: 16px; font-size: 20px; }

/* servis */
.price-card { padding: 16px; }
.price-card h4 { font-size: 15px; }
.price-card .price { display: block; margin: 4px 0 10px; font-size: 15px; }
.price-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.servis-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.servis-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.servis-photos .cap { position: relative; border-radius: 12px; overflow: hidden; }
.servis-photos .cap span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: rgba(13,47,102,.9); color: #fff; font-size: 12px; font-weight: 600; }
.feat h4 { font-size: 15px; }
.feat p { font-size: 14.5px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.pl details { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-top: 10px; }
.pl summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--navy); }
.pl summary::-webkit-details-marker { display: none; }
.pl summary::after { content: "+"; color: var(--blue); font-size: 18px; }
.pl details[open] summary::after { content: "–"; }
.pl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pl td { padding: 7px 16px; border-top: 1px solid var(--line); }
.pl td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.pl td small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
/* kalkulačka půjčovného – samostatná sekce #kalkulacka (design V3), data z pushe Rentalu */
.sec-links { display: flex; gap: 18px; flex-wrap: wrap; }
.sec-links a { font-size: 14px; font-weight: 600; text-decoration: underline; }
.calc-sec { background: var(--sky); }
.calc-ui[hidden] { display: none; }
.calc-tariff { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 22px; margin-top: 16px; align-items: start; }
.calc-list { padding: 4px 20px 12px; }
.calc-sum { position: sticky; top: 84px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.calc-sum-l { font-size: 12px; color: #a9c6ec; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.calc-total { font-size: 32px; font-weight: 700; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc-sum-s { font-size: 13px; color: #cfe0f7; }
.calc-sum-btns { display: flex; flex-direction: column; gap: 10px; }
.calc-sum-btns .btn { justify-content: center; }
.calc-reset { height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.calc-reset:hover { background: rgba(255,255,255,.08); }
.calc-note { margin: 0; font-size: 12px; color: #a9c6ec; line-height: 1.45; }
.seg button:focus-visible, .stepper button:focus-visible, .calc-reset:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; cursor: pointer; height: 30px; min-width: 34px; padding: 0 11px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; background: transparent; color: var(--navy); }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; }
.calc-group { padding: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-dark); }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 118px 84px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.calc-row.on { color: var(--navy); }
.calc-row .nm { font-weight: 500; }
.calc-row .unit { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-row .tot { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 999px; height: 34px; padding: 0 4px; background: #fff; }
.stepper button { border: 0; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer; }
.stepper .dec { background: var(--sky); color: var(--navy); }
.stepper .inc { background: var(--blue); color: #fff; }
.stepper .q { min-width: 24px; text-align: center; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .calc-grid { grid-template-columns: 1fr; }
  /* na mobilu panel se součtem drží u spodního okraje, dokud je seznam na obrazovce */
  .calc-sum { top: auto; bottom: 8px; padding: 14px 16px; gap: 10px; box-shadow: 0 10px 30px -10px rgba(13,47,102,.55); }
  .calc-total { font-size: 26px; }
  .calc-sum-btns { flex-direction: row; flex-wrap: wrap; }
  .calc-sum-btns .btn { flex: 1 1 auto; height: 42px; font-size: 14px; }
  .calc-note { display: none; }
}
@media (max-width: 560px) {
  .calc-list { padding: 4px 14px 10px; }
  .calc-row { grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "nm st" "unit tot"; }
  .calc-row .nm { grid-area: nm; } .calc-row .stepper { grid-area: st; } .calc-row .unit { grid-area: unit; text-align: left; } .calc-row .tot { grid-area: tot; }
}
.rent-block { padding: 22px 22px 18px; }
.rent-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
/* ceník půjčovného bez JS (<noscript> v sekci kalkulačky) – stejná kostra jako ceník servisu (.pl) */
.pl .scroll { overflow-x: auto; }
.pl table.rent { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13.5px; }
.pl table.rent th { padding: 8px 10px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: right; white-space: nowrap; border-top: 1px solid var(--line); background: var(--bg); }
.pl table.rent th:first-child { text-align: left; padding-left: 16px; }
.pl table.rent td { padding: 8px 10px; text-align: right; white-space: nowrap; font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); }
.pl table.rent td:first-child { text-align: left; padding-left: 16px; font-weight: 500; white-space: normal; min-width: 180px; }
.pl table.rent td.hi { font-weight: 600; color: var(--blue-dark); background: var(--sky); }
.pl table.rent td.mut { color: var(--muted); }

/* kde nás najdete */
.contact-grid { display: grid; grid-template-columns: 3fr 4fr 3fr 3fr; gap: 18px; margin-top: 22px; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 14px; font-size: 14px; padding-top: 4px; }
.contact-list > div { display: flex; gap: 10px; }
.contact-list .i { color: var(--blue); flex-shrink: 0; }
.contact-list .p { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; flex-shrink: 0; }
.photo-card { overflow: hidden; min-height: 200px; position: relative; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hours h4 { font-size: 15px; }
.hours .status { color: #1d8a53; font-weight: 600; margin: 8px 0 10px; }
.hours .status.closed { color: #b8412a; }
.hours table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.hours td { padding: 4px 0; }
.hours td:first-child { color: var(--muted); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; }
.hours .note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.map-card { display: flex; align-items: flex-end; padding: 14px; background: #e6eef7; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card .btn { position: relative; width: 100%; justify-content: center; }

/* hodnocení + faq */
.rating { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.rating b { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.rating span { display: flex; flex-direction: column; line-height: 1.25; }
.rating small { font-size: 12px; color: var(--muted); }
.review { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.review .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.review p { font-size: 13.5px; margin: 0; flex: 1; }
.review footer { font-size: 12.5px; color: var(--muted); }
.faq { background: var(--navy); border-radius: var(--radius); padding: 18px 20px; color: #fff; }
.faq h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq details:last-child { border: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 8px; padding: 10px 0; font-size: 14px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "›"; color: #8fc1ff; font-weight: 700; }
.faq p { margin: 0 0 12px; font-size: 14px; color: #cfe0f7; }

/* patička */
.site-footer { background: var(--navy); color: #a9c6ec; font-size: 13px; }
.footer-inner { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.site-footer .logo img { height: 24px; }
.site-footer .logo small { font-size: 6.1px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; }
.site-footer nav a { color: #fff; }
.site-footer .social { display: flex; gap: 14px; align-items: center; }
.site-footer .social a { color: #fff; font-weight: 700; }

@media (max-width: 960px) {
  .grid-4, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .split { grid-template-columns: 1fr; }
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px clamp(16px, 3.5vw, 40px) 20px; margin: 0; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); }
  .why .photo { clip-path: none; }
  .hero-claim { display: none; }
  .hero::before { background: linear-gradient(to bottom, rgba(13,47,102,.92) 0%, rgba(13,47,102,.78) 60%, rgba(13,47,102,.35) 100%); }
  .hero { min-height: 0; }
}
@media (max-width: 560px) { .grid-4, .grid-2, .contact-grid { grid-template-columns: 1fr; } }
