/* ==========================================================
   Obytňák – pronájem obytného vozu
   Styl inspirovaný amazingcampers.cz: čisté fonty, zaoblené rohy,
   velké fotky, hodně místa mezi sekcemi, tmavá patička.
   ========================================================== */

:root {
  --green: #2f9e44;
  --green-dark: #237a34;
  --ink: #14251b;
  --ink-soft: #4a5a51;
  --bg: #ffffff;
  --bg-alt: #f4f6f1;
  --line: #e3e8e0;
  --footer: #10201a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(16, 32, 26, .10);
  --shadow-sm: 0 2px 10px rgba(16, 32, 26, .08);
  --wrap: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green-dark); }
.btn.ghost:hover { background: var(--green); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
.btn.outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.btn.block { width: 100%; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.logo svg { width: 34px; height: 34px; color: var(--green); flex: none; }
.logo img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.footer-logo img { width: 110px; height: 110px; background: #fff; }
.logo small { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-alt); }
.nav a.active { color: var(--green-dark); font-weight: 600; }
.nav a.cta { background: var(--green); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--green-dark); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.lang-switch a { padding: 5px 8px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .78rem; letter-spacing: .02em; transition: background .2s, color .2s; }
.lang-switch a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-switch a.active { color: var(--green-dark); background: var(--bg-alt); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; margin: 0 auto; transition: transform .25s, background .25s; content: ""; }
.burger span::before { position: absolute; top: -7px; left: 0; }
.burger span::after { position: absolute; top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 420px) {
  .logo span { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); visibility: hidden;
    transition: transform .3s, visibility .3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.cta { margin: 14px 0 0; text-align: center; border-radius: 999px; border: 0; }
  .lang-switch { margin: 14px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); justify-content: center; width: 100%; }
  .lang-switch a { padding: 8px 10px; font-size: .85rem; border-bottom: 0 !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; display: flex; align-items: center;
  min-height: min(82vh, 720px); background: #1b2a22 center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 24, 17, .78) 0%, rgba(10, 24, 17, .35) 70%, rgba(10, 24, 17, .15) 100%); }
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { max-width: 780px; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-badges span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 999px; font-size: .88rem; }
.hero.small { min-height: 320px; }
.hero.small::before { background: linear-gradient(180deg, rgba(10, 24, 17, .55), rgba(10, 24, 17, .65)); }
.hero.small .wrap { text-align: center; }
.hero.small h1 { margin-left: auto; margin-right: auto; font-size: clamp(2rem, 4.6vw, 3rem); }
.hero.small p.lead { margin-left: auto; margin-right: auto; }

/* ---------- Mřížky ---------- */
.grid { display: grid; gap: 28px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } .grid { gap: 20px; } }

/* Tři ikony */
.pillar { text-align: center; padding: 8px 12px; }
.pillar .ico { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #e6f4ea; color: var(--green-dark); display: grid; place-items: center; }
.pillar .ico svg { width: 40px; height: 40px; }
.pillar p { color: var(--ink-soft); }

/* Osm výhod */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 16px; text-align: center; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit svg { width: 42px; height: 42px; color: var(--green); margin: 0 auto 12px; }
.benefit strong { display: block; font-size: .98rem; line-height: 1.3; }
.benefit span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .benefits { gap: 12px; } .benefit { padding: 20px 10px; } }

/* Karta vozu */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--line); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .body p { color: var(--ink-soft); margin-bottom: 8px; }
.card .price { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); }
.card .body .btn { margin-top: auto; }

