/* Chalupa pod Křemešníkem — veřejný web
   Vizuální směr: rustikálně moderní (schválený návrh). */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;1,400&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
    --bg: #f6f2ea;
    --surface: #ffffff;
    --surface-2: #fbf8f1;
    --ink: #292420;
    --muted: #6c6357;
    --line: #e6ddcd;
    --green: #3f5c48;
    --green-deep: #33493a;
    --wood: #8a5a3c;
    --gold: #b0894f;
    --danger: #a5432f;
    --serif: 'Spectral', Georgia, 'Times New Roman', serif;
    --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1200px;
    --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.14;
    margin: 0;
    letter-spacing: -0.005em;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--wood); text-decoration: none; }
a:hover { color: var(--green-deep); }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff;
    padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
@media (min-width: 1040px) { .wrap { padding: 0 64px; } }

.eyebrow {
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--green); font-weight: 600; margin: 0;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: var(--radius); font-weight: 600; font-size: 15px;
    font-family: var(--sans); cursor: pointer; border: 1px solid transparent; line-height: 1;
    transition: background .15s, border-color .15s, color .15s;
}
.btn.sm { padding: 11px 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.9); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-light:hover { background: rgba(255,255,255,.14); color: #fff; }

/* --- Header --- */
.site-hd {
    position: sticky; top: 0; z-index: 20;
    background: rgba(246,242,234,.94); backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.wordmark { display: flex; flex-direction: column; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.wordmark span { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/* Pod názvem a podnadpisem ikony našich webů (z vizitky): aktuální web barevně, ostatní tlumeně */
.hd-left { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sister { display: flex; flex: none; align-items: center; gap: 2px; margin-left: -3px; }
.sister a, .sister span { display: flex; padding: 1px 3px; border-radius: 4px; opacity: .5; filter: grayscale(1); transition: opacity .15s, filter .15s; }
.sister .is-current, .sister a:hover, .sister a:focus-visible { opacity: 1; filter: none; }
.sister img { height: 20px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a, .hd-right .btn, .wordmark span { white-space: nowrap; }
@media (max-width: 1280px) { .nav { gap: 20px; } .hd-in { gap: 16px; } }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--green); }
.nav a.is-active { border-bottom: 2px solid var(--green); padding-bottom: 3px; }
.hd-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 8px; font-size: 13px; font-weight: 600; }
.lang a { color: var(--muted); }
.lang a.on { color: var(--ink); border-bottom: 2px solid var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
    width: 42px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }

@media (max-width: 1100px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; gap: 0; background: var(--surface);
        border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
        box-shadow: 0 20px 40px rgba(40,34,26,.1);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav a.is-active { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
    .hd-right .btn { display: none; }
}
/* Na mobilu ikony místo podnadpisu, jinak se hlavička nevejde */
@media (max-width: 480px) {
    .wordmark { font-size: 16px; }
    .wordmark span { display: none; }
    .hd-right { gap: 12px; }
}

/* --- Hero --- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .scrim { position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,28,24,.30) 0%, rgba(30,28,24,.12) 40%, rgba(28,25,20,.74) 100%); }
.hero .wrap { position: relative; padding-top: 90px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; max-width: 16ch; text-wrap: balance; }
.hero .lede { margin-top: 18px; font-size: clamp(16px, 2vw, 19px); max-width: 52ch; color: rgba(255,255,255,.92); }
.hero .cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .eyebrow { color: #e7d8bf; }

/* --- Facts strip --- */
.facts { background: var(--green-deep); color: #f4efe6; }
.facts .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 24px; }
@media (min-width: 1040px) { .facts .wrap { padding: 24px 64px; } }
.fact { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.fact svg { width: 20px; height: 20px; stroke: #cdbf9e; fill: none; flex: none; }

/* --- Sections --- */
.blk { padding: 72px 0; }
@media (min-width: 720px) { .blk { padding: 96px 0; } }
.blk.tight { padding-top: 0; }

.sec-head { max-width: 640px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 12px; }
.sec-head p { margin-top: 14px; color: var(--muted); }

.lead2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lead2 { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.lead2 h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 14px; max-width: 18ch; }
.lead2 .prose { margin-top: 20px; }
.lead2 .figure { position: relative; }
.lead2 .figure img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.lead2 .figure .tag { position: absolute; left: 20px; bottom: 20px; background: var(--surface);
    padding: 10px 16px; border-radius: 3px; font-size: 13px; font-weight: 600;
    box-shadow: 0 8px 30px rgba(40,34,26,.14); }

.prose { color: var(--muted); }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 1.4em 0 .5em; }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--wood); text-decoration: underline; }

/* Amenity grid */
.amen { margin-top: 48px; display: grid; grid-template-columns: repeat(1, minmax(0,1fr));
    gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 620px) { .amen { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 960px) { .amen { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.amen .cell { background: var(--surface-2); padding: 30px 26px; }
.amen .cell svg { width: 26px; height: 26px; stroke: var(--green); fill: none; }
.amen .cell h3 { font-size: 18px; margin-top: 14px; }
.amen .cell p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Mosaic */
.mosaic { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
@media (min-width: 780px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; } }
.mosaic a { display: block; border-radius: 3px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .big { grid-column: span 2; grid-row: span 2; }
.center-cta { margin-top: 30px; display: flex; justify-content: center; }

/* Fotobanner / slider */
.slider { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 48px; overflow: hidden; background: #221f1a; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; margin: 0; height: clamp(300px, 58vh, 600px); }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 24px 18px; color: #fff;
    font-size: 14px; font-weight: 600; text-align: center;
    background: linear-gradient(180deg, transparent, rgba(28,25,20,.72)); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4); background: rgba(28,25,20,.35); color: #fff; font-size: 24px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: background .15s; }
.slider-btn:hover { background: rgba(28,25,20,.62); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 8px; justify-content: center; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.45); transition: width .2s, background .2s; }
.slider-dots button[aria-selected="true"] { background: #fff; width: 22px; border-radius: 4px; }
@media (max-width: 600px) { .slider-btn { width: 38px; height: 38px; font-size: 18px; } .slider { margin-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* Around */
.around { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: repeat(1,minmax(0,1fr)); }
@media (min-width: 780px) { .around { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; } }
.around .prose > * { margin: 0; }

/* Price band */
.price-band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-band .wrap { display: grid; gap: 40px; padding: 64px 24px; align-items: center; }
@media (min-width: 900px) { .price-band .wrap { grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 64px; } }
.price-band .big { font-size: clamp(38px, 5vw, 52px); font-family: var(--serif); font-weight: 600; }
.price-band .big small { display: block; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 6px; }
.price-list { display: flex; flex-direction: column; gap: 12px; }
.price-list .row { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-list .row span:last-child { font-weight: 600; text-align: right; }

/* End CTA */
.endcta { background: var(--green); color: #fff; }
.endcta .wrap { padding: 76px 24px; text-align: center; }
.endcta h2 { font-size: clamp(28px, 4vw, 40px); max-width: 20ch; margin: 0 auto; }
.endcta p { margin-top: 14px; color: rgba(255,255,255,.86); }
.endcta .btn { margin-top: 26px; }

/* Page header (inner pages) */
.phead { padding: 56px 0 8px; }
.phead h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 600; margin-top: 12px; }
.phead p { margin-top: 16px; color: var(--muted); max-width: 60ch; }

/* Gallery page */
.chips { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px;
    font-weight: 600; color: var(--muted); background: var(--surface-2); }
.chip.on, .chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.gallery-grid { padding: 12px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
@media (min-width: 780px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; } }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .w2 { grid-column: span 2; }
.gallery-grid .h2 { grid-row: span 2; }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px;
    font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(28,25,20,.62)); }

/* Pricing page */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface);
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; font-size: 15px; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--surface-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .big { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.price-table .per { color: var(--muted); font-size: 13px; }
.note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.grid2 { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 780px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.box h3 { font-size: 18px; margin-bottom: 12px; }

.terms-band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.terms-band .wrap { padding: 56px 24px; }
@media (min-width: 1040px) { .terms-band .wrap { padding: 56px 64px; } }

/* Okolí — karty tipů na výlety (stránka Okolí + 3 dlaždice na úvodní stránce) */
.tips { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.tips.trio { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 8px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.tip .ph { aspect-ratio: 3 / 2; overflow: hidden; }
.tip .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tip:hover .ph img { transform: scale(1.04); }
.tip .body { padding: 18px 20px 20px; }
.tip .dist { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }
.tip h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 6px 0 8px; }
.tip p { font-size: 13.5px; color: var(--muted); margin: 0; }
.tips-credits { margin-top: 14px; font-size: 11.5px; color: #9a9284; line-height: 1.7; }
.tips-credits a { color: #9a9284; }

/* Contact */
.contact-grid { display: grid; gap: 32px; padding: 24px 0 0; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.contact-list dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 18px; }
.contact-list dd { margin: 4px 0 0; font-size: 16px; }
.map-embed { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); }
.map-fallback { display: flex; align-items: center; justify-content: center; background: var(--surface-2);
    color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }

/* Booking */
.booking-cols { display: grid; gap: 40px; padding: 40px 0 88px; align-items: start; }
@media (min-width: 980px) { .booking-cols { grid-template-columns: 1.2fr .9fr; gap: 52px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.card.pad { padding: 26px; }
.cal-legend { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 7px; vertical-align: -2px; }
.cal-legend .l-free { background: #67cf67; }
.cal-legend .l-busy { background: #f74848; }
.cal-legend .l-sel { background: #489ce0; }
.cal-legend .l-change { background: linear-gradient(to bottom right, #67cf67 50%, #f74848 50%); }
.cal-legend .l-held { background: #f5b83d; }
.cal-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.cal-foot b { color: var(--ink); font-weight: 600; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface-2); font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.estimate { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 16px; margin: 4px 0 16px; font-size: 13.5px; }
.estimate .r { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.estimate .r span:first-child { color: var(--muted); }
.estimate .r.tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.estimate .disc { margin-top: 8px; font-size: 12px; color: var(--muted); }

.consent { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; align-items: flex-start; }
.consent input { margin-top: 3px; }

.alert { border-radius: var(--radius); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; }
.alert-error { background: #f7e7e2; border: 1px solid #e6c3b8; color: #7c3320; }
.alert-error ul { margin: 6px 0 0; padding-left: 18px; }
.alert-ok { background: #e5efe6; border: 1px solid #bcd6bf; color: var(--green-deep); }

.how { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how .wrap { padding: 56px 24px; }
@media (min-width: 1040px) { .how .wrap { padding: 64px 64px; } }
.how h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 30px; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--serif); }
.step h3 { font-size: 17px; margin: 12px 0 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

.success-box { max-width: 640px; margin: 60px auto 100px; text-align: center; }
.success-box .icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--green);
    display: flex; align-items: center; justify-content: center; }
.success-box .icon svg { width: 30px; height: 30px; stroke: #fff; }
.success-box h1 { font-size: 32px; }
.success-box p { margin-top: 14px; color: var(--muted); }
.success-box .code { display: inline-block; margin-top: 20px; font-family: var(--serif); font-size: 22px;
    font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 20px; }

/* Footer */
.ft { background: #221f1a; color: #c9c1b3; }
.ft .wrap { display: grid; gap: 32px; padding: 60px 24px 36px; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 620px) { .ft .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ft .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 72px 64px 40px; } }
.ft h4 { font-family: var(--serif); color: #f2ece0; font-size: 16px; font-weight: 500; margin: 0 0 14px; }
.ft a { color: #c9c1b3; font-size: 14px; display: block; margin-bottom: 9px; }
.ft a:hover { color: #fff; }
.ft p { font-size: 14px; line-height: 1.7; }
.ft .bar { border-top: 1px solid #38332b; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 8px 20px;
    justify-content: space-between; font-size: 12.5px; color: #8f877a; max-width: var(--wrap); margin: 0 auto; }
@media (min-width: 1040px) { .ft .bar { padding: 20px 64px; } }

/* Flatpickr přizpůsobení */
.flatpickr-calendar { font-family: var(--sans); box-shadow: 0 10px 40px rgba(40,34,26,.12); border: 1px solid var(--line); }
/* Stavy dnů — barvy jako e-chalupy (sytá zelená = volno / červená = obsazeno / modrá = vybraný pobyt) */
.inline-cal .flatpickr-calendar { font-family: Verdana, sans-serif; }
.inline-cal .flatpickr-day { border-radius: 3px; }
.flatpickr-day.is-free { background: #67cf67; border-color: #67cf67; color: #222; }
.flatpickr-day.is-free:hover, .flatpickr-day.is-free:focus { background: #56c156; border-color: #56c156; }
.flatpickr-day.flatpickr-disabled.is-busy, .flatpickr-day.flatpickr-disabled.is-busy:hover {
    background: #f74848; border-color: #f74848; color: #222; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover { background: #489ce0; border-color: #489ce0; color: #fff; font-weight: 700; }
.flatpickr-day.inRange, .flatpickr-day.is-free.inRange { background: #489ce0; border-color: #489ce0; box-shadow: -5px 0 0 #489ce0, 5px 0 0 #489ce0; color: #fff; }
.flatpickr-day.flatpickr-disabled:not(.is-busy) { text-decoration: line-through; color: #c3b9a4; }
/* Předběžně obsazeno (jiný host dostal info o platbě) — lze rezervovat jako náhradník */
.flatpickr-day.is-held, .flatpickr-day.is-held:hover { background: #f5b83d; border-color: #f5b83d; color: #222; }
.flatpickr-day.is-held.inRange { background: #489ce0; border-color: #489ce0; box-shadow: -5px 0 0 #489ce0, 5px 0 0 #489ce0; color: #fff; }
.flatpickr-day.is-held.selected, .flatpickr-day.is-held.startRange, .flatpickr-day.is-held.endRange { background: #489ce0; border-color: #489ce0; color: #fff; }
/* Hotelový kalendář — přechodové dny napůl (šikmo): check-out do 10:00, check-in od 14:00 */
.flatpickr-day.is-arrival, .flatpickr-day.is-arrival:hover, .flatpickr-day.is-arrival:focus {
    background: linear-gradient(to bottom right, #67cf67 50%, #f74848 50%); border-color: transparent; color: #222; }
.flatpickr-day.is-departure, .flatpickr-day.is-departure:hover, .flatpickr-day.is-departure:focus {
    background: linear-gradient(to bottom right, #f74848 50%, #67cf67 50%); border-color: transparent; color: #222; }
.flatpickr-day.is-arrival.selected, .flatpickr-day.is-arrival.endRange,
.flatpickr-day.is-departure.selected, .flatpickr-day.is-departure.startRange { background: #489ce0; border-color: #489ce0; color: #fff; }
.flatpickr-months .flatpickr-month, .flatpickr-weekdays { background: transparent; }
span.flatpickr-weekday { color: var(--muted); }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 600; }

.inline-cal .flatpickr-calendar { box-shadow: none; border: none; }

/* Pronájem tenisového kurtu — stránka podle plakátu (barvy odebrané z plakátu) */
.page-tennis {
    --tn-dark: #023a16;
    --tn-lime: #7fb315;
    --tn-yellow: #f7d500;
    --tn-paper: #f8f8f4;
    --tn-font: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
}
.tn-poster {
    position: relative; overflow: hidden; background: var(--tn-paper);
    font-family: var(--tn-font); text-transform: uppercase; font-weight: 400;
}
/* Fotka kurtu vpravo, doleva a nahoru se ztrácí do bílé jako na plakátu */
.tn-poster::before {
    content: ""; position: absolute; inset: 0 0 0 auto; width: min(62%, 760px);
    background: var(--tn-photo) center 62% / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 35%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
    mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 35%);
}
.tn-in { position: relative; padding-top: 48px; padding-bottom: 56px; }
.tn-head { font-family: inherit; font-weight: 400; color: var(--tn-dark); line-height: .98; letter-spacing: .01em;
    font-size: clamp(56px, 11vw, 132px); display: flex; flex-direction: column; align-items: flex-start; }
.tn-head span { display: block; }
.tn-head em { font-style: normal; color: var(--tn-lime); }
.tn-l1 { position: relative; margin-left: .55em; }
.tn-burst { position: absolute; top: .02em; left: -.6em; width: .5em; height: .6em; fill: none;
    stroke: var(--tn-lime); stroke-width: 7; stroke-linecap: round; }
.tn-burst-r { left: auto; right: -.62em; transform: scaleX(-1); }
.tn-place { display: inline-block; margin-top: 28px; padding: .16em .9em .12em; background: var(--tn-lime); color: #fff;
    font-size: clamp(44px, 7vw, 84px); line-height: 1; letter-spacing: .02em;
    clip-path: polygon(2% 8%, 14% 0, 40% 5%, 63% 0, 88% 4%, 100% 0, 97% 30%, 100% 58%, 96% 100%, 70% 94%, 45% 100%, 20% 95%, 0 100%, 3% 66%, 0 34%); }
.tn-price { margin-top: 32px; width: clamp(220px, 30vw, 300px); aspect-ratio: 1; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: var(--tn-dark); color: #fff; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--tn-dark), 0 18px 40px rgba(2,58,22,.25);
    font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; }
.tn-price strong { text-transform: none; font-weight: 400; color: var(--tn-yellow); font-size: 1.75em; line-height: 1.05; white-space: nowrap; }
.tn-phone { position: relative; display: block; background: var(--tn-dark); border-top: 8px solid var(--tn-lime); color: #fff; }
.tn-phone:hover { color: #fff; background: #01300f; }
.tn-phone-in { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.tn-phone-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tn-lime); }
.tn-phone-ic svg { width: 40px; height: 40px; fill: #fff; }
.tn-phone-lbl { font-size: clamp(20px, 2.6vw, 30px); }
.tn-phone-num { font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: .03em; white-space: nowrap; }
@media (max-width: 720px) {
    .tn-poster::before { width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 35%, #000 75%); mask-image: linear-gradient(to bottom, transparent 0, transparent 35%, #000 75%); -webkit-mask-composite: source-over; mask-composite: add; }
    .tn-phone-in { gap: 12px; flex-wrap: wrap; }
    .tn-phone-ic { width: 52px; height: 52px; }
    .tn-phone-ic svg { width: 28px; height: 28px; }
}
