/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --mid: #1e1e1e;
  --gray: #666666;
  --light-gray: #aaaaaa;
  --border: #e8e8e8;
  --white: #ffffff;
  --off-white: #f7f5f2;
  --accent: #c8102e;
  --accent-hover: #a50d26;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;

  --max-w: 1280px;
  --section-pad: 110px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILS ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn--large { padding: 16px 30px; font-size: 16px; }

/* ===== TWEMOJI ===== */
.tw-emoji {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
}
.tw-emoji--xl { width: 88px; height: 88px; }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header--light { color: var(--white); }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label--light { color: rgba(255,255,255,0.6); }
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-desc {
  margin: 16px auto 0;
  font-size: 17px;
  color: var(--gray);
  max-width: 580px;
}
.section-desc--light { color: rgba(255,255,255,0.65); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav__logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav__logo span { color: var(--accent); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--black);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--accent); }
.nav__cta { margin-left: 8px; padding: 10px 18px; font-size: 14px; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hamburger už od 1080 px — odkazy + tlačítko se do užšího řádku nevejdou
   (dřív se pod tím lámaly do dvou řádků). */
@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav__menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav__link:last-of-type { border-bottom: none; }
  .nav__cta { margin: 12px 0 0; padding: 14px 22px; font-size: 15px; }
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hero__tag--red {
  color: var(--accent);
  background: rgba(200,16,46,0.08);
}
.hero__tag--green {
  color: #1a7f3c;
  background: #e6f4ea;
}
.hero__tag--green:hover { background: #d1e9d8; }
.hero__headline {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero__headline span { color: var(--accent); }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero collage placeholder */
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 180px 260px;
  gap: 14px;
  transform: rotate(-2deg);
}
.collage__tile {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #e8e3dc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.collage__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  z-index: 2;
}
.collage__tile--1 { grid-column: 1 / 3; grid-row: 1; }
.collage__tile--2 { grid-column: 3; grid-row: 1 / 3; }
.collage__tile--3 { grid-column: 1; grid-row: 2; }
.collage__tile--4 { grid-column: 2; grid-row: 2; }

@media (max-width: 1100px) {
  .collage { grid-template-rows: 150px 220px; }
}
@media (max-width: 900px) {
  .hero { padding: 130px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .collage { grid-template-rows: 140px 200px; transform: none; gap: 10px; }
}
@media (max-width: 560px) {
  .collage { grid-template-rows: 110px 160px; gap: 8px; }
}

/* ===== PROČ HANDSHAKE ===== */
.why {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}
.why__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.why__headline {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.why__headline span { color: var(--accent); }
.why__lead {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--gray);
  margin-bottom: 48px;
  font-weight: 500;
}
/* Odstavce do bloku (obě strany rovné), ať ladí s nadpisem a citací na střed.
   Krátké předložky a spojky drží nedělitelná mezera v HTML. */
.why__body {
  text-align: justify;
  text-wrap: pretty;
  hyphens: manual;
  font-size: 17px;
  color: #2a2a2a;
}
.why__body p { margin-bottom: 22px; }
.why__quote {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  text-align: left;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.why__quote p {
  text-wrap: pretty;
  font-size: 18px;
  font-style: italic;
  color: #2a2a2a;
  margin-bottom: 14px;
  line-height: 1.55;
}
.why__quote footer {
  font-size: 14px;
  color: var(--gray);
  font-style: normal;
}
.why__quote footer strong { color: var(--black); }

/* ===== VALUES (PRO KOHO) ===== */
.values {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.values__intro { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.values__headline {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.values__headline span { color: var(--accent); }
.values__desc { font-size: 17px; color: var(--gray); }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card__icon .tw-emoji { width: 56px; height: 56px; }
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.value-card p { font-size: 15px; color: var(--gray); line-height: 1.55; }

@media (max-width: 900px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values__grid { grid-template-columns: 1fr; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

/* ----- Featured video review ----- */
.video-testimonial {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 36px;
  text-decoration: none;
  color: var(--black);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}
.video-testimonial__thumb {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--off-white);
}
.video-testimonial__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.video-testimonial:hover .video-testimonial__thumb img {
  transform: scale(1.04);
}
.video-testimonial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-testimonial__play svg { margin-left: 3px; }
.video-testimonial:hover .video-testimonial__play {
  transform: scale(1.08);
  background: var(--white);
}
.video-testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-testimonial__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-testimonial__title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.video-testimonial__desc {
  font-size: 15px;
  color: var(--gray);
  margin: 4px 0 4px;
  line-height: 1.55;
}
.video-testimonial__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}
.video-testimonial__author {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}
.video-testimonial__author strong {
  color: var(--black);
  font-weight: 600;
}

@media (max-width: 720px) {
  .video-testimonial {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .video-testimonial__thumb {
    max-width: 200px;
    margin: 0 auto;
  }
  .video-testimonial__meta {
    text-align: center;
    align-items: center;
  }
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.testimonial blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: #2a2a2a;
  margin-bottom: 22px;
  flex-grow: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: var(--off-white);
}
.testimonial__person { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial__person strong { font-size: 15px; color: var(--black); }
.testimonial__person span { font-size: 13px; color: var(--gray); }

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ===== HOW ===== */
.how {
  background: var(--dark);
  color: var(--white);
  padding: var(--section-pad) 0;
}
.how__steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}
.how__step {
  flex: 1;
  background: var(--mid);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.06);
}
.how__step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.how__step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.how__step p {
  color: var(--light-gray);
  font-size: 15px;
}
.how__step-divider {
  align-self: center;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .how__steps { flex-direction: column; }
  .how__step-divider { transform: rotate(90deg); }
}

/* ===== LOGA FIREM (nekonečný pás) ===== */
.logos {
  background: var(--white);
  padding: 8px 0 72px;
}
.logos__title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 28px;
}
.logos__viewport {
  overflow: hidden;
  /* Loga se na krajích ztrácejí do bílé místo ostrého useknutí. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  animation: logos-scroll 38s linear infinite;
}
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__list {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 36px;
  margin: 0;
  list-style: none;
}
.logos__list li { flex-shrink: 0; display: flex; align-items: center; height: 60px; }
.logos__list img {
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.logos__list img:hover { filter: none; opacity: 1; }
/* Světlá loga (žlutá, růžová) by v šedé skoro zmizela — ztmavit. */
.logos__list img.is-light { filter: grayscale(1) brightness(0.55) contrast(1.6); }
.logos__list img.is-light:hover { filter: none; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .logos { padding: 0 0 56px; }
  .logos__title { font-size: 12px; margin-bottom: 20px; padding: 0 8px; }
  .logos__list { gap: 48px; padding: 0 24px; }
  .logos__list img { transform: scale(0.85); }
  .logos__track { animation-duration: 30s; }
}
/* Kdo nechce animace: loga stojí, zalomená na střed. */
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; width: auto; justify-content: center; }
  .logos__list { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  .logos__list[aria-hidden="true"] { display: none; }
  .logos__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ===== FORMÁTY AKCÍ ===== */
.formats {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Fotka přes celou kartu, text dole na tmavém přechodu. */
.format-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  color: var(--white);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}
.format-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.format-card:hover .format-card__bg { transform: scale(1.04); }
.format-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.55) 52%, rgba(0,0,0,0.9) 82%);
}
.format-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  width: 100%;
}
.format-card__tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge--invite { background: #fbe8eb; color: var(--accent); }
.format-card__place { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.82); }
.format-card__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
.format-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0;
}
.format-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  margin-top: 4px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.15s ease;
}
/* Klikací je celá karta, ne jen text odkazu. */
.format-card__cta::after { content: ""; position: absolute; inset: 0; }
.format-card:hover .format-card__cta { gap: 12px; }
.format-card__cta:focus-visible { outline: none; }
.format-card:has(.format-card__cta:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Třetí karta „Máš nápad?" — červená, bez fotky. */
.format-card--custom {
  flex-direction: column;
  align-items: stretch;
  background: var(--accent);
}
.format-card--custom::before { display: none; }
.format-card__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 0;
  min-height: 160px;
}
.format-card--custom .format-card__desc { color: rgba(255,255,255,0.9); }
/* Tři emoji v bílých kruzích: bublina · podání ruky · raketa. */
.format-card__emblem {
  position: relative;
  width: 240px;
  height: 170px;
}
.format-card__emblem span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  transition: transform 0.3s ease;
}
.format-card__emblem .is-side { width: 92px; height: 92px; }
.format-card__emblem .is-side img { width: 56px; height: 56px; }
.format-card__emblem .is-left { left: 0; top: 40px; transform: rotate(-8deg); }
.format-card__emblem .is-right { right: 0; top: 58px; transform: rotate(8deg); }
.format-card__emblem .is-main { left: 66px; top: 0; width: 108px; height: 108px; z-index: 2; }
.format-card__emblem .is-main img { width: 68px; height: 68px; }
.format-card--custom:hover .is-left { transform: rotate(-14deg) translateY(-4px); }
.format-card--custom:hover .is-right { transform: rotate(14deg) translateY(-4px); }
.format-card--custom:hover .is-main { transform: translateY(-6px); }
@media (max-width: 760px) {
  .format-card__emblem { transform: scale(0.8); margin: -10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .format-card--custom:hover .format-card__emblem span { transform: none; }
  .format-card--custom:hover .is-left { transform: rotate(-8deg); }
  .format-card--custom:hover .is-right { transform: rotate(8deg); }
}

.format-card__contacts {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.format-card__contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.format-card__contacts a:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.15); }
.format-card__contacts a:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.format-card__contacts svg { flex-shrink: 0; }

