/* ZUŠ Allegro — hlavní styl
   Paleta vychází z loga: tmavě modrá, zlatá, krémová. */

:root {
  --navy: #0e2c58;
  --gold: #fab501;
  --cream: #f7f4ee;
  --sand: #f0e4c8;
  --sand-deep: #dba956;
  --nav-bg: #f0e9d8;
  --band-bg: #eee7d8;

  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --pad-x: 6vw;
  --maxw: 1440px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: linear-gradient(90deg, var(--cream) 0%, var(--sand) 55%, var(--sand-deep) 100%);
  background-attachment: fixed;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--cream); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; }

/* <picture> nemá tvořit vlastní box — pozicování řídí <img> nebo obal .ph */
picture { display: contents; }

/* Nutný doplněk k předchozímu řádku: display:contents povýší DĚTI <picture>
   na položky rodičovského layoutu — a to včetně <source>, které prohlížeč
   sám o sobě neskrývá. Ve flexové liště se z něj stala neviditelná třetí
   položka nulové šířky a space-between kvůli ní odsunul logo doprostřed. */
picture > source { display: none; }

h1, h2, h3 { font-family: var(--serif); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: var(--cream); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Obsahový sloupec — drží sekce na rozumné šířce a středu stránky. */
.wrap { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* ---------- dekorativní vrstvy (notová osnova, plovoucí noty) ---------- */
.deco {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: -1;
}
.deco svg, .deco img { width: 100%; height: 100%; display: block; }
.deco img { object-fit: cover; mix-blend-mode: multiply; opacity: 0.5; }
.note-float { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }

.section-rel { position: relative; z-index: 0; overflow: hidden; }

/* ---------- eyebrow + nadpisy sekcí ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.section-title {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; font-style: italic;
  margin: 0 0 56px; line-height: 1.1;
}

/* ---------- obrázky ---------- */
.ph { position: relative; overflow: hidden; background: rgba(14, 44, 88, 0.08); display: block; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.r14 { border-radius: 14px; }
.ph.r16 { border-radius: 16px; }
.ph.r24 { border-radius: 24px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* Strop 72 px: 6vw na širokém monitoru vyroste přes 150 px a logo se pak
     odlepí od kraje. Na mobilu je --pad-x 22 px, takže min() nechá 22 px
     a lišta zůstane zarovnaná se zbytkem obsahu. */
  padding: 16px min(var(--pad-x), 72px);
  background: var(--nav-bg);
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 6px 20px -8px rgba(14, 44, 88, 0.25);
  overflow: hidden;
}
.nav__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 85% 80%;
  mix-blend-mode: multiply; pointer-events: none;
}
.nav__logo { display: flex; align-items: center; position: relative; z-index: 1; }
.nav__logo img { height: 64px; width: auto; display: block; }

.nav__right { display: flex; align-items: center; gap: 26px; position: relative; z-index: 1; }

/* notová osnova v menu */
.staff { position: relative; display: flex; align-items: flex-start; }
.staff__lines {
  position: absolute; left: -6px; right: 16px; top: 2px; height: 32px;
  display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;
}
.staff__lines i { height: 1px; background: rgba(14, 44, 88, 0.28); }
.staff__clef { position: relative; width: 24px; height: 36px; flex-shrink: 0; }
.staff__clef span {
  position: absolute; left: 2px; top: -9px;
  font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--navy); opacity: 0.8;
}
.staff__end {
  width: 16px; height: 38px; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 2px;
}
.staff__end div { display: flex; gap: 3px; height: 32px; }
.staff__end i:first-child { width: 1.4px; height: 32px; background: rgba(14, 44, 88, 0.5); }
.staff__end i:last-child { width: 3px; height: 32px; background: var(--navy); }

.note-link {
  position: relative; display: flex; flex-direction: column; align-items: center;
  color: var(--navy); cursor: pointer;
}
.note-link:hover { color: var(--gold); }
.note-link:hover span { text-decoration: underline; }
.note-link__glyph { position: relative; width: 100%; height: 36px; }
.note-link__stem { position: absolute; width: 1.4px; background: currentColor; }
.note-link__head {
  position: absolute; left: 50%; width: 14px; height: 10px; background: currentColor;
  border-radius: 50%; transform: translateX(-50%) rotate(-20deg);
}
.note-link span { font-size: 10.5px; font-weight: 700; margin-top: 4px; white-space: nowrap; }

.nav__contact {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700;
}
.nav__contact:hover { text-decoration: underline; }
.nav__fb { display: inline-flex; color: var(--navy); }
.nav__fb:hover { color: var(--gold); }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1.5px solid var(--navy); border-radius: 10px;
  background: transparent; cursor: pointer; position: relative; z-index: 1; color: var(--navy);
}
.nav__toggle i { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav__toggle i::before, .nav__toggle i::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.nav__toggle i::before { top: -6px; }
.nav__toggle i::after { top: 6px; }
.nav__toggle[aria-expanded="true"] i { background: transparent; }
.nav__toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: 88vh; background: var(--navy);
}
.hero__text {
  position: relative; z-index: 0; padding: 9vh 5vw 8vh var(--pad-x);
  color: var(--cream); display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.hero__kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px; position: relative;
}
.hero h1 { position: relative; font-weight: 700; margin: 0; line-height: 0.95; }
.hero h1 span { display: block; }
.hero h1 .l1, .hero h1 .l3 { font-size: clamp(30px, 5.2vw, 74px); font-style: italic; font-weight: 600; }
.hero h1 .l2 { font-size: clamp(46px, 8vw, 114px); color: var(--gold); }
.hero h1 .l4 {
  font-size: clamp(46px, 8vw, 114px);
  -webkit-text-stroke: 2px var(--cream); color: transparent;
}
.hero__lead {
  position: relative; font-size: 18px; line-height: 1.6; opacity: 0.8;
  max-width: 460px; margin: 36px 0 0;
}
.hero__cta { position: relative; display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer; border: none;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { color: var(--navy); filter: brightness(1.08); }
.btn--ghost { border: 1.5px solid rgba(247, 244, 238, 0.5); color: var(--cream); }
.btn--ghost:hover { color: var(--gold); border-color: var(--gold); }

.hero__art {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--cream) 0%, var(--sand) 45%, var(--sand-deep) 85%, var(--gold) 100%);
}
.hero__art .nav__bg { object-position: 90% 85%; opacity: 0.9; }
.blob { position: absolute; border-radius: 50%; }
.blob--1 { right: -80px; top: -80px; width: 340px; height: 340px; background: var(--navy); opacity: 0.12; }
.blob--2 { left: 20px; bottom: 60px; width: 180px; height: 180px; background: var(--navy); opacity: 0.9; }
.blob--3 { left: 24px; top: 24px; width: 110px; height: 110px; background: var(--gold); opacity: 0.7; }
.blob--4 { right: 24px; bottom: 24px; width: 130px; height: 130px; background: var(--navy); opacity: 0.18; }

