:root {
  --bg: #f8eedd;
  --card: #fffbf0;
  --line: #e2d9bd;
  --green: #1f4a2b;
  --green-2: #2d6a3e;
  --sage: #e6e8d3;
  --text: #55564a;
  --muted: #8a8c78;
  --busy: #ead9d0;
  --busy-text: #a98d80;
  --sel: #1f4a2b;
  --range: #d7e3cc;
  --radius: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--serif); color: var(--green); font-weight: 500; line-height: 1.15; margin: 0; }
a { color: var(--green); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.4em; height: 1.4em; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* hlavička */
header.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 112px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .logo { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; }
.brand .logo .icon { width: 28px; height: 28px; }
.brand b { display: block; font: 500 24px/1 var(--serif); color: var(--green); }
.brand small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
nav a { margin-left: 26px; text-decoration: none; color: var(--text); font-size: 17px; }
nav a:hover, nav a.active { color: var(--green); font-weight: 700; }
@media (max-width: 760px) { nav a { margin-left: 14px; font-size: 15px; } .brand small { display: none; } }
@media (max-width: 560px) { nav a:nth-child(2), nav a:nth-child(3) { display: none; } }

/* hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; color: #fff7e6;
  background: linear-gradient(180deg, rgba(20,40,28,.15), rgba(20,40,28,.75)), url('img/hero.jpg') center/cover, linear-gradient(135deg, #3d5f4a, #7b9a86 60%, #c9d6cc); }
.hero .wrap { padding-bottom: 56px; width: 100%; }
.eyebrow { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow { color: #e9e2cb; }
.hero h1 { color: #fff7e6; font-size: clamp(48px, 8vw, 88px); margin: 14px 0 12px; }
.hero p { font-size: 22px; margin: 0 0 28px; max-width: 640px; }
.btn { display: inline-block; font: 700 17px var(--sans); padding: 15px 28px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; transition: .15s; }
.btn.primary { background: var(--green); color: #fff7e6; }
.btn.primary:hover { background: var(--green-2); }
.btn.soft { background: var(--sage); color: var(--green); margin-left: 8px; }
.btn.soft:hover { background: #dcdfc4; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .btn.soft { margin: 10px 0 0; } }

/* sekce */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 58px); margin: 10px 0 14px; }
.sec-head p { margin: 0; font-size: 19px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card .icon { width: 30px; height: 30px; margin-bottom: 18px; }
.card h3 { font-size: 28px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15.5px; }

/* ubytování */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 56px; }
.ph { border-radius: 24px; overflow: hidden; min-height: 320px; background: var(--sage) center/cover; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph:first-child { min-height: 420px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .ph:first-child { min-height: 280px; } }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }
.about h3 { font-size: 40px; margin-bottom: 18px; }
.about p { margin: 0 0 16px; }
.amen { display: grid; gap: 12px; }
.amen div { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 15px 20px; color: #2b3a2d; }

/* aktivity */
.season { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 64px; }
.season.rev .ph { order: 2; }
@media (max-width: 860px) { .season { grid-template-columns: 1fr; gap: 28px; } .season.rev .ph { order: 0; } }
.season h3 { font-size: 44px; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.season ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.season li { border-left: 2px solid #b7c2a3; padding-left: 20px; }
.season li b { display: block; color: #1e2a20; font-size: 18px; }
.season .ph { min-height: 380px; }

/* tipy */
.tips { background: var(--sage); }
.tips .card { background: var(--card); }
.tips .card small { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }

/* rezervace */
.booking { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { font-size: 30px; margin-bottom: 16px; }

.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-nav button { background: var(--sage); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; color: var(--green); cursor: pointer; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 640px) { .months { grid-template-columns: 1fr; } .month:nth-child(2) { display: none; } }
.month h4 { font: 500 26px var(--serif); color: var(--green); text-align: center; margin: 0 0 10px; text-transform: capitalize; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; text-transform: uppercase; letter-spacing: .08em; }
.day { position: relative; aspect-ratio: 1 / 1; border: 0; border-radius: 10px; background: transparent; font: 600 15px var(--sans); color: #2b3a2d; cursor: pointer; padding: 0; }
.day small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1; margin-top: 2px; }
.day:hover:not(:disabled) { background: var(--sage); }
.day.pad { visibility: hidden; }
.day:disabled { cursor: not-allowed; }
.day.past { color: #c9c4ad; }
.day.busy { background: var(--busy); color: var(--busy-text); text-decoration: line-through; }
.day.busy small { display: none; }
.day.noend { color: #bdb8a0; }
.day.inrange { background: var(--range); border-radius: 0; }
.day.start, .day.end { background: var(--sel); color: #fff7e6; border-radius: 10px; }
.day.start small, .day.end small { color: #cfe0cc; }
.day.today::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green); }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 14px; color: var(--green); font-weight: 700; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: 17px var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #2b3a2d; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-2); outline-offset: 1px; }
textarea { resize: vertical; min-height: 70px; }
.stay { background: var(--sage); border-radius: 12px; padding: 14px 18px; margin-bottom: 4px; color: var(--green); font-weight: 700; }
.stay span { font-weight: 400; color: var(--text); }
.sum { margin: 18px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; font-size: 15.5px; }
.sum .total { font: 600 24px var(--serif); color: var(--green); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: 14px; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 15.5px; }
.msg.err { background: #f7ddd5; color: #7d2e1b; }
.msg.ok { background: #dcead0; color: var(--green); }

footer { background: var(--green); color: #e9e2cb; padding: 40px 0; text-align: center; font-size: 15px; }
footer a { color: #fff7e6; }
#social { display: flex; justify-content: center; gap: 16px; }
#social[hidden] { display: none; }
.soc-icon { display: inline-flex; padding: 6px; border-radius: 50%; transition: background .15s; }
.soc-icon:hover, .soc-icon:focus-visible { background: rgba(255,255,255,.18); }

/* karusel */
.gallery { grid-template-columns: 1fr; }
.gallery .ph { min-height: 0; aspect-ratio: 16 / 9; max-height: 560px; }
.car { position: relative; }
.car .slides { position: absolute; inset: 0; }
.car .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.car .slides img.on { opacity: 1; }
.car .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,251,240,.88); color: var(--green); font-size: 24px; cursor: pointer; z-index: 2; }
.car .arrow:hover { background: #fff; }
.car .arrow.l { left: 14px; } .car .arrow.r { right: 14px; }
.car .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.car .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.car .dots button.on { background: #fff; transform: scale(1.3); }
.gallery .ph { width: 100%; aspect-ratio: auto; max-height: none; height: clamp(260px, 46vw, 560px); }
.day.today::after { bottom: auto; top: 5px; left: auto; right: 6px; margin: 0; }
.logo-img { width: 96px; height: 96px; object-fit: contain; display: block; }

/* balíčky */
.addon-note { margin: 10px 0 4px; padding: 10px 14px; border-radius: 10px; background: var(--sage); color: var(--green); font-size: 14.5px; }
.addon input:disabled { cursor: not-allowed; }
.addons.late .addon-wrap { opacity: .5; pointer-events: none; }
.addons { border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px 14px; margin: 18px 0 0; }
.addons legend { font-weight: 700; color: var(--green); font-size: 14px; padding: 0 6px; }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; font-weight: 400; color: var(--text); margin: 0; }
.addon + .addon { border-top: 1px solid var(--line); }
.addon input { width: auto; margin-top: 5px; }
.addon b { color: #1e2a20; display: block; font-size: 16px; }
.addon small { display: block; font-size: 14px; color: var(--muted); }
.addon .pr { margin-left: auto; white-space: nowrap; color: var(--green); font-weight: 700; font-size: 15px; }

.addon .thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.addon-choice { margin: 0 0 12px 30px; }
.addon-choice select { padding: 8px 10px; font-size: 15px; }

.addon > span:not(.pr) { min-width: 0; flex: 1; }
.addon .pr { white-space: nowrap; text-align: right; }
@media (max-width: 560px) {
  header.top .wrap { height: 84px; }
  .logo-img { width: 64px; height: 64px; }
  html { scroll-padding-top: 84px; }
  .brand b { font-size: 21px; }
}

/* tipy na výlety – karusel */
.tips .cards-wrap { position: relative; }
.tips .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 24px; }
.tips .cards::-webkit-scrollbar { display: none; }
.tips .card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
@media (max-width: 900px) { .tips .card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .tips .card { flex-basis: 82%; } }
.tips .cards-wrap .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,251,240,.95); color: var(--green); font-size: 24px; cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.tips .cards-wrap .arrow:hover { background: #fff; }
.tips .cards-wrap .arrow.l { left: -14px; } .tips .cards-wrap .arrow.r { right: -14px; }
.tips .cards-wrap .arrow[hidden] { display: none; }
@media (max-width: 560px) { .tips .cards-wrap .arrow { display: none; } }

/* rezervační a storno podmínky */
.terms { margin: 14px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.terms summary { font-weight: 600; cursor: pointer; }
.terms ul { margin: 10px 0 0; padding-left: 20px; }
.terms li { margin: 6px 0; }