@media (max-width: 1100px) {
  .formats__grid { grid-template-columns: repeat(2, 1fr); }
  .format-card--custom { grid-column: 1 / -1; min-height: 0; }
  .format-card__visual { min-height: 120px; }
}
@media (max-width: 760px) {
  .formats__grid { grid-template-columns: 1fr; }
  .format-card { min-height: 480px; }
  .format-card__body { padding: 22px; }
  .format-card__title { font-size: 23px; }
  .format-card--custom { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .format-card, .format-card__bg { transition: none; }
  .format-card:hover, .format-card:hover .format-card__bg { transform: none; }
}

/* ===== EVENTS ===== */
/* Termíny jsou teď součástí sekce Formáty (#formaty), pod kartami. */
.events {
  margin-top: 48px;
  scroll-margin-top: 90px;
}
.events__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 18px;
}
.events__title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}
.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  height: fit-content;
}
.event-card__day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.event-card__month {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.event-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge--open {
  background: #e6f4ea;
  color: #1a7f3c;
}
.event-card__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--gray);
}
.event-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-card__meta svg { color: var(--accent); flex-shrink: 0; }
.event-card__desc {
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.55;
  margin: 4px 0 0;
}
.event-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.15s ease;
}
.event-card__cta:hover { gap: 12px; }