.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.featured .pic { min-height: 340px; background: center / cover no-repeat; }
.featured .info { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.chips span { background: var(--bg-alt); border-radius: 999px; padding: 5px 14px; font-size: .88rem; font-weight: 500; }
@media (max-width: 800px) { .featured { grid-template-columns: 1fr; } .featured .pic { min-height: 240px; } }

/* Kroky rezervace */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step .ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; background: var(--green); color: #fff; display: grid; place-items: center; position: relative; }
.step .ico svg { width: 32px; height: 32px; }
.step .ico::after { counter-increment: s; content: counter(s); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1rem; }
.step p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Texturovaná sekce */
.texture { background: linear-gradient(rgba(16, 32, 26, .86), rgba(16, 32, 26, .86)), url("../src/Grossglockner-Hochalpenstrasse-35c513e7-828b-4444-861d-616a0269dcc5.webp") center / cover fixed; color: #fff; text-align: center; }
.texture .section-head p { color: rgba(255, 255, 255, .85); }
.texture .eyebrow { color: #7bd88f; }
@media (hover: none) { .texture { background-attachment: scroll; } }

/* Blog karty */
.post { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-size: .82rem; color: var(--ink-soft); margin-bottom: 6px; }
.post h3 { margin-bottom: .4em; }
.post details summary { cursor: pointer; font-weight: 600; color: var(--green-dark); list-style: none; margin-top: auto; padding-top: 6px; }
.post details summary::-webkit-details-marker { display: none; }
.post details summary::after { content: " →"; }
.post details[open] summary::after { content: " ↑"; }
.post details .full { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.post details .full p, .post details .full li { color: var(--ink); }

.post h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover { color: var(--green-dark); }
.post > a img { transition: transform .5s; }
.post > a { overflow: hidden; display: block; }
.post:hover > a img { transform: scale(1.04); }
.post .more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; color: var(--green-dark); }
.post .more:hover { text-decoration: underline; }
.post[hidden] { display: none; }

/* Článek */
.article-page { padding-top: clamp(32px, 5vw, 56px); }
.article-wrap { max-width: 800px; }
.article-wrap .back { display: block; width: fit-content; margin-bottom: 20px; font-weight: 600; text-decoration: none; }
.article-wrap .back:hover { text-decoration: underline; }
.article-wrap h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.lead-text { font-size: 1.15rem; color: var(--ink-soft); }
.article-wrap .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 24px 0 32px; box-shadow: var(--shadow); }
.article { font-size: 1.05rem; }
.article h2 { font-size: 1.45rem; margin: 1.8em 0 .5em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .55em; }
.article .tip { background: #e6f4ea; border-left: 4px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 1.6em 0; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin: 40px 0 28px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.pager a:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.pager a.r { text-align: right; }
.pager small { display: block; color: var(--green-dark); font-weight: 600; margin-bottom: 2px; }
.pager span { font-weight: 500; font-size: .95rem; line-height: 1.3; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager a.r { text-align: left; } }

/* CTA pruh */
.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band p { max-width: 620px; margin: 0 auto 24px; opacity: .95; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 8px 20px; border-radius: 999px; font: inherit; font-weight: 500; cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--green); }
.filters button.on { background: var(--green); border-color: var(--green); color: #fff; }
.gallery { columns: 3; column-gap: 16px; }
.gallery a { display: block; margin: 0 0 16px; border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; position: relative; box-shadow: var(--shadow-sm); }
.gallery a img { width: 100%; height: auto; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transition: opacity .25s; }
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; }
@media (hover: none) { .gallery a span { opacity: 1; } }
@media (max-width: 800px) { .gallery { columns: 2; } }
@media (max-width: 480px) { .gallery { columns: 1; } }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; display: block; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.strip a:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(6, 14, 10, .93); display: none; align-items: center; justify-content: center; padding: 56px 12px 64px; touch-action: pan-y; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 8px; object-fit: contain; }
.lb .cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: .95rem; padding: 0 60px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: background .2s; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb .x { top: 12px; right: 12px; }
.lb .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb .prev, .lb .next { top: auto; bottom: 10px; transform: none; } .lb .cap { bottom: 66px; padding: 0 12px; } }

