/* Vylepši párty. Mobile-first, bez frameworku. */

/* Fonty jsou podmnožiny jen s latinkou a českou diakritikou, viz scripts/fonts.mjs */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400 600; font-display: swap; src: url("/fonts/figtree.woff2") format("woff2"); }

:root {
  /* Barvy z loga: uhel z „Vylepší“, zlatá z „party“, listy a olivová z věnce */
  --paper: #FBFAF7;        /* podklad, bílý ubrus */
  --white: #FFFFFF;
  --butter: #F7EFD9;       /* teplý pás, světlá zlatá */
  --linen: #F1ECE2;        /* lněný pás */
  --leaf: #CCBEA4;         /* linky, dekor */
  --olive: #5F6344;        /* tmavá sekce, bílý text AA */
  --gold: #D5A83F;         /* dekor, plochy s tmavým textem */
  --gold-deep: #B5832A;    /* velké nadpisy a čísla (3:1 pro velký text) */
  --gold-ink: #86661C;     /* malý zlatý text, AA */
  --gold-light: #F3DDA0;   /* zlatý text na olivové a tmavé */
  --ink: #3A3A39;          /* text, primární tlačítko */
  --ink-soft: #5E5C57;
  --line: #E3DACB;
  --danger: #A3322A;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --wrap: 1200px;
  --gutter: 16px;
  --radius: 10px;
  --header-h: 64px;
  --section-y: clamp(64px, 10vw, 128px);

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin: 0 0 .45em; letter-spacing: -0.015em; }
h1 { font-weight: 700; font-size: clamp(46px, 11.5vw, 108px); line-height: .98; letter-spacing: -0.03em; }
h2 { font-weight: 650; font-size: clamp(34px, 6.2vw, 60px); }
h3 { font-weight: 600; font-size: 24px; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-deep); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-soft); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 8px; }

/* Viditelné TODO, aby nic nezapadlo před spuštěním */
.todo {
  display: inline-block; font-family: var(--sans); font-style: normal; font-size: 13px; line-height: 1.4; font-weight: 500;
  background: #FFF1BF; color: #5A4300; border: 1px dashed #C9A227; border-radius: 6px; padding: 3px 8px;
}
p.todo { display: block; width: fit-content; }

/* Jiskřička z loga */
.spark { width: 1em; height: 1em; fill: var(--gold); flex: none; }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: background .2s, color .2s, transform .2s var(--ease), border-color .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #242423; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.text-link {
  color: var(--gold-ink); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.text-link:hover { background-size: 40% 1.5px; }