/* Řádek odkazů pod kartou (Přihlásit se + Více o Handshake Morning). */
.event-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 8px;
}
.event-card__links .event-card__cta { margin-top: 0; }
.event-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}
.event-card__more:hover { text-decoration-color: currentColor; }
.event-card--past .event-card__more { color: var(--gray); font-weight: 500; }

/* Přidat do kalendáře — rozbalovací nabídka (<details>). */
.add-cal { position: relative; }
.add-cal__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.add-cal__toggle::-webkit-details-marker { display: none; }
.add-cal__toggle svg { color: var(--accent); }
.add-cal__toggle:hover { color: var(--accent); }
.add-cal__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.add-cal__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 220px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}
.add-cal__item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
}
.add-cal__item:hover,
.add-cal__item:focus-visible { background: var(--off-white); outline: none; }
/* Karta se při najetí zvedá — nabídka nad ní musí zůstat nahoře. */
.event-card:has(.add-cal[open]) { position: relative; z-index: 5; }
.event-card--past .add-cal { display: none; }

/* Jediná akce v mřížce: nenechávej vedle ní prázdnou půlku. */
.event-card:only-child {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

/* ===== Archiv proběhlých akcí ===== */
/* Sbalitelný přes <details>: funguje i bez JS, klávesnicí i čtečkou. */
.events__past { margin-top: 56px; }
.events__past[hidden] { display: none; }
.events__past-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.15s ease;
}
.events__past-toggle::-webkit-details-marker { display: none; }
.events__past-toggle:hover { color: var(--black); }
.events__past-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.events__past-count {
  display: inline-block;
  min-width: 22px;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  letter-spacing: 0;
}
.events__past-chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.events__past[open] .events__past-chevron { transform: rotate(180deg); }
.events__past[open] .events__past-toggle { margin-bottom: 22px; }

/* Když zrovna nic nevypsané není. */
.events__grid[hidden] { display: none; }
.events__empty {
  max-width: 620px;
  margin: 0 auto;
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  text-align: center;
}
.events__empty[hidden] { display: none; }
.events__empty-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.events__empty-text {
  color: var(--gray);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* Newsletter (SmartEmailing) — jméno + e-mail vedle sebe, tlačítko pod nimi. */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  text-align: left;
}
.newsletter-form .field { margin-bottom: 14px; }
.newsletter-form__submit {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
}
@media (max-width: 560px) {
  .events__empty { padding: 28px 22px; }
  .newsletter-form { grid-template-columns: 1fr; }
}

/* Akce přesunutá do archivu skriptem: přihláška a cena už nedávají smysl. */
.event-card--past .event-card__cta,
.event-card--past .event-card__price { display: none; }
/* Ztlumené: bez stínu a bez zvedání při najetí, akcenty do šedé.
   Text zůstává na --gray (5,7:1 na bílé), aby byl pořád čitelný. */
.event-card--past {
  background: var(--white);
  box-shadow: none;
  border: 1px solid var(--border);
}
.event-card--past:hover { transform: none; box-shadow: none; }
.event-card--past .event-card__day { color: var(--gray); }
.event-card--past .event-card__title { color: var(--gray); font-weight: 700; }
.event-card--past .event-card__desc { color: var(--gray); }
.event-card--past .event-card__meta svg { color: var(--light-gray); }
.event-card--past .badge--open {
  background: var(--off-white);
  color: var(--light-gray);
}
.event-card__cta--soon {
  color: var(--gray);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 760px) {
  .events__grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 72px 1fr; gap: 18px; padding: 22px; }
  .event-card__day { font-size: 28px; }
}

