/* ═══════════════════════════════════════════════════
   Teambuilding 2026 — Chateau Šanov
   ═══════════════════════════════════════════════════ */

:root {
  --ink:      #09150F;
  --ink-2:    #0C1D15;
  --ink-3:    #112A1F;
  --paper:    #F2EEE4;

  --gold:     #C9A962;
  --gold-lt:  #E6D2A0;

  --cream:    #EFEBE1;
  --muted:    rgba(239,235,225,0.66);
  --dark-txt: #10201A;
  --dark-mut: rgba(16,32,26,0.62);

  --line:     rgba(239,235,225,0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
}
.skip:focus { left: 12px; }

section[id], footer[id] { scroll-margin-top: 84px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ── Typografické primitivy ───────────────────────── */
.display {
  font-family: var(--serif);
  font-feature-settings: "lnum" 1;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
  font-size: clamp(2.6rem, 7.4vw, 5.4rem);
}
.display em { font-style: italic; color: var(--gold-lt); }
.display .dot { color: var(--gold); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
  margin-top: 26px;
}

.note-line { font-size: 0.88rem; color: var(--muted); margin-top: 22px; }
.note-line a { color: var(--gold); text-underline-offset: 3px; }

/* ── Tlačítka ─────────────────────────────────────── */
.btn {
  --btn-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 16px 34px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--btn-y)), 0);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.3s var(--ease),
              transform 0.35s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(201,169,98,0.7);
}
.btn-gold:hover { background: var(--gold-lt); --btn-y: -2px; box-shadow: 0 18px 40px -14px rgba(201,169,98,0.85); }
.btn-line {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(239,235,225,0.28);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-lt); --btn-y: -2px; }
.btn-sm { padding: 11px 22px; font-size: 0.88rem; }
.btn-wide { min-width: 190px; }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* ── Progress + navigace ──────────────────────────── */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 11px 0;
  background: rgba(9,21,15,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.mark { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
.mark:hover { opacity: 0.8; }
.mark-text { font-family: var(--serif); font-size: 1.24rem; letter-spacing: 0.01em; color: var(--cream); }
.nav-links { margin-left: auto; display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right 0.35s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.25s;
}
.nav-cta:hover { background: var(--gold-lt); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.14);
  animation: drift 34s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.14) translate3d(-1.2%, 0.6%, 0); }
  to   { transform: scale(1.22) translate3d(1.4%, -1.2%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,21,15,0.94) 0%, rgba(9,21,15,0.74) 34%, rgba(9,21,15,0.24) 66%, rgba(9,21,15,0.42) 100%),
    linear-gradient(180deg, rgba(9,21,15,0.9) 0%, rgba(9,21,15,0.34) 32%, rgba(9,21,15,0.92) 100%);
}
.hero-grain {
  position: absolute; inset: -50%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
  pointer-events: none;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-3%, 2%) }
  40% { transform: translate(2%, -3%) }
  60% { transform: translate(-2%, -2%) }
  80% { transform: translate(3%, 1%) }
}

.hero-body {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--gutter) 150px;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(22px, 4vw, 40px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.15s forwards;
}
.hero-kicker i { flex: 0 0 42px; height: 1px; background: rgba(201,169,98,0.5); }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.1rem, min(11.5vw, 15.5vh), 8.6rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.05s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.18s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.30s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.42s; }
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-title, .hero-sub { text-shadow: 0 1px 30px rgba(9,21,15,0.55); }