/* Hlavička */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.brand { margin-right: auto; display: block; }
.brand img { height: 46px; width: auto; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer;
}
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none;
}
.nav.open { display: block; animation: drop .3s var(--ease); }
.nav ul a { display: block; padding: 13px 0; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-cta { margin-top: 16px; width: 100%; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

@media (min-width: 960px) {
  :root { --header-h: 80px; --gutter: 32px; }
  .brand img { height: 56px; }
  .menu-toggle, .header-call { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 32px; padding: 0; border: 0; background: none; }
  .nav ul { display: flex; gap: 26px; }
  .nav ul a { padding: 6px 0; border: 0; font-family: var(--sans); font-size: 15px; font-weight: 500; position: relative; }
  .nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav ul a:hover::after { transform: scaleX(1); }
  .nav-cta { margin: 0; width: auto; }
}

/* HERO */
.hero { padding: 20px 0 0; }
.hero-head { display: grid; gap: 22px; padding-bottom: 32px; }
.hero h1 { margin: 0; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin-bottom: -.1em; }
.hero h1 .line > span { display: inline-block; }
.spark-h1 { font-size: .38em; vertical-align: .9em; margin-left: .12em; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.actions .btn { flex: 1 1 auto; }

.hero-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.hero-strip::-webkit-scrollbar { display: none; }
.hero-strip figure { flex: 0 0 78%; scroll-snap-align: center; overflow: hidden; border-radius: 6px; background: var(--linen); }
.hero-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-video { position: relative; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-video video.playing { opacity: 1; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; background: rgba(251, 250, 247, .88); color: var(--ink);
}
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.video-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding-top: 22px; padding-bottom: 28px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

@media (min-width: 760px) {
  .actions .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .hero { padding-top: 40px; }
  .hero-head { grid-template-columns: 8fr 4fr; align-items: end; gap: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(64px, 6.8vw, 96px); }
  .hero-side { padding-bottom: 10px; }
  .hero-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px; overflow: visible; }
  .hero-strip figure:nth-child(2) { transform: translateY(40px); }
  .hero-strip img { aspect-ratio: auto; height: clamp(420px, 66vh, 760px); }
  .facts { padding-top: 76px; }
}

/* Pás s příležitostmi */
.ribbon { background: var(--olive); color: var(--paper); overflow: hidden; padding: 18px 0; cursor: pointer; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.2vw, 32px); white-space: nowrap; }
.ribbon .spark { width: 18px; height: 18px; fill: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .ribbon { cursor: default; }
  .ribbon-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 6px 24px; padding: 0 var(--gutter); white-space: normal; font-size: 22px; }
  .ribbon-track .spark { display: none; }
}

/* Sekce */
.section { padding: var(--section-y) 0; }
.band-butter { background: var(--butter); }
.band-linen { background: var(--linen); }
.band-olive { background: var(--olive); color: var(--paper); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head p:not(.eyebrow):not(.todo) { color: var(--ink-soft); font-size: 18px; }

/* Úvod „bez starosti“ */
.intro-grid { display: grid; gap: 56px; align-items: center; }
.intro-text p:not(.eyebrow) { font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.intro-text .text-link { font-size: 17px; }
.arch-photo { position: relative; width: min(84%, 440px); margin: 0 auto; }
.arch-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 10px 10px; background: var(--linen); }
.wreath { position: absolute; fill: none; stroke: var(--gold); stroke-width: 1.1; overflow: visible; pointer-events: none; }
.arch-photo .wreath { z-index: 0; width: 118%; left: -9%; top: -6%; }
.arch-photo .spark { position: absolute; z-index: 2; }
.spark-a { width: 34px; height: 34px; top: 6%; right: -4%; }
.spark-b { width: 20px; height: 20px; bottom: 14%; left: -6%; }
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: 6fr 5fr; gap: 96px; }
}

/* Jak to funguje */
.steps { display: grid; gap: 28px; position: relative; }
.steps li { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: start; }
.steps .blob {
  grid-row: span 2; width: 84px; height: 84px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
  background: var(--gold); color: var(--ink);
}
.steps li:nth-child(2) .blob { background: var(--olive); color: var(--paper); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
.steps li:nth-child(3) .blob { background: var(--leaf); border-radius: 52% 48% 62% 38% / 42% 58% 42% 58%; }
.steps li:nth-child(4) .blob { background: var(--gold-deep); color: #fff; border-radius: 40% 60% 48% 52% / 55% 40% 60% 45%; }
.steps li:nth-child(5) .blob { background: var(--olive); color: var(--paper); }
.steps h3 { margin: 10px 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps::before {
    content: ""; position: absolute; top: 52px; left: 10%; right: 10%;
    border-top: 2px dashed var(--leaf); transform-origin: left; transition: transform 1.6s var(--ease) .3s;
  }
  .steps li { display: block; text-align: center; position: relative; }
  .steps .blob { width: 104px; height: 104px; font-size: 46px; margin: 0 auto 18px; }
}

/* Co zákazníci chválí */
.features { display: grid; gap: clamp(64px, 10vw, 120px); }
.feature { display: grid; gap: 28px; align-items: center; }
.feature-photo { overflow: hidden; border-radius: 10px; background: var(--linen); }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature .num { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(64px, 12vw, 120px); line-height: .9; color: var(--gold-deep); margin-bottom: 8px; }
.feature h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 650; }
.feature p { color: var(--ink-soft); font-size: 18px; max-width: 30em; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature:nth-child(even) .feature-photo { order: 2; }
  .feature-photo { max-width: 520px; }
  .feature:nth-child(even) .feature-photo { justify-self: end; }
}

/* Balíčky */
.packages {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px; scrollbar-width: none;
}
.packages::-webkit-scrollbar { display: none; }
.package {
  flex: 0 0 80%; scroll-snap-align: center; display: flex; flex-direction: column;
  background: var(--paper); border-radius: 16px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.package:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -24px rgba(58, 58, 57, .45); }
.package-photo { position: relative; }
.package-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--butter); }
.sticker {
  position: absolute; right: 16px; bottom: -34px; z-index: 1; margin: 0;
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--gold); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.05;
  transform: rotate(-10deg); transition: transform .5s var(--ease);
}
.sticker span { display: block; font-size: 14px; font-weight: 500; }
.package:hover .sticker { transform: rotate(6deg) scale(1.06); }
.package-body { padding: 26px 22px 24px; flex: 1; }
.package-body h3 { padding-right: 96px; }
.package-body p { color: var(--ink-soft); font-size: 16px; margin-bottom: 8px; }
.pkg-list { display: grid; gap: 4px; margin: 4px 0 8px; font-size: 15px; color: var(--ink-soft); }
.pkg-list li { display: flex; align-items: baseline; gap: 8px; }
.pkg-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
.on-request { margin-top: 28px; display: grid; gap: 18px; justify-items: start; }
.on-request p { margin: 0; max-width: 42em; font-size: 18px; }
@media (min-width: 640px) {
  .packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; overflow: visible; max-width: var(--wrap); margin: 0 auto; }
}
@media (min-width: 1100px) {
  .packages { grid-template-columns: repeat(4, 1fr); }
  .package-body h3 { padding-right: 0; font-size: 22px; }
}
@media (min-width: 760px) { .on-request { grid-template-columns: 1fr auto; align-items: center; } }