/* ===== FOUNDER ===== */
.founder {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.founder__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.founder__name {
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.founder__bio {
  font-size: 17px;
  color: #2a2a2a;
  margin-bottom: 18px;
}
.founder__aside {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--off-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.founder__aside-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.founder__aside p {
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.6;
}
.founder__aside em { font-style: italic; color: var(--gray); }
.founder__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.founder__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s ease;
}
.founder__link:hover {
  border-color: var(--black);
  transform: translateY(-1px);
}
.founder__link--cta {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.founder__link--cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.founder__visual { display: flex; justify-content: center; }
.founder__avatar {
  width: 100%;
  height: auto;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .founder__inner { grid-template-columns: 1fr; gap: 40px; }
  .founder__visual { order: -1; }
  .founder__avatar { max-width: 260px; }
}

/* ===== CTA ===== */
.cta {
  background: var(--dark);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
}
.cta__inner { max-width: 680px; margin: 0 auto; }
.cta__emoji { margin-bottom: 22px; }
.cta__headline {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}
.cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__location {
  margin-top: 36px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.cta__location strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.cta__location a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.cta__location a:hover { border-bottom-color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--light-gray);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.footer__logo span { color: var(--accent); }
.footer__copy { font-size: 14px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--white); }

/* Newsletter nad spodním řádkem patičky. */
.footer__newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 16px;
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__newsletter-text { max-width: 420px; }
.footer__newsletter-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 6px;
}
.footer__newsletter-text p { font-size: 14px; line-height: 1.5; margin: 0; }
.footer__newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 560px;
}
.footer__newsletter-form label { flex: 1; min-width: 0; }
.footer__input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transition: border-color 0.15s ease;
}
.footer__input::placeholder { color: #8a8a8a; }
.footer__input:focus { outline: none; border-color: var(--accent); }
@media (max-width: 860px) {
  .footer__newsletter { flex-direction: column; align-items: stretch; }
  .footer__newsletter-text { max-width: none; }
  .footer__newsletter-form { max-width: none; }
}
@media (max-width: 560px) {
  .footer__newsletter-form { flex-direction: column; }
}

/* Text jen pro čtečky obrazovky (popisky polí v patičce). */
.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;
}

/* ===== FORM MODAL ===== */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.65);
  backdrop-filter: blur(3px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  animation: modal-in 0.2s ease-out;
}
@media (max-width: 560px) {
  .modal { padding: 12px; }
  .modal__dialog { padding: 28px 22px 24px; }
  .modal__title { font-size: 1.4rem; }
  .modal__sub { font-size: 13px; margin-bottom: 18px; }
  .field { margin-bottom: 12px; }
  textarea.field__input { min-height: 110px; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
}
.modal__close:hover { color: var(--black); }
.modal__title {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.modal__sub { color: var(--gray); margin: 0 0 24px; font-size: 14px; line-height: 1.55; }
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field__req { color: var(--accent); margin-left: 2px; }
.field__hint {
  font-size: 12px;
  color: var(--gray);
  margin: 4px 0 14px;
}
.field__hint span { color: var(--accent); }
.field__input {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s ease;
}
.field__input:focus { outline: none; border-color: var(--accent); }
textarea.field__input { resize: vertical; }
.modal__submit { width: 100%; margin-top: 8px; justify-content: center; }
.modal__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.modal__status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.modal__status--ok { color: #1a7f3c; }
.modal__status--err { color: var(--accent); }

/* ===== COOKIE LIŠTA ===== */
.consent[hidden] { display: none; }
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900; /* pod modalem (1000), nad navigací (100) */
  padding: 16px;
  background: var(--black);
  color: var(--light-gray);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.consent.is-visible { transform: translateY(0); }
.consent__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 8px;
}
.consent__text { font-size: 14px; line-height: 1.55; max-width: 760px; }
.consent__text p { margin: 0; }
.consent__details { margin-top: 8px; }
.consent__details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: 13px;
  list-style: none;
}
.consent__details summary::-webkit-details-marker { display: none; }
.consent__details summary::after {
  content: " ↓";
  color: var(--light-gray);
}
.consent__details[open] summary::after { content: " ↑"; }
.consent__details p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--light-gray);
}
.consent__details code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Odkaz „Cookies" v patičce — vypadá jako ostatní odkazy, ale je to button. */
.footer__link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--light-gray);
  cursor: pointer;
  transition: color 0.15s ease;
}
.footer__link-btn:hover { color: var(--white); }

@media (max-width: 760px) {
  .consent__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .consent__actions { justify-content: stretch; }
  .consent__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { transition: none; }
}

/* =====================================================
   STRÁNKA /invite-only/
   ===================================================== */
.page-invite .hero__actions .btn--outline svg { color: var(--accent); }
.io-points {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.io-points__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .io-points__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .io-points__grid { grid-template-columns: 1fr; } }

.io-invite {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}
.io-invite__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.io-invite__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 34px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.io-invite__card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.io-invite__card p { color: var(--gray); line-height: 1.6; margin: 0 0 8px; flex: 1; }
.io-invite__card .btn { margin-top: auto; }
.io-invite__emoji {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
}
.io-invite__emoji img { width: 38px; height: 38px; }
.io-invite__card--dark { background: var(--black); color: var(--white); }
.io-invite__card--dark p { color: #bdbdbd; }
.io-invite__card--dark .io-invite__emoji { background: rgba(255,255,255,0.1); }
.io-invite__contacts {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.io-invite__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}
.io-invite__contacts svg { color: var(--accent); }
.io-invite__contacts a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .io-invite__grid { grid-template-columns: 1fr; }
  .io-invite__card { padding: 28px 22px; }
  .io-invite__card .btn { width: 100%; }
}