@keyframes riseIn { to { transform: translateY(0); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin-top: clamp(24px, 3.4vw, 38px);
  max-width: 34ch;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  color: rgba(239,235,225,0.78);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.66s forwards;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(30px, 4vw, 46px);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.82s forwards;
}

.hero-scroll {
  position: absolute;
  left: var(--gutter); bottom: 34px;
  display: flex; align-items: center; gap: 14px;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}
.hero-scroll-line { width: 52px; height: 1px; background: rgba(239,235,225,0.3); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  animation: sweep 2.4s var(--ease) infinite;
}
@keyframes sweep {
  0% { transform: translateX(-100%); }
  60%,100% { transform: translateX(100%); }
}
.hero-scroll:hover { color: var(--cream); }

/* ── ODPOČET ──────────────────────────────────────── */
.count {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  padding: clamp(46px, 7vw, 78px) 0;
}
.count-inner { text-align: center; }
.count-label { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.count-grid {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(24px, 6vw, 76px);
  margin: 18px 0 14px;
}
.count-cell { display: flex; flex-direction: column; align-items: center; }
.count-num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--cream);
}
.count-num.tick { animation: tick 0.5s var(--ease); }
@keyframes tick {
  0% { opacity: 0.2; transform: translateY(-30%); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.count-unit { margin-top: 6px; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.count-note { font-size: 0.9rem; color: var(--muted); }

/* ── FAKTA ────────────────────────────────────────── */
.facts { padding: clamp(70px, 10vw, 130px) 0 clamp(30px, 5vw, 60px); }
.fact-list { margin: 0; display: grid; gap: 0; }
.fact {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) 3fr;
  gap: clamp(20px, 5vw, 70px);
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--gold);
}
.fact dd { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.fact dd b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.fact dd span { color: var(--muted); font-size: 0.98rem; }

/* ── Sekce s hlavičkou ────────────────────────────── */
.place, .rooms { padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px); }
.place-head, .program-head { margin-bottom: clamp(40px, 6vw, 72px); }
.place-head .display, .program-head .display { max-width: 15ch; }
.place-head .lede, .program-head .lede { max-width: 48ch; }

/* ── Lentikulární carousel ────────────────────────── */
.carousel {
  --slide-w: clamp(280px, 46vw, 820px);
  --edge: max(var(--gutter), calc((100% - var(--slide-w)) / 2));
  position: relative;
}
.carousel-track {
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px var(--edge) 38px;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -4px; }
.carousel-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel-track.is-dragging .slide { pointer-events: none; }

.slide {
  flex: 0 0 var(--slide-w);
  margin: 0;
  position: relative;
  scroll-snap-align: center;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
  transform-style: preserve-3d;
  will-change: transform;
}
.slide-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.slide-media::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    100deg,
    rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px,
    rgba(0,0,0,0.06) 1px, rgba(0,0,0,0.06) 3px);
  opacity: calc(0.18 + var(--turn, 0) * 0.7);
}
.slide-media::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%;
  width: 90%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg,
    transparent 0%, rgba(255,255,255,0.08) 35%,
    rgba(214,232,255,0.26) 48%, rgba(255,236,206,0.22) 56%,
    rgba(255,255,255,0.06) 68%, transparent 100%);
  transform: translateX(calc(var(--sheen, 0) * 190%));
  opacity: calc(0.25 + var(--turn, 0) * 0.7);
}
.slide-media img {
  position: absolute; top: 0; left: -12%;
  width: 124%; height: 100%;
  object-fit: cover;
  will-change: transform;
  user-select: none; -webkit-user-drag: none;
}
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 56px clamp(16px, 2vw, 26px) clamp(14px, 1.7vw, 20px);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(9,21,15,0.9), transparent);
}

.car-controls { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 24px); margin-top: 2px; }
.car-btn {
  flex: 0 0 auto;
  width: 42px; aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, opacity 0.25s;
}
.car-btn svg { width: 46%; height: 46%; }
.car-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.car-btn[disabled] { opacity: 0.25; pointer-events: none; }

.car-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.car-dots button {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
  background: rgba(239,235,225,0.22);
  cursor: pointer;
  transition: background 0.25s, width 0.35s var(--ease);
}
.car-dots button[aria-selected="true"] { width: 26px; border-radius: 999px; background: var(--gold); }

/* ── PROGRAM ──────────────────────────────────────── */
.program {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  padding: clamp(74px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  position: relative;
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(112px, 158px) minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.6vw, 46px) 0;
}
.tl-rail { position: relative; align-self: stretch; }
.tl-rail::before {
  content: ""; position: absolute;
  left: 50%; top: 12px; height: 200%;
  width: 1px; transform: translateX(-50%);
  background: var(--line);
}
.tl:last-child .tl-rail::before { display: none; }
.tl-node {
  position: absolute; left: 50%; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  transform: translateX(-50%) scale(0.6);
  background: rgba(239,235,225,0.3);
  transition: transform 0.5s var(--ease) 0.1s, background 0.5s var(--ease) 0.1s, box-shadow 0.5s var(--ease);
}
.tl.is-in .tl-node { transform: translateX(-50%) scale(1); }
.tl-key .tl-node { background: var(--gold); }
.tl.tl-key.is-in .tl-node { transform: translateX(-50%) scale(1.35); box-shadow: 0 0 0 5px rgba(201,169,98,0.16); }

.tl-time {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -0.005em;
  padding-top: 2px;
  min-width: 0;
  overflow-wrap: break-word;
}
/* slovní údaj místo času */
.tl-time--word {
  font-size: clamp(1.02rem, 1.7vw, 1.34rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--muted);
  padding-top: 0.62em;
}
.tl-to { display: block; font-size: 0.5em; color: var(--muted); margin-top: 6px; letter-spacing: 0.02em; }
.tl-to::before { content: "→ "; }
.tl-key .tl-time { color: var(--gold-lt); }

