/* ===== Tokens ===== */
:root {
  --bg: #f7f2ea;
  --bg-alt: rgba(139, 100, 64, 0.06);
  --card: #fffdfa;
  --glass: rgba(255, 253, 250, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --text: #2e2a24;
  --text-muted: #7a7062;
  --accent: #a97d55;
  --accent-2: #7c5b3a;
  --accent-gradient: linear-gradient(135deg, #ddb076 0%, #a9784f 55%, #7c5b3a 100%);
  --border: #e2d7c3;
  --radius: 16px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 163, 99, 0.25), transparent 38%),
    radial-gradient(circle at 92% 20%, rgba(122, 87, 51, 0.18), transparent 42%),
    radial-gradient(circle at 50% 95%, rgba(214, 163, 99, 0.16), transparent 46%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Jost', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { margin-bottom: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
  font-family: 'Jost', sans-serif;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(122, 87, 51, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 18px 34px -8px rgba(122, 87, 51, 0.65);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 253, 250, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 242, 234, 0.65);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
  font-family: 'Jost', sans-serif;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 154, 103, 0.25), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(122, 87, 51, 0.18), transparent 55%);
  z-index: -1;
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
}
.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
}
.hero-stats div span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero visual: real photo of the booth */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(60, 45, 25, 0.45);
  border: 6px solid var(--card);
  max-width: 380px;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 20px 40px -20px rgba(60, 45, 25, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.hero-tag span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Feature grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 40px -28px rgba(90, 62, 30, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -24px rgba(90, 62, 30, 0.45);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -8px rgba(122, 87, 51, 0.5);
}
.icon-badge svg { width: 24px; height: 24px; stroke: #fff; }

.card h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Jost', sans-serif; font-weight: 600; }
.card p { font-size: 0.92rem; margin-bottom: 0; }

/* ===== Occasions ===== */
.occasion-card {
  position: relative;
  border-radius: var(--radius);
  padding: 32px 24px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px -28px rgba(90, 62, 30, 0.4);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.occasion-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -24px rgba(90, 62, 30, 0.45);
}
.occasion-card .icon-badge { margin: 0 auto 18px; }

.emoji-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  margin: 0 auto 18px;
  box-shadow: 0 12px 26px -10px rgba(122, 87, 51, 0.4);
  transition: transform 0.2s ease;
}
.occasion-card:hover .emoji-badge { transform: scale(1.08) rotate(-4deg); }
.occasion-card h3 { font-size: 1rem; margin-bottom: 4px; font-family: 'Jost', sans-serif; font-weight: 600; }
.occasion-card p { font-size: 0.85rem; margin-bottom: 0; }

/* ===== How it works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; font-family: 'Jost', sans-serif; font-weight: 600; }
.step p { font-size: 0.9rem; margin-bottom: 0; }

/* ===== Pricing calculator ===== */
.calculator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 30px 60px -30px rgba(90, 62, 30, 0.4);
}
.calc-inputs h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.calc-hint { font-size: 0.82rem; margin-top: 8px; margin-bottom: 0; }

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  margin-top: 14px;
}

.checkbox-field { margin-top: 32px; }
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.calc-result {
  background: rgba(233, 214, 186, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.calc-row strong { color: var(--text); font-weight: 600; font-family: 'Jost', sans-serif; }
.calc-row[hidden] { display: none; }
.field[hidden] { display: none; }
.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  margin-bottom: 20px;
}
.calc-total span { font-size: 0.95rem; color: var(--text-muted); }
.calc-total strong { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--text); }
.calc-refund-note {
  font-size: 0.85rem;
  color: var(--accent-2);
  background: rgba(201, 154, 103, 0.16);
  border-radius: 10px;
  padding: 10px 14px;
  margin: -6px 0 20px;
}

/* ===== Přepínač typu akce ===== */
.type-toggle {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.type-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.type-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

/* ===== Blok pro maturitní plesy ===== */
.ples-callout {
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ples-callout-text { flex: 1; min-width: 240px; }
.ples-callout h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ples-callout p { margin-bottom: 0; }

/* ===== Gallery teaser ===== */
.gallery-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.gallery-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 16px 30px -20px rgba(90, 62, 30, 0.4);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(35, 24, 12, 0.75), transparent);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.gallery-mock .lock {
  grid-column: span 3;
  border-radius: 12px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info .icon-badge { flex-shrink: 0; margin-bottom: 0; }
.contact-info h4 { font-size: 0.95rem; margin-bottom: 2px; font-family: 'Jost', sans-serif; font-weight: 600; }
.contact-info p { font-size: 0.9rem; margin-bottom: 0; }

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; color: var(--text-muted); }
input, select, textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 6px 24px;
  box-shadow: 0 16px 32px -26px rgba(90, 62, 30, 0.35);
}
.faq-item summary {
  padding: 18px 0;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin: -6px 0 18px;
  font-size: 0.92rem;
}