/* Invite only: hostitel */
.io-host {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}
.io-host__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1040px;
}
.io-host__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}
.io-host__name { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 4px; }
.io-host__role { font-weight: 600; color: var(--accent); margin: 0 0 20px; }
.io-host__text > p:not(.io-host__role) { color: var(--gray); line-height: 1.7; margin: 0 0 14px; }
.io-host__pillars { list-style: none; padding: 0; margin: 8px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.io-host__pillars li { font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); }
@media (max-width: 900px) {
  .io-host__inner { grid-template-columns: 1fr; gap: 32px; }
  .io-host__photo { max-width: 300px; }
}

/* Invite only: newsletter */
.io-newsletter {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px 48px;
  align-items: center;
  max-width: 980px;
  margin: 48px auto 0;
  padding: 36px 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.io-newsletter__text h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 10px; }
.io-newsletter__text p { color: var(--gray); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .io-newsletter { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* Invite only: malá fotka u jména (jen mobil) + zvětšení */
.io-host__head { display: flex; align-items: center; gap: 16px; }
.io-host__avatar { display: none; }
@media (max-width: 900px) {
  .io-host__photo { display: none; }
  .io-host__avatar {
    display: block;
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    background: none;
    cursor: zoom-in;
  }
  .io-host__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
  }
  .io-host__zoom {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
  }
  .io-host__head .io-host__name { margin: 0; font-size: 30px; }
  .io-host__role { margin-top: 12px; }
}
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  cursor: zoom-out;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10,10,10,0.94); }
.lightbox__img {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 96px);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Reference: 2 sloupce (sudý počet karet), iniciály místo fotky */
.testimonials__grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .testimonials__grid--two { grid-template-columns: 1fr; } }
.testimonial__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Štítek nahoře v referenci: kde člověk byl (např. Invite Only setkání) */
.testimonial__badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fbe8eb;
  color: var(--accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Invite only: odkaz v úvodu sekce Pozvánka + stejná výška obou tlačítek */
.io-invite .section-desc a { color: var(--accent); font-weight: 600; text-decoration: none; }
.io-invite .section-desc a:hover { text-decoration: underline; }
.io-invite__card .btn { line-height: 1.4; }

/* Ikony sociálních sítí v hlavičce a patičce */
.nav__social { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
.nav__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--black); transition: color 0.15s ease, background 0.15s ease;
}
.nav__social-link:hover { color: var(--accent); background: var(--off-white); }
.footer__links { align-items: center; }
.footer__links a.footer__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--light-gray); background: rgba(255,255,255,0.06);
}
.footer__links a.footer__social:hover { color: var(--white); background: rgba(255,255,255,0.14); }
/* V mobilním menu ikony nezobrazujeme (jsou v patičce). */
@media (max-width: 1080px) {
  .nav__social { display: none; }
}
@media (max-width: 560px) {
  .page-invite .hero__actions .btn { width: 100%; font-size: 15px; padding-left: 14px; padding-right: 14px; }
}
.testimonial__badge--collab { background: var(--off-white); color: var(--gray); }