.hero__photo { position: absolute; box-shadow: 0 30px 60px -20px rgba(14, 44, 88, 0.4); }
.hero__photo--1 { width: 46%; height: 52%; left: 8%; top: 14%; --r: -4deg; animation: drift 7s ease-in-out infinite; }
.hero__photo--2 { width: 40%; height: 38%; right: 6%; top: 10%; --r: 5deg; animation: drift 8s ease-in-out infinite 0.5s; }
.hero__photo--3 { width: 42%; height: 36%; right: 14%; bottom: 8%; --r: -3deg; animation: drift 9s ease-in-out infinite 1s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}

/* ---------- běžící pás ---------- */
.marquee {
  background: var(--gold); color: var(--navy); padding: 16px 0;
  overflow: hidden; border-bottom: 2px solid var(--navy);
}
.marquee__track {
  display: inline-block; white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: var(--serif); font-size: 24px; font-weight: 600; font-style: italic;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- O ŠKOLE ---------- */
.about {
  padding: 110px var(--pad-x); display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center; max-width: var(--maxw); margin: 0 auto;
}
.about h2 {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; font-style: italic; margin: 0 0 26px;
}
.about p { font-size: 17px; line-height: 1.75; opacity: 0.85; margin: 0 0 20px; }
.about p:last-of-type { margin-bottom: 36px; }
.stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stats__num { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--gold); }
.stats__lbl { font-size: 13px; opacity: 0.6; }
.about__figure { position: relative; }
.about__figure::before {
  content: ''; position: absolute; inset: -20px 20px 20px -20px;
  background: var(--gold); border-radius: 24px; opacity: 0.25; z-index: 0;
}
.about__figure .ph { position: relative; width: 100%; height: 480px; z-index: 1; }

/* ---------- OBORY ---------- */
.obory {
  padding: 110px var(--pad-x) 130px; background: var(--navy); color: var(--cream);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}
.obory .section-title { max-width: 640px; margin-bottom: 60px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: rgba(247, 244, 238, 0.06); border: 1px solid rgba(247, 244, 238, 0.15);
  border-radius: var(--radius); padding: 44px;
}
.card h3 {
  font-size: 30px; font-weight: 600; margin: 0 0 20px; color: var(--gold);
}
.card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px; font-size: 16px;
}
.card li { padding-left: 24px; position: relative; }
.card li::before { content: attr(data-mark); position: absolute; left: 0; color: var(--gold); }