/* Pikniky */
.picnic { position: relative; padding: 0 0 var(--section-y); }
.picnic-bg { height: 72vw; max-height: 520px; overflow: hidden; background: var(--butter); }
.picnic-bg img { width: 100%; height: 100%; object-fit: cover; }
.picnic-card {
  position: relative; z-index: 1; margin-top: -72px; background: var(--paper);
  border-radius: 18px; padding: 32px 22px; max-width: 580px;
}
.picnic-card h2 { font-size: clamp(32px, 5.4vw, 52px); }
.picnic-card p { color: var(--ink-soft); }
.spark-card { position: absolute; top: 22px; right: 22px; width: 28px; height: 28px; }
.places-title { font-weight: 600; color: var(--ink) !important; margin-bottom: 10px; }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-bottom: 22px; font-size: 15px; color: var(--ink-soft); }
.includes li { display: flex; align-items: baseline; gap: 8px; }
.includes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-2px); }
@media (max-width: 380px) { .includes { grid-template-columns: 1fr; } }
.places { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.places li { border: 1px solid var(--leaf); border-radius: 999px; padding: 6px 14px; font-size: 15px; background: var(--white); }
@media (min-width: 860px) {
  .picnic { padding: clamp(120px, 14vw, 180px) 0; }
  .picnic-bg { position: absolute; inset: 0; height: auto; max-height: none; }
  .picnic-card { margin: 0; padding: 48px 44px; }
}

/* Ceník jako tištěné menu */
.menu {
  background: var(--white); border: 1px solid var(--leaf); outline: 1px solid var(--leaf); outline-offset: -10px;
  border-radius: 4px; padding: 44px 22px 30px;
}
.menu-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.menu-head .spark { width: 30px; height: 30px; margin: 0 auto 12px; display: block; }
.menu-head p { color: var(--ink-soft); }
.menu-head .todo { margin: 0 auto; }
.price-jump { display: flex; gap: 8px; overflow-x: auto; margin: 0 -22px 24px; padding: 0 22px 4px; scrollbar-width: none; }
.price-jump::-webkit-scrollbar { display: none; }
.price-jump a { flex: none; text-decoration: none; font-size: 15px; font-weight: 500; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; }
.price-groups { display: grid; gap: 36px; }
.price-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); margin-bottom: 4px; }
.pg-head h3 { margin: 0; font-size: 28px; font-weight: 650; }
.pg-thumbs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 50%; }
.pg-thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 50%; background: var(--linen); }
.pg-thumbs.products img { object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 5px; }
.pg-thumbs figcaption { flex-basis: 100%; text-align: right; font-size: 11px; line-height: 1.2; color: var(--ink-soft); }
.prices li { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px dotted var(--leaf); }
.prices li:last-child { border-bottom: 0; }
.prices .item { flex: 1; font-size: 16px; }
.prices small { display: block; font-size: 14px; color: var(--ink-soft); }
.prices .price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.prices .unit { font-weight: 400; color: var(--gold-ink); }
.prices .featured { background: var(--butter); margin: 8px -12px 0; padding: 14px 12px; border-radius: 8px; border-bottom: 0; }
.prices .featured .item { font-weight: 600; }
.price-note { margin: 28px 0 0; text-align: center; color: var(--ink-soft); }
@media (min-width: 860px) {
  .menu { padding: 64px 64px 44px; outline-offset: -12px; }
  .price-jump { display: none; }
  .price-groups { grid-template-columns: 1fr 1fr; gap: 48px 72px; }
}

