/* H+M Pension – sdílené styly */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --ink: #2a2622;
  --muted: #6b635a;
  --line: #e7dfd3;
  --accent: #a4532b;      /* terakota – podle fasády a střechy */
  --accent-ink: #ffffff;
  --accent-soft: #f4e6dc;
  --green: #4f6b3a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 30, 20, .06), 0 6px 24px rgba(40, 30, 20, .07);
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .96rem; }
.nav a:hover { background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.lang { display: flex; gap: 2px; font-size: .82rem; margin-left: 8px; }
.lang a { padding: 4px 6px; color: var(--muted); text-decoration: none; border-radius: 6px; }
.lang a.active { color: var(--ink); font-weight: 700; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #8d4422; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.nav .btn { padding: 9px 18px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: #8d4422; }
.nav .btn[aria-current="page"] { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 680px);
  display: flex; align-items: flex-end;
  color: #fff; padding: 0;
  background: #3a2f27 url("img/vch-hond-V.jpg") center 60% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,.05) 30%, rgba(20,14,10,.72) 100%); }
.hero .wrap { position: relative; padding-bottom: 64px; padding-top: 120px; width: 100%; }
.hero h1 { max-width: 14em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero p { font-size: 1.2rem; max-width: 34em; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--ink); }

.page-hero { padding: 56px 0 24px; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- výhody ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 2; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; font-family: var(--sans); font-weight: 700; margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

.promo {
  background: var(--green); color: #fff; border-radius: var(--radius);
  padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.promo strong { font-size: 1.1rem; }
.promo code { background: rgba(255,255,255,.18); padding: 2px 10px; border-radius: 6px; font-weight: 700; letter-spacing: .05em; font-family: inherit; }

/* ---------- dvousloupec ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split.rev > :first-child { order: 2; }

/* ---------- karty pokojů ---------- */
.room-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .meta { color: var(--muted); font-size: .92rem; margin-bottom: .8em; }
.card .price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card .price b { font-size: 1.25rem; }
.card .price a { font-weight: 600; text-decoration: none; }

/* ---------- detail pokoje ---------- */
.room { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.room:first-of-type { border-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gallery button:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .3s ease; }
.gallery button:first-child img { aspect-ratio: 16/10; }
.gallery button:hover img { transform: scale(1.03); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.tags li { background: var(--accent-soft); color: #6d3518; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.room-nums { color: var(--muted); font-size: .95rem; }

/* ---------- lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(15, 10, 8, .88); }
dialog.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 8px; margin: 0 auto; }
dialog.lightbox .lb-bar { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
dialog.lightbox button { background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }
dialog.lightbox button:hover { background: rgba(255,255,255,.28); }

/* ---------- okolí ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.place { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.place b { display: block; font-size: 1.05rem; }
.place span { color: var(--muted); font-size: .93rem; }
.place .dist { float: right; color: var(--accent); font-weight: 700; font-size: .93rem; }

/* ---------- galerie prostor ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; margin-top: 28px; }
.mosaic button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: none; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic .big { grid-column: span 2; grid-row: span 2; }

/* ---------- ceník ---------- */
table.prices { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.prices th, table.prices td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
table.prices th { background: var(--accent-soft); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; color: #6d3518; }
table.prices td:last-child, table.prices th:last-child { text-align: right; white-space: nowrap; }
table.prices tr:last-child td { border-bottom: 0; }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; margin-top: 24px; padding: 0; list-style: none; }
.rules li { padding-left: 30px; position: relative; }
.rules li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* zástupné texty, které je potřeba doplnit */
.todo { background: #fff3b0; color: #6b5300; padding: 0 5px; border-radius: 4px; font-weight: 600; }

/* ---------- rezervace ---------- */
.booking-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.booking-box iframe { display: block; width: 100%; border: 0; min-height: 900px; border-radius: 10px; }
.booking-note { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: .95rem; margin: 16px 0 24px; }
.mobile-only { display: none; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.contact-list li span:first-child { color: var(--muted); min-width: 90px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.howto { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 22px; }

/* ---------- CTA pruh ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 36em; margin: 0 auto 24px; }

/* ---------- patička ---------- */
.site-footer { background: #241f1b; color: rgba(255,255,255,.78); padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 1.15rem; margin: 0 0 10px; }
.site-footer .small { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- responzivita ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .room-types, .places { grid-template-columns: 1fr 1fr; }
  .split, .room, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > :first-child { order: 0; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .lang { margin: 8px 0 0; padding: 0 6px; }
  .room-types, .places, .rules { grid-template-columns: 1fr; }
  .features { margin-top: -32px; gap: 10px; }
  .feature { padding: 14px; }
  .feature .ico { width: 32px; height: 32px; margin-bottom: 8px; }
  .feature p { font-size: .85rem; }
  .hero { background-position: 62% 60%; }
  .hero .wrap { padding-bottom: 72px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .mobile-only { display: block; }
  .booking-box iframe { min-height: 1100px; }
  table.prices th, table.prices td { padding: 12px 14px; }
}

/* ---------- podmínky ---------- */
.terms > * { max-width: 760px; }
.terms h2 { font-size: 1.35rem; margin-top: 1.6em; }

.price-note { margin-top: 14px; padding: 12px 16px; background: #e9efe3; color: #34481f; border-radius: 10px; }