/* ---------- AKCE / NOVINKY ---------- */
.novinky { padding: 110px var(--pad-x); max-width: var(--maxw); margin: 0 auto; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card {
  cursor: pointer; text-align: left; background: none; border: none; padding: 0;
  font-family: inherit; color: inherit; display: block; width: 100%;
}
.news-card:hover { opacity: 0.85; }
.news-card .ph { width: 100%; height: 200px; margin-bottom: 16px; }
.news-card__date { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.news-card__title { font-family: var(--serif); font-size: 20px; font-weight: 600; }

/* ---------- CENÍK ---------- */
.cenik { padding: 110px var(--pad-x); background: var(--band-bg); }
.cenik__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.price-card {
  background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 40px;
}
.price-card h3 { font-size: 26px; font-weight: 600; margin: 0 0 24px; color: var(--gold); }
.price-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(247, 244, 238, 0.15);
}
.price-row:last-child { border-bottom: none; }

/* ---------- GALERIE ---------- */
.galerie { padding: 110px var(--pad-x); max-width: var(--maxw); margin: 0 auto; }
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 18px;
}
.gal-grid .ph { width: 100%; height: 100%; cursor: pointer; border: none; padding: 0; }
.gal-grid .ph img { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gal-grid .ph:hover img { transform: scale(1.05); }
.sp-c2 { grid-column: span 2; }
.sp-r2 { grid-row: span 2; }

/* ---------- KONTAKT / PATIČKA ---------- */
.kontakt {
  background: var(--navy); color: var(--cream); padding: 100px var(--pad-x) 40px;
}
.kontakt a { color: var(--cream); }
.kontakt a:hover { color: var(--gold); text-decoration: underline; }
.kontakt__top {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px;
  align-items: start; margin-bottom: 64px;
}
.kontakt__people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lbl {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.6; margin-bottom: 14px;
}
.person__name { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.person__lines { font-size: 15px; opacity: 0.85; display: flex; flex-direction: column; gap: 6px; }

.form {
  background: rgba(247, 244, 238, 0.06); border: 1px solid rgba(247, 244, 238, 0.15);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.form__title { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 2px; }
.form input, .form textarea {
  padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(247, 244, 238, 0.3);
  background: rgba(247, 244, 238, 0.06); color: var(--cream);
  font-size: 15px; font-family: inherit; width: 100%;
}
.form textarea { resize: vertical; min-height: 92px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(247, 244, 238, 0.55); }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .btn { align-self: flex-start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done {
  background: rgba(250, 181, 1, 0.12); border: 1px solid rgba(250, 181, 1, 0.4);
  border-radius: 16px; padding: 36px; font-family: var(--serif);
  font-size: 22px; font-style: italic;
}
.form__done[hidden] { display: none; }
.form__error { color: #ffd9d9; font-size: 14px; }
.form__error[hidden] { display: none; }

.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
.maps > div { border-radius: var(--radius); overflow: hidden; height: 280px; background: rgba(0, 0, 0, 0.2); }
.maps iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.1); display: block; }

.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 36px 40px; background: rgba(0, 0, 0, 0.18); border-radius: var(--radius); font-size: 14px;
}
.footer-grid h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--gold); margin: 0 0 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; opacity: 0.85; }
.footer-note { opacity: 0.85; line-height: 1.6; font-size: 13px; margin-bottom: 16px; }
.footer-fine { opacity: 0.7; font-size: 12px; }
/* Spodní pruh: copyright vlevo, podpis přesně uprostřed.
   Krajní sloupce jsou stejné (1fr), takže prostřední auto sloupec
   sedí ve středu bez ohledu na délku copyrightu. */
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: baseline; gap: 10px 20px;
  font-size: 13px; opacity: 0.5;
}
.copyright { grid-column: 1; }
.credit { grid-column: 2; text-align: center; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- LIGHTBOX ---------- */
.lb {
  position: fixed; inset: 0; background: rgba(14, 44, 88, 0.94); z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px;
}
.lb[hidden] { display: none; }
.lb__inner { position: relative; max-width: 900px; width: 100%; }
.lb__close {
  position: absolute; top: -52px; right: 0; background: transparent; border: 0;
  color: var(--cream); font-size: 28px; cursor: pointer; line-height: 1; padding: 4px 10px;
}
.lb__date { color: var(--gold); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.lb__title {
  color: var(--cream); font-size: clamp(22px, 4vw, 32px);
  font-weight: 600; margin: 0 0 24px;
}
.lb__stage {
  position: relative; border-radius: 16px; overflow: hidden;
  height: min(560px, 60vh); background: var(--navy);
}
.lb__stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.4); color: var(--cream); font-size: 22px; cursor: pointer;
}
.lb__nav:hover { background: rgba(0, 0, 0, 0.65); }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__nav[hidden] { display: none; }
.lb__count { color: var(--cream); opacity: 0.75; font-size: 13px; margin-top: 12px; text-align: center; }
body.lb-open { overflow: hidden; }