/* Galerie */
.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.gallery-head h2 { margin: 0; }
.ig { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 8px; padding: 0 8px; }
.gallery li.wide { grid-column: span 2; }
.gallery a { display: block; height: 100%; overflow: hidden; border-radius: 6px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--linen); transition: transform .8s var(--ease); }
.gallery li.wide img { aspect-ratio: 3 / 2; }
.gallery a:hover img { transform: scale(1.05); }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px; }
  .gallery li.wide img { aspect-ratio: auto; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(24, 24, 23, .96); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fade .25s ease; }
.lightbox::backdrop { background: rgba(24, 24, 23, .96); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox :focus-visible { outline-color: #fff; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; bottom: 16px; }
.lb-next { right: 12px; bottom: 16px; }
.lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 14px; opacity: .8; }
@media (min-width: 760px) {
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
}
@keyframes fade { from { opacity: 0; } }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
.faq-aside a { color: var(--ink); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--leaf); }
.faq details:first-child { border-top: 1px solid var(--leaf); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--gold-ink); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-body p { color: var(--ink-soft); padding-right: 24px; margin-bottom: 22px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Poptávka */
.band-olive .eyebrow, .band-olive h2 em { color: var(--gold-light); }
.band-olive a { color: var(--paper); }
.form-wrap { display: grid; gap: 40px; }
.form-intro { position: relative; isolation: isolate; } /* vlastní vrstva, aby kruh mohl jít pod text */
.form-intro h2 { color: var(--paper); }
.form-intro p { font-size: 18px; }
.form-intro a { font-weight: 600; }
.wreath-small { z-index: -1; width: 220px; top: -60px; left: -70px; opacity: .3; }
@media (min-width: 960px) {
  .form-wrap { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .form-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .wreath-small { width: 300px; top: -90px; left: -110px; opacity: .55; }
}

.inquiry, .form-done { background: var(--white); color: var(--ink); border-radius: 18px; padding: 24px 18px; }
.inquiry a, .form-done a { color: var(--ink); }
@media (min-width: 640px) { .inquiry, .form-done { padding: 36px; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.req { color: var(--gold-ink); }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 16px/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid #CFC5B4; border-radius: 10px;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233A3A39' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(213, 168, 63, .4); background: #fff; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: 14px; margin: 6px 0 0; }
.err:empty { display: none; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 16px; min-height: 44px; margin: 0; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--olive); margin: 0; flex: none; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(3, 1fr); } }
#occasion-other-field[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 14px; color: var(--ink-soft); }
.form-status { margin: 12px 0 0; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.error { color: var(--danger); }
.form-done { text-align: center; animation: pop .6s var(--ease); }
.form-done .spark { width: 40px; height: 40px; margin: 0 auto 12px; display: block; }
.form-done h3 { font-size: 30px; }
.form-done:focus { outline: none; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* Hájenka */
.hajenka-wrap { max-width: 760px; }
.hajenka-wrap h2 { font-size: clamp(30px, 4.6vw, 44px); }

/* Patička */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 calc(24px + 80px); font-size: 16px; }
.footer-grid { display: grid; gap: 36px; }
.footer-logo { width: 150px; height: 150px; object-fit: contain; background: var(--paper); border-radius: 50%; padding: 12px; }
.footer-brand p { color: #D9D5CC; margin-top: 16px; max-width: 22em; }
.footer-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer-list li { margin-bottom: 9px; }
.footer-list a { text-underline-offset: 3px; }
.footer-list a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: #D9D5CC; font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 960px) { .site-footer { padding-bottom: 28px; } }

/* Spodní lišta na mobilu */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta .btn { min-height: 48px; }
.mobile-cta.show { transform: none; }
@media (min-width: 960px) { .mobile-cta { display: none; } }

/* Podstránky (zásady, 404, odpověď formuláře bez JS) */
.page { padding: 48px 0 96px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); }
.page h2 { font-size: 26px; margin-top: 1.6em; }
.page ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page li { margin-bottom: .3em; }

/* ============ ANIMACE ============
   Všechno jen přes transform a opacity. Bez JS (třída .js chybí) je obsah rovnou vidět
   a lidé s „omezit pohyb“ v systému animace nedostanou. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Hero: řádky nadpisu vyjedou zespodu, fotky se zvednou postupně */
  .hero h1 .line > span { animation: rise 1s var(--ease) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
  .hero h1 .line:nth-child(3) > span { animation-delay: .18s; }
  .load-in { animation: fade-up .9s var(--ease) .3s both; }
  .hero-strip figure { animation: strip-in 1.1s var(--ease) both; }
  .hero-strip figure:nth-child(2) { animation-delay: .12s; }
  .hero-strip figure:nth-child(3) { animation-delay: .24s; }
  .hero-strip img { animation: settle 1.8s var(--ease) both; }

  /* Jiskřičky jemně blikají */
  .spark { animation: twinkle 3.6s ease-in-out infinite; transform-origin: center; }
  .spark-b, .ribbon .spark:nth-of-type(even) { animation-delay: 1.4s; }

  /* Běžící pás s příležitostmi */
  .ribbon-track { animation: marquee 38s linear infinite; }
  .ribbon:hover .ribbon-track, .ribbon.paused .ribbon-track { animation-play-state: paused; }

  /* Čísla kroků mají „živý“ tvar */
  .steps .blob { animation: morph 9s ease-in-out infinite alternate; }
  .steps li:nth-child(even) .blob { animation-duration: 11s; animation-direction: alternate-reverse; }

  /* Odhalování při scrollu */
  .js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  @media (min-width: 860px) {
    .js .feature-photo.reveal { transform: translateX(-40px); }
    .js .feature:nth-child(even) .feature-photo.reveal { transform: translateX(40px); }
    .js .feature-photo.reveal.in { transform: none; }
  }
  .js .feature-photo.reveal img { transform: scale(1.15); }
  .js .feature-photo.reveal.in img { transform: none; }
  .js .steps::before { transform: scaleX(0); }
  .js .steps.in::before { transform: none; }
  .js .reveal .wreath ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
  .js .reveal .wreath ellipse + ellipse { transition-delay: .6s; }
  .js .reveal.in .wreath ellipse { stroke-dashoffset: 0; }
  .js .picnic-card.reveal { transform: translateY(60px); }
  .js .picnic-card.reveal.in { transform: none; }
  .js .gallery .reveal { transform: translateY(24px) scale(.97); }
  .js .gallery .reveal.in { transform: none; }

  /* Paralaxa u velké fotky pikniku (jen prohlížeče se scroll-driven animacemi) */
  @supports (animation-timeline: view()) {
    .parallax img { animation: parallax linear both; animation-timeline: view(); }
    @media (min-width: 960px) {
      .hero-strip figure:nth-child(2) img { animation: settle 1.8s var(--ease) both, drift linear both; animation-timeline: auto, view(); }
    }
  }
}

@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes strip-in { from { transform: translateY(70px); clip-path: inset(18% 0 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes settle { from { transform: scale(1.14); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .55; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes morph {
  0% { border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 42% 58% 45% 55% / 60% 42% 58% 40%; }
  100% { border-radius: 50% 50% 38% 62% / 44% 56% 44% 56%; }
}
@keyframes parallax { from { transform: translateY(-10%) scale(1.2); } to { transform: translateY(10%) scale(1.2); } }
@keyframes drift { from { transform: translateY(-4%) scale(1.1); } to { transform: translateY(4%) scale(1.1); } }