.tl-content { padding-top: 4px; min-width: 0; }
.tl-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.tl-content p { color: var(--muted); font-size: 1rem; max-width: 44ch; }
.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border: 1px solid rgba(201,169,98,0.45);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.tl-photo { overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 3; }
.tl-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.72);
  transform: scale(1.06);
  transition: filter 0.7s var(--ease), transform 1.1s var(--ease);
}
.tl.is-in .tl-photo img { filter: grayscale(0) brightness(0.92); transform: scale(1); }
.tl:hover .tl-photo img { transform: scale(1.05); filter: grayscale(0) brightness(1); }

.sub-day {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--gold-lt);
  margin: clamp(30px, 5vw, 60px) 0 0;
  padding-left: calc(26px + clamp(16px, 3vw, 40px));
}
.timeline-short { padding-inline: 0; }
.timeline-short .tl { grid-template-columns: 26px minmax(112px, 158px) minmax(0, 1fr); }

.paid {
  margin-top: clamp(40px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(201,169,98,0.04);
}
.paid h3 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-lt); margin-bottom: 18px; }
.paid ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.paid li { padding: 7px 16px; border: 1px solid rgba(201,169,98,0.3); border-radius: 999px; font-size: 0.9rem; }
.paid p { color: var(--muted); font-size: 0.92rem; }

/* ── Mezi-CTA ────────────────────────────────────── */
.midcta { padding: clamp(56px, 8vw, 96px) 0; }
.midcta-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(30px, 5vw, 54px);
}
.midcta-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.midcta-text em { font-style: italic; color: var(--gold-lt); }

.end-cta { margin-top: clamp(30px, 4vw, 44px); }