/* =====================================================================
   RESPONZIVITA
   ===================================================================== */

/* --- notový navigační pruh se přestane vejít → hamburger ---
   Vodorovné menu potřebuje 729 px (logo 197 + navigace 532). Při 900 px
   šířky zbývá po odečtení odsazení 793 px, takže se ještě vejde.
   Níž než sem breakpoint posouvat nelze. Pozor: rozhoduje šířka v CSS
   pixelech, ne fyzické rozlišení — Windows na 150 % dělá z 1920 px jen 1280. */
@media (max-width: 900px) {
  .nav { overflow: visible; }
  .nav__toggle { display: flex; }
  .nav__right {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-bg); border-bottom: 2px solid var(--navy);
    padding: 8px min(var(--pad-x), 72px) 20px;
    box-shadow: 0 14px 24px -12px rgba(14, 44, 88, 0.45);
    display: none;
  }
  .nav.is-open .nav__right { display: flex; }
  .staff { flex-direction: column; align-items: stretch; }
  .staff__lines, .staff__clef, .staff__end { display: none; }
  .note-link {
    flex-direction: row; align-items: center; justify-content: flex-start;
    width: auto !important; padding: 14px 2px; gap: 12px;
    border-bottom: 1px solid rgba(14, 44, 88, 0.12);
  }
  .note-link__glyph { width: 18px; height: 22px; flex-shrink: 0; }
  .note-link__stem { top: 0 !important; left: 11px !important; height: 16px !important; }
  .note-link__head { top: 12px !important; left: 6px !important; }
  .note-link span { font-size: 16px; margin-top: 0; }
  .nav__contact { padding: 16px 2px; font-size: 16px; }
  .nav__fb { padding: 6px 2px; }
}

/* --- tablet --- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr; }
  .kontakt__top { grid-template-columns: 1fr; gap: 40px; }
  .about { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- hero a hlavní bloky na jeden sloupec --- */
@media (max-width: 900px) {
  :root { --pad-x: 22px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 56px var(--pad-x) 48px; }
  .hero__art { height: 62vw; min-height: 300px; max-height: 460px; }
  .hero__lead { font-size: 16px; margin-top: 28px; }
  .hero__cta { margin-top: 32px; }
  .about { grid-template-columns: 1fr; padding: 72px var(--pad-x); }
  .about__figure { order: -1; }
  .about__figure .ph { height: 300px; }
  .obory { padding: 84px var(--pad-x) 96px; clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%); }
  .card { padding: 32px; }
  .novinky, .cenik, .galerie { padding: 72px var(--pad-x); }
  .news-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cenik__grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; }
  .maps { grid-template-columns: 1fr; }
  .maps > div { height: 240px; }
  .kontakt { padding: 72px var(--pad-x) 32px; }
  .section-title { margin-bottom: 40px; }
  .marquee__track { font-size: 20px; }
  .stats { gap: 28px; }
  .stats__num { font-size: 36px; }
}

/* --- mobil --- */
@media (max-width: 560px) {
  .nav__logo img { height: 48px; }
  .hero__text { padding: 44px var(--pad-x) 40px; }
  .hero__kicker { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 20px; }
  .hero h1 .l1, .hero h1 .l3 { font-size: 30px; }
  .hero h1 .l2, .hero h1 .l4 { font-size: 46px; }
  .hero h1 .l4 { -webkit-text-stroke-width: 1.4px; }
  .hero__cta { gap: 10px; }
  .btn { padding: 14px 22px; font-size: 14px; flex: 1 1 auto; }
  .kontakt__people { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; padding: 28px 24px; }
  .form { padding: 24px; }
  .form .btn { align-self: stretch; }
  .price-card, .card { padding: 26px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card .ph { height: 190px; }
  .gal-grid { grid-auto-rows: 132px; }
  .lb { padding: 20px; }
  .lb__close { top: -42px; }
  .lb__stage { height: 52vh; }
  .about p { font-size: 16px; }
  /* na úzkém displeji se vedle sebe nevejdou → pod sebe, obojí na střed */
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .copyright, .credit { grid-column: 1; }
}

/* --- velmi široké obrazovky: ať text hera neuteče od okraje --- */
@media (min-width: 1800px) {
  .hero__text { padding-left: calc((100vw - var(--maxw)) / 2 + 40px); }
}

/* --- uživatel si nepřeje animace --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- tisk --- */
@media print {
  .nav, .marquee, .maps, .form, .lb, .deco { display: none !important; }
  body { background: #fff; color: #000; }
  .obory, .kontakt, .price-card {
    background: #fff !important; color: #000 !important; clip-path: none !important;
  }
}