/* ---------- Vůz ---------- */
.specs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.spec { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 18px 10px; text-align: center; }
.spec strong { display: block; font-size: 1.3rem; color: var(--green-dark); line-height: 1.2; }
.spec span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 900px) { .specs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .specs { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split.rev > :first-child { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.equip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.equip h3 { display: flex; align-items: center; gap: 10px; }
.equip h3 svg { width: 26px; height: 26px; color: var(--green); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 5px 0 5px 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: #e6f4ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%23237a34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); text-align: center; }
.plan img { margin: 0 auto; max-height: 460px; width: auto; }

/* ---------- Ceník ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-alt); }
td.num, th.num { text-align: right; white-space: nowrap; font-weight: 600; }
.season-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.note { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }
.info-box { background: #e6f4ea; border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- Formuláře / rezervace ---------- */
.res-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .res-layout { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.cal-frame { width: 100%; height: 520px; border: 0; border-radius: var(--radius-sm); background: var(--bg-alt); }
.cal-empty { height: 320px; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--bg-alt); border: 2px dashed var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 158, 68, .18); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin: 0; }
.check input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.check small { margin-left: auto; color: var(--ink-soft); white-space: nowrap; }
.err { color: #b3261e; font-size: .88rem; min-height: 1.2em; margin: 0; }
.field-err { min-height: 0; margin-top: 4px; }
input[aria-invalid="true"] { border-color: #b3261e; }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
fieldset.extras { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
fieldset.extras legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 8px; }
.biz-block #bizFields { margin-top: 10px; display: grid; gap: 14px; }

.summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; }
.summary h3 { margin-bottom: 12px; }
.summary ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: .92rem; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.summary .total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 700; color: #7bd88f; }
.summary small { display: block; margin-top: 8px; opacity: .7; }

/* ---------- Kontakt ---------- */
.contact-card { text-align: center; padding: 30px 20px; }
.contact-card .ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e6f4ea; color: var(--green-dark); display: grid; place-items: center; }
.contact-card .ico svg { width: 30px; height: 30px; }
.contact-card a { font-weight: 600; text-decoration: none; word-break: break-word; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Patička ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .8); padding: 64px 0 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #7bd88f; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { padding: 4px 0; }
.foot-grid .logo { color: #fff; margin-bottom: 14px; }
.foot-grid .logo svg { color: #7bd88f; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--green); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.copy { margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Pohyb – jemné zobrazení při scrollu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---- Blog bez JavaScriptu: článek se zobrazí, když je v adrese #jeho-id ---- */
.article-page { display: none; scroll-margin-top: var(--header-h); }
.article-page:target { display: block; }
body:has(.article-page:target) #blogHero,
body:has(.article-page:target) #blogList { display: none; }

/* ---- Tabulka sazeb pro kalkulačku v rezervaci ---- */
details.price-data { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
details.price-data summary { cursor: pointer; font-weight: 600; color: var(--green-dark); }
details.price-data .table-wrap { margin-top: 12px; box-shadow: none; }
details.price-data table { min-width: 420px; font-size: .85rem; }
details.price-data th, details.price-data td { padding: 8px 10px; }

/* ---- Rezervace: přehled obsazenosti (jen čtení, VOLNO / OBSAZENO) ---- */
.avail { user-select: none; }
.av-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.av-title { text-transform: capitalize; font-size: 1.05rem; }
.av-nav { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.av-nav:hover:not(:disabled) { border-color: var(--green); color: var(--green-dark); }
.av-nav:disabled { opacity: .35; cursor: default; }
.av-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.av-dow { text-align: center; font-size: .78rem; font-weight: 600; color: var(--ink-soft); padding: 4px 0; }
.av-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: .9rem; }
button.av-day { border: 0; padding: 0; font: inherit; font-size: .9rem; cursor: pointer; }
.av-free { background: #f3f4f1; color: var(--ink); }
button.av-free:hover { background: #dff1e3; }
button.av-free:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 1px; }
.av-busy { background: #4285f4; color: #fff; font-weight: 600; }
.av-past { color: #b9bdb5; }
.av-sel, button.av-free.av-sel:hover { background: var(--green); color: #fff; font-weight: 600; }
.av-empty { visibility: hidden; }
.av-note { min-height: 1.3em; margin: 10px 0 0; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 480px) { .av-grid { gap: 3px; } .av-day { font-size: .82rem; border-radius: 6px; } }
/* ---- Obchodní podmínky: právní text a FAQ ---- */
.legal h2 { font-size: 1.35rem; margin-top: 0; }
.legal h3 { font-size: 1.05rem; color: var(--green-dark); }
.legal p { color: var(--ink-soft); }
.legal .panel + .panel { margin-top: 22px; }
.legal ul.ticks li { color: var(--ink-soft); }
.legal .intro { background: var(--bg-alt); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-bottom: 32px; }
.legal .intro p { color: var(--ink); margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--green-dark); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin: 10px 0 0; }