/* ── PRAKTICKÉ ────────────────────────────────────── */
.info { padding: clamp(74px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); }
.info .display { margin-bottom: clamp(40px, 6vw, 70px); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--ink-2);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover { border-color: rgba(201,169,98,0.35); transform: translateY(-3px); }
.card h3 {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.card-lead { font-family: var(--serif); font-size: clamp(1.24rem, 2.2vw, 1.6rem); line-height: 1.25; margin-bottom: 10px; }
.card-meta { font-size: 0.92rem; color: var(--muted); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.card-warn {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}
.card .card-warn { margin-top: 22px; }
.card-warn b { color: var(--cream); font-weight: 500; }

.spa-list { list-style: none; margin: 18px 0 0; padding: 0; }
.spa-list li { border-top: 1px solid var(--line); }
.spa-list li:first-child { border-top: none; }
.spa-list a {
  display: block; padding: 10px 0;
  font-size: 0.94rem; color: var(--muted); text-decoration: none;
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.spa-list a:hover { color: var(--gold-lt); padding-left: 8px; }

/* ── Poznámka pod kartami ─────────────────────────── */
.info-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.info-note a { color: var(--gold); }

/* ── VZKAZ ────────────────────────────────────────── */
.note { background: var(--paper); color: var(--dark-txt); padding: clamp(70px, 10vw, 130px) 0; }
.note-inner { max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.note-face {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; margin-bottom: 30px;
  filter: grayscale(1) contrast(1.05);
}
.note blockquote { margin: 0; }
.note blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.note blockquote footer {
  margin-top: 26px;
  font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--dark-mut);
}
.note blockquote footer::before { content: "— "; }

/* ── RSVP ─────────────────────────────────────────── */
.rsvp { padding: clamp(74px, 11vw, 140px) 0 clamp(74px, 11vw, 130px); position: relative; }
.rsvp-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.rsvp-head { position: sticky; top: 110px; }
.rsvp-head .lede b { color: var(--gold-lt); font-weight: 500; }

.rsvp-form { min-height: 300px; }
.step { border: none; margin: 0; padding: 0; }
.step:not(.is-on) { display: none; }
.step.is-on { animation: stepIn 0.55s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-legend { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-lt); margin-bottom: 22px; padding: 0; }

.choice-row { display: grid; gap: 14px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-in {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 34px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.choice-in::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 120% at 100% 0%, rgba(201,169,98,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.choice:hover .choice-in { border-color: rgba(201,169,98,0.5); transform: translateY(-2px); }
.choice input:focus-visible + .choice-in { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice input:checked + .choice-in { border-color: var(--gold); background: rgba(201,169,98,0.07); }
.choice input:checked + .choice-in::after { opacity: 1; }
.choice-big { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.choice-yes input:checked + .choice-in .choice-big { color: var(--gold-lt); }
.choice-small { font-size: 0.92rem; color: var(--muted); }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px;
}
.field .opt { text-transform: none; letter-spacing: 0; opacity: 0.75; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
input::placeholder, textarea::placeholder { color: rgba(239,235,225,0.3); }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); }
textarea { resize: vertical; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #E08A6E; }

.step-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.btn-back {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.9rem;
  color: var(--muted); padding: 6px 0;
  transition: color 0.2s;
}
.btn-back:hover { color: var(--cream); }
.form-msg { margin-top: 18px; font-size: 0.94rem; min-height: 1.2em; }
.form-msg.error { color: #E8A188; }

/* Úspěch */
.done { position: relative; }
.confetti { position: absolute; inset: -40px -20px auto -20px; width: calc(100% + 40px); height: 420px; pointer-events: none; }
.done-in {
  position: relative;
  border: 1px solid rgba(201,169,98,0.3);
  border-radius: 4px;
  padding: clamp(32px, 4.6vw, 52px);
  background: rgba(201,169,98,0.05);
  animation: stepIn 0.6s var(--ease);
}
.done-kicker { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.done h3 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.done-sub { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.done-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── ZÁVĚR ────────────────────────────────────────── */
.end {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: clamp(80px, 12vw, 150px) 0 clamp(50px, 7vw, 80px);
  text-align: center;
}
.end-date { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.end-big { margin-top: 20px; font-size: clamp(2.6rem, 9vw, 6.4rem); }
.seal {
  margin: clamp(36px, 5vw, 56px) auto 0;
  display: block;
  width: 64px; height: 64px;
  background: none; border: none; padding: 0;
  color: rgba(201,169,98,0.55);
  cursor: pointer;
  transition: color 0.4s var(--ease), transform 0.8s var(--ease);
}
.seal:hover { color: var(--gold); transform: rotate(18deg); }
.seal.spin { animation: sealSpin 1.1s var(--ease); }
@keyframes sealSpin { to { transform: rotate(360deg); } }
.end-meta { margin-top: 30px; font-size: 0.86rem; color: var(--muted); }
.end-meta a { color: var(--gold); }

/* ── Sticky CTA (mobil) ───────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 85;
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  border-radius: 999px;
  background: rgba(12,29,21,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,0.9);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.sticky-cta.is-on { transform: translateY(0); }
.sticky-text { font-size: 0.86rem; color: var(--muted); }
.sticky-text b { color: var(--cream); font-weight: 500; }

/* ── Toast ────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 130%);
  z-index: 120;
  max-width: min(90vw, 420px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.8);
  transition: transform 0.55s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }

/* ── Reveal ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 1080px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .card-spa { grid-column: 1 / -1; }
  .rsvp-inner { grid-template-columns: 1fr; }
  .rsvp-head { position: static; }
  .tl { grid-template-columns: 22px minmax(104px, 132px) minmax(0, 1fr) minmax(0, 220px); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .carousel { --slide-w: min(86vw, 620px); }
  .hero-body { padding-block: 132px 168px; }
  .fact { grid-template-columns: 1fr; gap: 8px; }
  .tl { grid-template-columns: 20px minmax(0, 1fr); gap: 12px 18px; padding: 26px 0; }
  .tl-time { grid-column: 2; font-size: 1.5rem; padding-top: 0; }
  .tl-time--word { font-size: 1.05rem; padding-top: 0; }
  .tl-to { display: inline; font-size: 0.62em; margin-left: 8px; }
  .tl-content { grid-column: 2; padding-top: 0; }
  .tl-photo { grid-column: 2; aspect-ratio: 16 / 9; margin-top: 4px; }
  .sub-day { padding-left: 32px; }
  .info-grid { grid-template-columns: 1fr; }
  .card-spa { grid-column: auto; }
  .sticky-cta { display: flex; }
  .end-big br { display: none; }
}

@media (max-width: 560px) {
  .carousel { --slide-w: 88vw; }
  .hero-kicker span:first-child, .hero-kicker i { display: none; }
  .hero-kicker { letter-spacing: 0.3em; }
  .hero-scrim {
    background:
      radial-gradient(140% 80% at 30% 45%, rgba(9,21,15,0.42) 0%, rgba(9,21,15,0.88) 62%, rgba(9,21,15,0.97) 100%),
      linear-gradient(180deg, rgba(9,21,15,0.9) 0%, rgba(9,21,15,0.55) 30%, rgba(9,21,15,0.97) 100%);
  }
  .midcta-inner { flex-direction: column; align-items: flex-start; }
  .midcta-inner .btn { width: 100%; }
  .end-cta .btn { width: 100%; }
  .hero-title { font-size: clamp(2.9rem, 13.5vw, 4.4rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-scroll { display: none; }
  .count-grid { gap: 18px; }
  .paid ul { gap: 8px; }
  .paid li { font-size: 0.84rem; padding: 6px 13px; }
  .done-cta .btn, .step-actions .btn { width: 100%; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .btn-back { text-align: center; }
}

@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;
  }
  .hero-media img { transform: scale(1.05); }
  .hero-title .line > span { transform: none; }
  .hero-kicker, .hero-sub, .hero-cta, .hero-scroll { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .slide { transform: none !important; }
  .slide-media::after { display: none; }
  .carousel-track { scroll-behavior: auto; }
}