/* Karty termínů na bílém pozadí sekce Formáty: rámeček místo stínu */
.formats .event-card { border: 1px solid var(--border); box-shadow: none; }
.formats .event-card__date { background: var(--off-white); }
/* Místo pro ještě nevypsané termíny + newsletter v jednom bloku */
.nl-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.nl-card__info { padding: 28px; }
.nl-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.nl-card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.nl-card__info p { color: var(--gray); line-height: 1.6; margin: 0; font-size: 15px; }
.nl-card__form { background: var(--black); color: var(--white); padding: 26px 24px; }
.nl-card__form h4 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 8px; }
.nl-card__form > p { font-size: 14px; color: #bdbdbd; line-height: 1.55; margin: 0 0 16px; }
.nl-card__form form { display: flex; flex-direction: column; gap: 12px; }
.nl-card__form label span { display: block; font-size: 13px; font-weight: 600; color: #d0d0d0; margin-bottom: 6px; }
.nl-card__form input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.nl-card__form input::placeholder { color: #8a8a8a; }
.nl-card__form input:focus { outline: none; border-color: var(--accent); }
.nl-card__form .btn { width: 100%; white-space: normal; margin-top: 4px; }
@media (max-width: 1100px) { .nl-card { grid-template-columns: 1fr; } }

@media (max-width: 760px) {
  /* ===== Úsporná mobilní verze sekce Naše akce ===== */
  /* Karty formátů: nižší, kratší text */
  .format-card { min-height: 340px; }
  .format-card__body { padding: 20px; gap: 8px; }
  .format-card__title { font-size: 21px; }
  .format-card__desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .format-card--custom .format-card__visual { min-height: 0; padding-top: 18px; }
  .format-card__emblem { transform: scale(0.6); margin: -34px 0 -40px; }
  .format-card__contacts { gap: 8px; }
  .format-card__contacts a { padding: 10px 14px; font-size: 14px; }

  /* Karta termínu: datum vedle názvu, bez popisu a ceny navíc */
  .formats .event-card { grid-template-columns: 58px 1fr; gap: 14px; padding: 16px; }
  .formats .event-card__date { padding: 8px 4px; border-radius: 10px; }
  .formats .event-card__day { font-size: 24px; }
  .formats .event-card__month { font-size: 9px; letter-spacing: .08em; margin-top: 3px; }
  .formats .event-card__body { gap: 6px; }
  .formats .event-card__badges { display: none; }
  .formats .event-card__title { font-size: 17px; }
  .formats .event-card__meta { gap: 2px 10px; font-size: 13px; }
  .formats .event-card__meta li:nth-child(2) { display: none; }
  .formats .event-card__desc { display: none; }
  .formats .event-card__links { gap: 6px 16px; margin-top: 2px; }
  .formats .event-card__more { display: none; }

  /* Termíny 2027 + newsletter: jen jeden tmavý blok, pole vedle sebe */
  .nl-card__info { display: none; }
  .nl-card__form { padding: 18px 16px; }
  .nl-card__form h4 { font-size: 16px; }
  .nl-card__form > p { display: none; }
  .nl-card__form h4::before { content: "Termíny 2027 brzy zveřejníme"; /* při změně roku uprav i tady */ display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff6b81; margin-bottom: 6px; }
  .nl-card__form form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nl-card__form label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .nl-card__form input { padding: 11px 12px; font-size: 14px; }
  .nl-card__form .btn { grid-column: 1 / -1; padding: 12px; font-size: 14px; margin-top: 0; }

  /* Karty formátů se při scrollu skládají přes sebe (sticky „balíček karet“) */
  .formats__grid { gap: 14px; }
  .formats__grid .format-card { position: sticky; top: 84px; box-shadow: 0 -10px 28px rgba(0,0,0,0.18); }
  .formats__grid .format-card:nth-child(2) { top: 96px; }
  .formats__grid .format-card:nth-child(3) { top: 108px; }
  .formats__grid .format-card:hover { transform: none; }

  .events { margin-top: 32px; }
  .events__past { margin-top: 28px; }
}

/* ===== Jak to funguje: přepínač Invite Only / Byznysová snídaně ===== */
.how__tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: -16px auto 32px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.how:not(.how--tabs) .how__tabs { display: none; }
.how__tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--light-gray);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.how__tab:hover { color: var(--white); }
.how__tab.is-active { background: var(--accent); color: var(--white); }
.how__tab:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.how__panel + .how__panel { margin-top: 56px; }
.how--tabs .how__panel + .how__panel { margin-top: 0; }
.how__lead {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--light-gray);
  font-size: 17px;
  line-height: 1.6;
}
.how__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 36px;
}
.how__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.how__more:hover { color: var(--accent); }
@media (max-width: 560px) {
  .how__tabs { width: 100%; }
  .how__tab { flex: 1; padding: 11px 10px; font-size: 14px; }
  .how__lead { font-size: 16px; margin-bottom: 28px; }
  .how__actions .btn { width: 100%; }
}
.how__lead strong { color: var(--white); }
.how__lead a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.how__lead a:hover { color: var(--accent); }

/* ===== Mobil: kroky „Jak to funguje“ jako posuvný slider ===== */
.how__dots { display: none; }
@media (max-width: 760px) {
  .how__steps {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scroll-padding: 0 24px;
  }
  .how__steps::-webkit-scrollbar { display: none; }
  .how__step {
    flex: 0 0 82%;
    scroll-snap-align: start;
    padding: 24px 22px;
  }
  .how__step-number { font-size: 26px; margin-bottom: 10px; }
  .how__step h3 { font-size: 19px; margin-bottom: 8px; }
  .how__step p { font-size: 14px; line-height: 1.55; }
  .how__step-divider { display: none; }
  .how__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .how__dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: rgba(255,255,255,0.25); cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
  }
  .how__dots button.is-active { width: 22px; background: var(--accent); }
  .how__lead { margin-bottom: 22px; }
  .how__actions { margin-top: 24px; }
}
/* Hezčí zalamování krátkých textů v kartách (bez osamocených slov na konci) */
.how__step p, .how__lead, .format-card__desc, .event-card__desc { text-wrap: pretty; }

