/* MK Rybářství Hrabenov – veřejný web */

:root {
  --pine: #0c2f4a;
  --teal: #1f6fa3;
  --aqua: #5cb8e6;
  --mist: #e6f1f8;
  --cream: #faf7f0;
  --sand: #f3ecdd;
  --gold: #e3a23a;
  --gold-dark: #c7861f;
  --ink: #142a3b;
  --muted: #5a6b78;
  --line: #dde6ee;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 47, 74, .06), 0 8px 24px rgba(12, 47, 74, .08);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--pine); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- tlačítka, štítky */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--pine); box-shadow: 0 6px 16px rgba(227, 162, 58, .35); }
.btn-gold:hover { background: #ecb04d; }
.btn-ghost { border-color: var(--pine); color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: var(--cream); }
.btn-sm { padding: .6em 1.05em; font-size: .92rem; }

.badge {
  display: inline-block; padding: .3em .75em; border-radius: 999px;
  background: var(--mist); color: var(--teal);
  font: 700 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
}
.badge-gold { background: var(--gold); color: var(--pine); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  margin-bottom: .8em;
}
.link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.link:hover .ico { transform: translateX(3px); }
.link .ico { transition: transform .15s; }
.price-tag {
  display: inline-block; font: 700 1.05rem/1 var(--font-body); color: var(--pine);
  background: #fdebc8; padding: .5em .8em; border-radius: 10px; margin: 0;
}
.price-tag-lg { font-size: 1.3rem; margin-bottom: 1.2em; }
.meta { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: .4em; }

/* ---------- hlavička */
.announce { background: var(--gold); color: var(--pine); font-weight: 700; font-size: .92rem; text-align: center; padding: .55em 0; }
.announce a { color: inherit; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 240, .88); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(12, 47, 74, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7em; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font: 600 1.45rem var(--font-head); color: var(--pine); }
.brand small { font-weight: 700; font-size: .7rem; letter-spacing: .22em; color: var(--teal); text-transform: uppercase; margin-top: .25em; }
.nav { display: flex; align-items: center; gap: 1.6em; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--pine); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: .5em 16px 1.2em; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8em 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1em; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text .lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero-art { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
/* Jeseter v podběráku je širší než rámeček – hlava vlevo musí zůstat vidět. */
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 15% 50%; }

.lead { font-size: 1.15rem; color: var(--muted); }

.highlights {
  list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.highlights li {
  display: flex; gap: .8em; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.highlights .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--mist); color: var(--teal); }
.highlights strong { display: block; color: var(--pine); }
.highlights span { font-size: .88rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16 / 10; border-radius: 24px; }
  .highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .highlights { gap: 10px; }
  .highlights li { flex-direction: column; align-items: flex-start; gap: .5em; padding: 14px; }
  .highlights .ico { width: 36px; height: 36px; padding: 8px; }
}

/* ---------- sekce */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-compact { padding: 40px 0; }
.section-tint { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section-lead { color: var(--muted); }
.h-sub { font-size: 1.5rem; margin-bottom: 1em; }
.page-head { padding: 56px 0 8px; }

/* ---------- termíny prodeje */
.sales { background: var(--pine); color: #d5e4f0; position: relative; overflow: hidden; }
.sales::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 1.2px, transparent 1.6px), radial-gradient(circle, rgba(255, 255, 255, .3) 1px, transparent 1.4px);
  background-size: 90px 90px, 53px 53px; background-position: 0 0, 25px 35px;
}
.sales .wrap { position: relative; }
.sales h2 { color: var(--white); }
.sales .eyebrow { color: var(--gold); }
.sales .section-lead { color: #b9cfe0; max-width: 36em; }
.sales-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sales-order {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: var(--gold); color: var(--pine); padding: 16px 22px; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(227, 162, 58, .3); transition: transform .15s;
}
.sales-order:hover { transform: translateY(-2px); }
.sales-order span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sales-order strong { font-size: 1.3rem; display: flex; gap: .4em; align-items: center; }
/* termíny jako tabulka místo × den */
.plan-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.plan { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); color: var(--ink); }
.plan th, .plan td { text-align: center; vertical-align: middle; }
.plan thead th { background: #08223a; color: var(--white); padding: 12px 8px 11px; border-bottom: 3px solid var(--gold); }
.plan thead th:first-child { text-align: left; padding-left: 22px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.plan-dow { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9cfe0; }
.plan-dm { display: block; font: 700 1.45rem/1.1 var(--font-head); color: var(--gold); }
.plan tbody tr + tr > * { border-top: 1px solid var(--line); }
.plan tbody tr:hover { background: #f7fafc; }
.plan tbody th { text-align: left; padding: 14px 12px 14px 22px; width: 36%; }
.plan tbody th strong { display: block; font: 700 1.2rem/1.2 var(--font-head); color: var(--pine); }
.plan tbody th span { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.plan td { padding: 10px 6px; }
.plan-time { display: inline-block; min-width: 4.6em; padding: .4em .6em; border-radius: 10px; background: var(--mist); color: var(--pine); font-weight: 800; font-variant-numeric: tabular-nums; }
.plan-time.is-diff { background: #fdf0d8; }
.plan-time + .plan-time { margin-top: 4px; }
.plan-note { display: block; font-size: .75rem; color: var(--muted); margin-top: 3px; }
.plan-off { color: #c9d6e0; font-weight: 700; }
@media (max-width: 640px) {
  .plan { min-width: 0; font-size: .9rem; }
  .plan thead th { padding: 9px 3px 8px; }
  .plan thead th:first-child { padding-left: 12px; font-size: 0; }
  .plan thead th:first-child::after { content: "Kde"; font-size: .7rem; }
  .plan-dow { font-size: .62rem; letter-spacing: .04em; }
  .plan-dm { font-size: .92rem; white-space: nowrap; }
  .plan tbody th { padding: 10px 6px 10px 12px; width: auto; }
  .plan tbody th strong { font-size: 1rem; }
  .plan tbody th span { font-size: .76rem; }
  .plan td { padding: 8px 2px; }
  .plan-time { min-width: 0; padding: .35em .4em; font-size: .82rem; border-radius: 8px; }
}
.sales-fish { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 44em; }
.sales-fish li { padding: .4em .85em; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-weight: 600; font-size: .92rem; }
.sales-fish li.is-own { background: rgba(227, 162, 58, .16); border-color: rgba(227, 162, 58, .55); }
.sales-fish small { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-left: .3em; }
.sales-voucher {
  display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 14px 20px; border-radius: 14px;
  background: var(--gold); color: var(--pine); font-weight: 700; font-size: 1.05rem;
}
.sales-voucher .ico { width: 26px; height: 26px; flex: none; }

/* ---------- akce */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.offer {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: linear-gradient(135deg, var(--pine), #164a70); color: #e8f1f8;
  border-radius: 24px; box-shadow: var(--shadow); position: relative;
}
.offer:has(.offer-img) { grid-template-columns: 40% 1fr; }
.offer::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 28px solid rgba(92, 184, 230, .12); pointer-events: none;
}
.offer-img img { width: 100%; height: 100%; object-fit: cover; }
.offer-body { padding: 28px; display: flex; flex-direction: column; gap: .3em; align-items: flex-start; }
.offer h3 { color: var(--white); font-size: 1.5rem; margin: .4em 0 .2em; }
.offer .meta { color: var(--aqua); margin: .4em 0 0; }
.offer p { color: #cfe0ee; }
.offer-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.offer .link { color: var(--gold); }
@media (max-width: 600px) { .offer:has(.offer-img) { grid-template-columns: 1fr; } .offer-img { aspect-ratio: 16 / 9; overflow: hidden; } }

/* ---------- ryby */
.fish-cat { font-size: 1.35rem; margin: 36px 0 16px; display: flex; align-items: center; gap: 14px; }
.fish-cat:first-of-type { margin-top: 0; }
.fish-cat::after { content: ""; flex: 1; height: 2px; background: rgba(31, 111, 163, .15); border-radius: 2px; }
.fish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.fish {
  background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border-top: 4px solid var(--aqua);
}
.fish-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.fish h3 { margin: 0 0 .35em; }
.fish p { color: var(--muted); font-size: .94rem; }
.avail { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: var(--mist); padding: .35em .6em; border-radius: 999px; white-space: nowrap; }
.fish.is-out { border-top-color: var(--line); }
.fish.is-out .avail { background: var(--sand); color: var(--muted); }
.fish-price { margin: auto 0 0; font: 600 1.6rem/1 var(--font-head); color: var(--pine); }
.fish-price small { font: 600 .85rem var(--font-body); color: var(--muted); }
.fish.has-photo { padding-top: 0; overflow: hidden; }
.fish-photo { aspect-ratio: 4 / 3; margin: 0 -22px 18px; background: var(--sand); overflow: hidden; }
.fish-photo img { width: 100%; height: 100%; object-fit: cover; }
.fish-photo-empty { display: grid; place-items: center; color: var(--aqua); background: linear-gradient(135deg, var(--mist), #d2e6f3); }
.fish-photo-empty .ico { width: 56px; height: 56px; stroke-width: 1.2; }
.services { display: grid; gap: 16px; margin-top: 28px; }
.service { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.service > .ico { width: 48px; height: 48px; padding: 11px; flex: none; border-radius: 14px; background: var(--sand); color: var(--pine); }
.service strong { display: block; color: var(--pine); font-size: 1.05rem; }
.service p { margin: .25em 0 0; color: var(--muted); font-size: .96rem; }
.service > div { flex: 1; min-width: 0; }
.price-list { margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 28px; }
.price-list div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.price-list dt { color: var(--ink); }
.price-list dd { margin: 0; font-weight: 700; color: var(--pine); white-space: nowrap; }

/* ---------- o nás */
.about { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-badge {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, var(--sand) 55%, transparent 56%), repeating-radial-gradient(circle, var(--mist) 0 14px, transparent 14px 28px);
}
.about-badge img { width: 78%; filter: drop-shadow(0 12px 24px rgba(12, 47, 74, .25)); }
.prose { font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-badge { max-width: 240px; } }

/* ---------- karty příspěvků */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 16 / 10; display: block; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { display: grid; place-items: center; color: var(--aqua); background: linear-gradient(135deg, var(--mist), #d2e6f3); }
.card-media-empty .ico { width: 64px; height: 64px; stroke-width: 1.2; }
.card-media .badge { position: absolute; top: 14px; left: 14px; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--teal); }
.card-body p:not(.meta):not(.price-tag) { color: var(--muted); font-size: .95rem; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--white); text-decoration: none; font-weight: 700; box-shadow: var(--shadow); }
.pager a[aria-current] { background: var(--pine); color: var(--white); }

/* ---------- detail */
.back { display: table; margin-bottom: 1.5em; font-weight: 700; text-decoration: none; }
.post-meta { display: flex; gap: .8em; align-items: center; color: var(--muted); font-weight: 600; font-size: .9rem; }
.post-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.post-img { margin: 0 0 2em; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cta-box {
  margin-top: 2.5em; padding: 22px 24px; border-radius: var(--radius); background: var(--mist);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cta-box strong { display: block; font: 600 1.2rem var(--font-head); color: var(--pine); }
.cta-box span { color: var(--muted); }

/* ---------- fotogalerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.g-item {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: var(--mist); box-shadow: var(--shadow); color: var(--white); text-decoration: none;
}
.gallery-featured .g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(8, 34, 58, .78)); opacity: 0; transition: opacity .25s; }
.g-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 600; font-size: .92rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.g-zoom {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 38px; height: 38px; padding: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--pine); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.g-zoom svg { width: 100%; height: 100%; display: block; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-item:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
@media (hover: none) { .g-item::after, .g-cap { opacity: 1; transform: none; } }
.gallery-more { text-align: center; margin: 28px 0 0; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } .g-item { border-radius: 10px; } .g-cap { font-size: .8rem; left: 10px; right: 10px; bottom: 8px; } }

/* prohlížeč fotek */
html.lb-open { overflow: hidden; }
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #06141f; color: var(--white); overscroll-behavior: contain;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 16px 8px; }
.lb-count { font-weight: 700; font-size: .9rem; letter-spacing: .08em; color: #b9cfe0; font-variant-numeric: tabular-nums; }
.lb-stage { --pad-x: 80px; --pad-b: 0px; position: relative; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
/* Absolutně v ploše jeviště – jen tak se max-height spolehlivě vztáhne k jeho výšce. */
.lb-stage img {
  position: absolute; inset: 0 var(--pad-x) var(--pad-b); margin: auto;
  max-width: calc(100% - 2 * var(--pad-x)); max-height: calc(100% - var(--pad-b)); width: auto; height: auto; object-fit: contain; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s; user-select: none; -webkit-user-drag: none;
}
.lightbox.is-loading .lb-stage img { opacity: 0; transform: scale(.98); }
.lb-spinner { position: absolute; width: 42px; height: 42px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--aqua); border-radius: 50%; animation: lb-spin .8s linear infinite; opacity: 0; transition: opacity .2s; pointer-events: none; }
.lightbox.is-loading .lb-spinner { opacity: 1; transition-delay: .15s; }
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb-caption { text-align: center; padding: 14px 20px max(18px, env(safe-area-inset-bottom)); min-height: 3.4em; font-size: 1.02rem; line-height: 1.45; color: #e3edf5; max-width: 52em; margin: 0 auto; }
.lb-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: var(--white); transition: background .15s, transform .15s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { width: 46px; height: 46px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.92); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }
@media (max-width: 700px) {
  .lb-stage { --pad-x: 8px; --pad-b: 64px; }
  .lb-prev, .lb-next { top: auto; bottom: 6px; transform: none; width: 48px; height: 48px; background: rgba(255, 255, 255, .14); }
  .lb-prev:active, .lb-next:active { transform: scale(.92); }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-caption { font-size: .94rem; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .g-item img, .lb-stage img, .lightbox[open] { transition: none; animation: none; } }

/* ---------- projekt EU */
.eu-project { background: var(--white); border-top: 1px solid var(--line); padding: 32px 0; }
.eu-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.eu-logo { display: flex; align-items: center; gap: 12px; flex: none; color: #039; font-weight: 700; font-size: .95rem; line-height: 1.2; }
.eu-logo img { width: 90px; height: auto; }
.eu-text p { margin: 0 0 .4em; color: var(--muted); font-size: .94rem; max-width: 60em; }
.eu-text .eu-title { font: 600 1.25rem var(--font-head); color: #039; }
.eu-title small { display: block; font: 700 .72rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eu-more { font-size: .85rem !important; }
.eu-more a { color: #039; font-weight: 700; }
@media (max-width: 700px) { .eu-inner { flex-direction: column; align-items: flex-start; } }

.eu-more a:first-child { color: var(--teal); }

/* stránka projektu EU */
.eu-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.eu-page-text .lead { font-size: 1.25rem; color: var(--ink); }
.eu-logo-lg { margin: 28px 0; font-size: 1.1rem; }
.eu-logo-lg img { width: 120px; }
.eu-poster { margin: 0; }
.eu-poster .g-item { aspect-ratio: 1448 / 2048; background: var(--white); }
.eu-poster .g-item::after { display: none; }
@media (max-width: 800px) { .eu-page { grid-template-columns: 1fr; } .eu-poster { max-width: 420px; } }

/* ---------- kontakt */
.contact { background: var(--pine); color: #d5e4f0; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--aqua); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(92, 184, 230, .15); color: var(--aqua); }
.contact-list strong { display: block; color: var(--white); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { color: var(--gold); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.arrival { margin: 28px 0 0; }
.arrival .g-item { aspect-ratio: 908 / 542; box-shadow: none; }
.arrival .g-item::after { display: none; }
.arrival figcaption { margin-top: 10px; font-size: .92rem; color: #b9cfe0; }
.arrival figcaption strong { color: var(--white); }
.map { position: relative; border-radius: 24px; overflow: hidden; min-height: 380px; background: #183f5e; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-link {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: .4em; align-items: center;
  background: var(--white); color: var(--pine); padding: .6em 1em; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* ---------- patička */
.site-footer { background: #08223a; color: #9fb8cc; padding: 56px 0 24px; font-size: .95rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: #d5e4f0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 .4em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-name { font: 600 1.25rem var(--font-head); color: var(--white); margin-top: .8em !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
