:root {
  /* Barvy podle budovy: bílá fasáda, šedé rámy oken, břidlicová střecha, dřevo vrat */
  --anthracite: #3b3c3d;       /* střecha */
  --anthracite-dark: #2b2c2d;
  --anthracite-light: #4b4d4e;
  --frame: #6f7172;            /* rámy oken a pás fasády */
  --white: #ffffff;
  --off-white: #f5f5f3;        /* fasáda ve stínu */
  --text: #333435;
  --text-muted: #6f7172;
  --line: #e3e3e0;
  --accent: #a0694a;           /* dřevo vrat a branky */
  --radius: 4px;
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--accent); margin-top: .45em; }
.center h2::after, h2.center::after { margin-inline: auto; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .container { padding-inline: 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.small { font-size: .85rem; opacity: .75; }
.narrow { max-width: 720px; }
.lead { font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--anthracite);
  color: var(--white);
  border-bottom: 3px solid var(--frame); /* jako šedý pás na fasádě */
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { font-family: var(--font-head); font-size: 1.35rem; text-decoration: none; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.lang-switch { display: flex; gap: 2px; margin-left: 6px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.lang-switch a { font-size: .8rem; letter-spacing: .08em; padding: 3px 6px; border-radius: var(--radius); }
.lang-switch a[aria-current="true"] { background: rgba(255,255,255,.12); opacity: 1; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: block; position: relative; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s, top .2s;
  }
  .nav-toggle span:first-child { top: 21px; }
  .nav-toggle span:first-child::before { left: 0; top: -7px; }
  .nav-toggle span:first-child::after { left: 0; top: 7px; }
  .nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
  .nav-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--anthracite); padding: 8px 16px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .lang-switch { margin: 14px 0 0; padding: 0; border: 0; }
  .lang-switch a { padding: 6px 12px; font-size: .9rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px;
  font: inherit; font-size: .95rem; letter-spacing: .03em; text-decoration: none;
  border: 1px solid var(--anthracite); border-radius: var(--radius);
  background: var(--anthracite); color: var(--white); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--anthracite-dark); }
.btn-light { background: var(--white); color: var(--anthracite); border-color: var(--white); }
.btn-light:hover { background: var(--off-white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-sm { padding: 7px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(82vh, 760px); color: var(--white);
  background: var(--anthracite-dark); overflow: hidden;
}
.hero--plain { min-height: 52vh; background: linear-gradient(135deg, var(--anthracite-dark), var(--anthracite-light)); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,21,23,.82) 0%, rgba(20,21,23,.25) 55%, rgba(20,21,23,.1) 100%); }
.hero-content { position: relative; padding-block: 80px 64px; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 56ch; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-dark { background: var(--anthracite); color: var(--white); }
.section-dark h2::after { background: var(--accent); }
.section-muted { background: var(--off-white); }
.page-head { background: var(--anthracite); color: var(--white); padding-block: clamp(56px, 8vw, 96px) 48px; }
.page-404 { min-height: 50vh; }
.prose p:last-child { margin-bottom: 0; }

.about-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; } }
.amenities { border: 1px solid var(--line); border-top: 3px solid var(--frame); padding: 28px 30px; border-radius: var(--radius); background: var(--off-white); }
.amenities h3 { margin-bottom: .8em; }
.amenities ul { list-style: none; margin: 0 0 1em; padding: 0; columns: 2; column-gap: 24px; }
@media (min-width: 900px) { .amenities ul { columns: 1; } }
.amenities li { padding: 5px 0 5px 22px; position: relative; break-inside: avoid; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-6px); }
.times { font-size: .92rem; color: var(--text-muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-bottom: 8px; }
.card { background: var(--white); color: var(--text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.section-dark .card { background: var(--anthracite-light); color: var(--white); border-color: transparent; }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body .prose { flex: 1; font-size: .96rem; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.card-tag { display: inline-block; align-self: flex-start; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); margin: -6px 0 10px; }
.section-muted .cards + .center { margin-top: 36px; }

/* ---------- Price list ---------- */
.pricelist { margin-top: 48px; max-width: 760px; }
.pricelist table { width: 100%; border-collapse: collapse; }
.pricelist th, .pricelist td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; vertical-align: top; }
.pricelist th { font-weight: 400; padding-right: 24px; }
.pricelist td { text-align: right; white-space: nowrap; font-weight: 600; }
.pricelist .small { margin-top: 14px; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: 1fr 1.4fr; gap: 72px; } }
.review-score { display: flex; gap: 22px; align-items: center; }
.review-score h2 { margin-bottom: .3em; }
.review-score h2::after { display: none; }
.review-score p { margin: 0; color: var(--text-muted); }
.score { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 12px 12px 12px 0; background: var(--anthracite); color: var(--white); font-size: 2rem; font-weight: 600; }
.review-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.review-cats li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: .95rem; }
.review-cats i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) var(--w), var(--line) var(--w)); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); opacity: .92; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18,19,20,.95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; color: #ddd; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 10px; font-size: .9rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 12px 18px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 6px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0 0 28px; }
.contact-list dt { color: rgba(255,255,255,.55); font-size: .9rem; padding-top: 2px; }
.contact-list dd { margin: 0; }
.map-links { display: flex; gap: 10px; flex-wrap: wrap; }

.form label { display: block; font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 13px;
  font: inherit; font-size: 1rem; color: var(--white);
  background: var(--anthracite-light); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form input[type="date"] { color-scheme: dark; }
.row2, .row3 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 1fr .7fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.alert-ok { background: #2f4a37; border-left: 3px solid #6fbf87; }
.alert-err { background: #5a2f2f; border-left: 3px solid #e07b7b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthracite-dark); color: rgba(255,255,255,.75); font-size: .92rem; padding-top: 44px; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer strong { color: var(--white); font-family: var(--font-head); font-weight: 400; font-size: 1.1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-social { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.footer-copy { padding-block: 28px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.who { opacity: .75; font-size: .92em; }

.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.card-img a { display: block; position: relative; height: 100%; cursor: zoom-in; }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgba(30,31,32,.75); color: #fff; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