/* Citace zakladatele: medailonek s fotkou a odkazem na LinkedIn */
.why__author { margin-top: 4px; }
.why__author-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--off-white);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.why__author-link:hover { background: #ece8e1; }
.why__author-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  flex-shrink: 0;
}
.why__author-text { display: flex; flex-direction: column; line-height: 1.25; }
.why__author-text strong { font-size: 15px; color: var(--black); }
.why__author-text span { font-size: 13px; color: var(--gray); }
.why__author-li { display: inline-flex; color: #0a66c2; margin-left: 4px; }
/* Na úzkém displeji by blok dělal díry mezi slovy, proto vlevo. */
@media (max-width: 760px) {
  .why__body { text-align: left; }
}

/* ===== Reference: posuvný pás ===== */
.tslider { position: relative; }
.tslider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 22px) / 3);
  column-gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  outline: none;
}
.tslider__track::-webkit-scrollbar { display: none; }
.tslider__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.tslider__track .testimonial { scroll-snap-align: start; }
.tslider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.tslider__btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--white); color: var(--black);
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.tslider__btn:hover:not(:disabled) { background: var(--black); color: var(--white); }
.tslider__btn:disabled { opacity: 0.35; cursor: default; }
.tslider__dots { display: flex; gap: 8px; }
.tslider__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: #d6d2cb; cursor: pointer; transition: width 0.2s ease, background 0.2s ease;
}
.tslider__dots button.is-active { width: 22px; background: var(--accent); }
.testimonial__badge--morning { background: #e6f4ea; color: #1a7f3c; }
@media (max-width: 1000px) {
  .tslider__track { grid-auto-columns: calc((100% - 22px) / 2); }
}
@media (max-width: 760px) {
  .tslider__track {
    grid-auto-columns: 86%;
    column-gap: 12px;
    margin: 0 -24px;
    padding: 4px 24px 8px;
    scroll-padding: 0 24px;
  }
  .tslider__track .testimonial { padding: 24px 22px; }
  .tslider__btn { display: none; }
  /* Dlouhé reference na mobilu zkrátit, ať karty nejsou extrémně vysoké */
  .tslider__track .testimonial blockquote {
    display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
  }
}

/* Formáty: město a kdy v pruhu dole přes kartu */
.format-card__where {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px -28px -28px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 15px;
}
.format-card__where svg { color: #ff6b81; flex-shrink: 0; }
.format-card__where strong { font-weight: 700; }
.format-card__where span { margin-left: auto; font-size: 13px; font-weight: 600; opacity: 0.8; text-align: right; }
@media (max-width: 760px) {
  .format-card__where { margin: 6px -20px -20px; padding: 12px 20px; font-size: 14px; }
}

/* Město: na počítači bílý štítek vlevo nahoře na fotce, na mobilu pruh nahoře */
.format-card__where {
  position: absolute; top: 18px; left: 18px; right: auto; z-index: 2;
  margin: 0; padding: 8px 14px;
  background: var(--white); color: var(--black);
  border: 0; border-radius: 999px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  font-size: 14px;
}
.format-card__where svg { color: var(--accent); }
.format-card__where span { display: none; }
@media (max-width: 760px) {
  .format-card__where {
    top: 0; left: 0; right: 0;
    margin: 0; padding: 12px 20px;
    border-radius: 0;
    background: rgba(10,10,10,0.45); color: var(--white);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    box-shadow: none;
  }
  .format-card__where svg { color: #ff6b81; }
  .formats__grid .format-card .format-card__body { padding-top: 64px; }
}

/* Reference: video karta ve slideru */
.testimonial--video {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #111;
  color: var(--white);
  text-decoration: none;
  justify-content: flex-end;
  min-height: 100%;
  isolation: isolate;
}
.testimonial__video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.4s ease; }
.testimonial--video::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.85)); }
.testimonial--video:hover .testimonial__video-bg { transform: scale(1.04); }
.testimonial__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92); color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.testimonial__video-body { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.testimonial__video-body .testimonial__badge { margin: 0 0 4px; }
.testimonial__video-title { font-size: 19px; font-weight: 800; line-height: 1.25; }
.testimonial__video-meta { font-size: 13px; opacity: 0.85; }
.testimonial__video-cta { font-size: 13px; font-weight: 700; margin-top: 4px; }
@media (max-width: 760px) { .testimonial--video { min-height: 420px; } }

/* ===== Invite only: slider fotek z večerů ===== */
.psl-section { background: var(--white); padding: var(--section-pad) 0; }
.psl__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
  scroll-padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
}
.psl__track::-webkit-scrollbar { display: none; }
.psl__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.psl__item {
  flex: 0 0 auto;
  height: 480px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
  scroll-snap-align: start;
}
.psl__item img { height: 100%; width: auto; display: block; transition: transform 0.4s ease; }
.psl__item:hover img { transform: scale(1.03); }
.psl__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
@media (max-width: 760px) {
  .psl__track { gap: 10px; padding: 0 24px; scroll-padding: 0 24px; }
  .psl__item { height: 380px; width: 82vw; border-radius: 16px; }
  .psl__item img { width: 100%; object-fit: cover; }
  .psl__nav .tslider__btn { display: none; }
}

/* Autor fotky v rohu slideru a ve zvětšení */
.psl__item { position: relative; }
.psl__credit {
  position: absolute; left: 12px; bottom: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  pointer-events: none;
}
.lightbox[open] { flex-direction: column; gap: 12px; }
.lightbox__credit { margin: 0; color: rgba(255,255,255,0.8); font-size: 13px; }
.lightbox__credit:empty { display: none; }