/* ===== Gallery page ===== */
.page-hero {
  padding: 160px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { max-width: 560px; margin: 0 auto; }

.event-list { display: grid; gap: 16px; }
.event-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px -28px rgba(90, 62, 30, 0.4);
  transition: transform 0.2s ease;
}
.event-card:hover { transform: translateY(-2px); }
.event-photos { display: flex; gap: 8px; flex-shrink: 0; }
.event-photos .tile { width: 68px; height: 68px; border-radius: 10px; }
.event-card .meta h3 { font-size: 1.05rem; margin-bottom: 4px; font-family: 'Jost', sans-serif; font-weight: 600; }
.event-card .meta span { font-size: 0.85rem; color: var(--text-muted); }
.event-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 8px;
}

.lost-link {
  text-align: center;
  margin-top: 56px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-request {
  margin-top: 56px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px -30px rgba(90, 62, 30, 0.4);
}
.gallery-request h3 { font-size: 1.3rem; margin-bottom: 8px; }
.gallery-request > p { max-width: 640px; margin-bottom: 28px; }

/* ===== Utilities ===== */
.mt-0 { margin-top: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .gallery-teaser, .contact-wrap { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 40px; order: -1; }
  .grid, .grid.cols-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .calculator { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn-primary { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 140px 0 80px; }
  .grid, .grid.cols-3, .steps { grid-template-columns: 1fr; }
  .calculator { padding: 28px; }
  form { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-photos { order: -1; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-tag { left: 12px; bottom: -16px; }
}

/* ===== Mobile nav drawer ===== */
.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: rgba(255, 253, 250, 0.8);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
  box-shadow: 0 20px 40px -20px rgba(60, 45, 25, 0.35);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
}

/* ===== Scroll-in animace ===== */
.js-anim .card,
.js-anim .occasion-card,
.js-anim .step,
.js-anim .calculator,
.js-anim .faq-item,
.js-anim .event-card,
.js-anim .tile {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim .card.is-visible,
.js-anim .occasion-card.is-visible,
.js-anim .step.is-visible,
.js-anim .calculator.is-visible,
.js-anim .faq-item.is-visible,
.js-anim .event-card.is-visible,
.js-anim .tile.is-visible {
  opacity: 1;
  transform: none;
}
/* Obnoví hover efekty (nadzvednutí karty), které by jinak přebilo pravidlo výše */
.js-anim .card.is-visible:hover { transform: translateY(-3px); }
.js-anim .occasion-card.is-visible:hover { transform: translateY(-4px); }
.js-anim .event-card.is-visible:hover { transform: translateY(-2px); }

.grid > *:nth-child(2), .steps > *:nth-child(2), .photo-strip > *:nth-child(2), .gallery-mock > *:nth-child(2) { transition-delay: 0.08s; }
.grid > *:nth-child(3), .steps > *:nth-child(3), .photo-strip > *:nth-child(3), .gallery-mock > *:nth-child(3) { transition-delay: 0.16s; }
.grid > *:nth-child(4), .steps > *:nth-child(4), .photo-strip > *:nth-child(4), .gallery-mock > *:nth-child(4) { transition-delay: 0.24s; }
.photo-strip > *:nth-child(5), .gallery-mock > *:nth-child(5) { transition-delay: 0.32s; }
.photo-strip > *:nth-child(6), .gallery-mock > *:nth-child(6) { transition-delay: 0.4s; }
.photo-strip > *:nth-child(7) { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .js-anim .card, .js-anim .occasion-card, .js-anim .step, .js-anim .calculator,
  .js-anim .faq-item, .js-anim .event-card, .js-anim .tile {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Konfety (easter egg na cedulce CROSSBOX) ===== */
.hero-tag { cursor: pointer; }
.confetti-piece {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9999;
  animation: confetti-fly 0.9s ease-out forwards;
}
@keyframes confetti-fly {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* ===== Sociální sítě ===== */
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.social-links svg { width: 18px; height: 18px; }

/* ===== Trust badge u kontaktu ===== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-2);
}

/* ===== Plovoucí CTA na mobilu ===== */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .sticky-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .sticky-cta .btn { box-shadow: 0 16px 32px -8px rgba(122, 87, 51, 0.55); }
}

/* ===== Lightbox (zvětšení fotek z galerie) ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 10000;
  padding: 60px 24px;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(90vw, 1100px);
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  opacity: 0.85;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
body.lightbox-locked { overflow: hidden; }

.gallery-mock .tile, .photo-strip .tile { cursor: zoom-in; }

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-close { width: 38px; height: 38px; top: 10px; right: 10px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-overlay { padding: 40px 16px; }
}