/* Galerie: ikona zvětšení a listování ve zvětšené fotce */
.psl__zoom {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92); color: var(--black);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.psl__item:hover .psl__zoom, .psl__item:focus-visible .psl__zoom { opacity: 1; transform: none; }
@media (hover: none) { .psl__zoom { opacity: 1; transform: none; width: 32px; height: 32px; } }
.lightbox__img { cursor: pointer; }
.lightbox__arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15); color: #fff; cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox__arrow:hover { background: rgba(255,255,255,0.3); }
.lightbox__arrow[hidden] { display: none; }
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--next { right: 20px; }
@media (max-width: 760px) {
  .lightbox__arrow { width: 42px; height: 42px; top: auto; bottom: 22px; transform: none; }
  .lightbox__arrow--prev { left: calc(50% - 56px); }
  .lightbox__arrow--next { right: calc(50% - 56px); }
  .lightbox__img { max-height: calc(100vh - 170px); }
}

/* ===== Právní stránky (zásady, podmínky) ===== */
.legal { padding: 140px 0 var(--section-pad); background: var(--white); }
.legal__inner { max-width: 820px; }
.legal__label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.legal__meta { color: var(--gray); font-size: 14px; margin: 0 0 28px; }
.legal__lead { font-size: 18px; line-height: 1.65; color: #2a2a2a; margin: 0 0 32px; padding: 20px 24px; background: var(--off-white); border-radius: 14px; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #2a2a2a; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); font-weight: 600; }
.legal__table { overflow-x: auto; margin: 8px 0 12px; border: 1px solid var(--border); border-radius: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.legal th { background: var(--off-white); font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
mark.todo { background: #fff3b0; color: #6b5200; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.footer__legal { color: var(--light-gray); font-size: 13px; text-decoration: none; }
.footer__legal:hover { color: var(--white); }
@media (max-width: 760px) { .legal { padding-top: 110px; } .legal__lead { font-size: 16px; padding: 16px 18px; } }
/* Žádná nadcházející akce: blok s newsletterem přes celou šířku */
#events-upcoming.is-empty .nl-card { grid-column: 1 / -1; }

/* Červená karta: kontakty vedle sebe a kompaktněji, aby text karet
   s fotkou zůstal dole a nadpisy se srovnaly bez velkých mezer. */
@media (min-width: 1240px) {
  .format-card--custom .format-card__contacts { flex-direction: row; gap: 8px; }
  .format-card--custom .format-card__contacts li { flex: 1 1 0; min-width: 0; }
  .format-card--custom .format-card__contacts a { justify-content: center; padding: 11px 8px; font-size: 13.5px; gap: 6px; white-space: nowrap; }
  .format-card--custom .format-card__contacts svg { width: 14px; height: 14px; }
}
/* Mobil: červená karta bez prázdného místa a s celým textem */
@media (max-width: 760px) {
  .format-card--custom .format-card__visual { flex: none; padding-top: 26px; }
  .format-card--custom .format-card__desc { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .format-card--custom .format-card__body { padding-top: 6px; }
}
@media (max-width: 760px) {
  .format-card--custom .format-card__visual { padding-top: 18px; height: 120px; overflow: visible; }
  .format-card--custom .format-card__emblem { transform: scale(0.62); transform-origin: center top; margin: 0; }
}
@media (max-width: 760px) {
  .formats__grid .format-card--custom .format-card__body { padding-top: 4px; }
  .format-card--custom .format-card__visual { height: 124px; padding-top: 24px; }
}

/* Zakladatel na hlavní stránce: na mobilu jen medailonek u jména (zvětšení po klepnutí) */
@media (max-width: 900px) {
  .founder__visual { display: none; }
  .founder .io-host__head { margin: 6px 0 22px; }
  .founder .io-host__head .founder__name { margin: 0; }
}

/* Zakladatel na mobilu: „Číst více“ */
.founder__toggle { display: none; }
@media (max-width: 900px) {
  .founder--collapsible .founder__more { display: none; }
  .founder--collapsible .founder__more.is-open { display: block; }
  .founder--collapsible .founder__toggle {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0 0 8px; padding: 0; border: 0; background: none;
    font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--accent); cursor: pointer;
  }
  .founder__toggle svg { transition: transform 0.2s ease; }
  .founder__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
}
/* Zakladatel: kratší odstavce, vzdušnější čtení */
.founder__bio { margin-bottom: 16px; line-height: 1.7; }
.cta__sub a { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cta__sub a:hover { color: #ff8a9b; }
.founder__bio, .founder__aside p { text-wrap: pretty; }

/* Pro koho na mobilu: kompaktní řádky (emoji vlevo, text vpravo) */
@media (max-width: 760px) {
  .values__grid { gap: 10px; }
  .value-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; align-items: start; }
  .value-card:hover { transform: none; box-shadow: none; }
  .value-card__icon { width: 44px; height: 44px; margin: 0; grid-row: 1 / 3; }
  .value-card__icon img { width: 30px; height: 30px; }
  .value-card h3 { font-size: 16px; margin: 0 0 4px; }
  .value-card p { font-size: 14px; line-height: 1.5; margin: 0; }
}
