/* ==========================================================
   Handshake Morning Blansko – styly
   Barvy a základní hodnoty upravíš v :root níže.
   ========================================================== */

:root {
  --accent: #D20000;        /* hlavní červená */
  --accent-hover: #A80000;  /* červená po najetí myší */
  --accent-soft: #FBE8EB;   /* světle růžové pozadí štítků */
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1E1E1E;
  --text: #444444;
  --muted: #666666;
  --light-muted: #AAAAAA;
  --border: #E8E8E8;
  --border-strong: #D6D6D6;
  --off-white: #F7F5F2;
  --white: #FFFFFF;
  --radius: 10px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; } /* aby nadpis po kliknutí v menu nezajel pod hlavičku */
body { margin: 0; font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section--light { background: var(--off-white); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark .eyebrow { color: #FF6B6B; } /* lepší kontrast červené na tmavém pozadí */
.stack { display: flex; flex-direction: column; }

/* ---------- Typografie ---------- */
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow--small { font-size: 13px; letter-spacing: 0.06em; }
.eyebrow--muted { color: var(--muted); letter-spacing: 0.06em; }
.h2 { font-weight: 800; font-size: 48px; line-height: 1.1; letter-spacing: -0.025em; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head--wide { max-width: 1136px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); }
.text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- Mřížky ---------- */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 16px 28px; border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--outline { border: 1.5px solid var(--border-strong); color: var(--black); background: transparent; }
.btn--outline:hover { border-color: var(--black); color: var(--black); }
.btn--small { padding: 12px 20px; font-size: 15px; }
.btn--white { background: var(--white); color: var(--black); font-weight: 700; font-size: 18px; padding: 20px 36px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn--white:hover { color: var(--black); transform: translateY(-1px); }
.btn--white span { color: var(--accent); }

.pill { display: inline-flex; align-self: flex-start; align-items: center; border-radius: 999px; font-weight: 600; }
.pill--soft { background: var(--accent-soft); color: var(--accent); font-size: 15px; padding: 8px 16px; }
.pill--solid { background: var(--accent); color: var(--white); font-size: 13px; padding: 6px 12px; }
.pill--strong { background: var(--accent); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; padding: 7px 14px; }

.icon { flex-shrink: 0; stroke: var(--accent); }

/* ---------- Hlavička ---------- */
.header { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 10; }
.header__inner { display: flex; justify-content: space-between; align-items: center; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { color: var(--black); }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { color: var(--black); text-decoration: none; }
.nav a:hover { color: var(--accent); }
/* Ikony sociálních sítí v hlavičce (jen počítač) */
.header__right { display: flex; align-items: center; gap: 8px; }
.header__icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); transition: background .15s ease, color .15s ease; }
.header__icon:hover { background: var(--accent-soft); color: var(--accent); }
.header__right .header__cta { margin-left: 8px; }

/* ---------- Mobilní menu (tři čárky) ---------- */
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: var(--radius); background: var(--accent); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; transition: background .15s ease; }
.burger:hover, .burger:active, .burger[aria-expanded="true"] { background: var(--accent-hover); }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0,0,0,.12); max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.mobile-menu a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--border); color: var(--black); text-decoration: none; font-size: 18px; font-weight: 600; }
.mobile-menu a:not(.btn):active, .mobile-menu a:not(.btn):hover { color: var(--accent); }
.mobile-menu__cta { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero__text { display: flex; flex-direction: column; gap: 26px; }
.hero__h1 { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; font-size: inherit; font-weight: inherit; }
.hero__title { display: block; font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: -0.03em; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 540px; }
.hero__lead strong { color: var(--black); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero { overflow-x: clip; } /* šálek kávy nesmí na užších obrazovkách roztáhnout stránku do šířky */
.hero__media { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; }
.hero__emoji { position: absolute; z-index: 2; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.hero__emoji--pan { left: -44px; top: -40px; width: 120px; height: 120px; transform: rotate(-12deg); }
.hero__emoji--coffee { right: -36px; bottom: -40px; width: 112px; height: 112px; }
.date-card { position: absolute; left: -24px; bottom: -32px; background: var(--white); border-radius: 20px; padding: 20px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.12); display: flex; gap: 18px; align-items: center; }
.date-card__badge { background: var(--accent); color: var(--white); border-radius: 14px; width: 72px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-card__day { font-size: 30px; font-weight: 800; line-height: 1; }
.date-card__month { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.date-card__info { display: flex; flex-direction: column; gap: 4px; }
.date-card__label { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
.date-card__date { font-weight: 700; font-size: 18px; }
.date-card__time { font-size: 14px; color: var(--muted); }
/* Proklik „Příští snídaně“ → sekce Termíny (klikací je celá karta) */
.date-card__link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.date-card__link:hover { color: var(--accent-hover); }
.date-card--clickable { transition: transform .15s ease, box-shadow .15s ease; }
.date-card--clickable:hover { transform: translateY(-2px); box-shadow: 0 22px 56px rgba(0,0,0,.16); }
.date-card__link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.date-card__link:focus-visible { outline: none; }
.date-card--clickable:has(.date-card__link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Pruh s fakty ---------- */
.facts { background: var(--dark); color: var(--white); }
.facts .g4 { padding: 36px 32px; gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact__label { font-size: 13px; color: var(--light-muted); font-weight: 600; letter-spacing: 0.06em; }
.fact__value { font-weight: 600; font-size: 20px; color: var(--white); text-decoration: none; }
a.fact__value:hover { color: var(--white); text-decoration: underline; }

/* ---------- Jak to funguje ---------- */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rule-main { grid-column: span 2; grid-row: span 2; background: var(--dark); color: var(--white); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.rule-main h3 { font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.rule-main p { font-size: 17px; line-height: 1.65; color: #CCCCCC; }
.bubbles { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bubbles li { background: var(--white); color: var(--black); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.rule { background: var(--off-white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.rule img { width: 44px; height: 44px; }
.rule h3 { font-size: 21px; font-weight: 600; }

.takeaways { background: var(--off-white); border-radius: 28px; padding: 48px 40px; display: flex; flex-direction: column; gap: 32px; }
.takeaways h3 { font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.takeaways .g3 { gap: 16px; }
.takeaway { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--accent); }
.takeaway__num { font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.takeaway h4 { font-size: 22px; font-weight: 700; }
.mission { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--border); padding-top: 28px; }
.mission img { width: 40px; height: 40px; flex-shrink: 0; }
.mission p { font-size: 19px; line-height: 1.55; font-weight: 500; max-width: 900px; }
.mission span { color: var(--muted); font-weight: 400; }

/* ---------- Pro koho ---------- */
.audience { border: 1px solid var(--border); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.audience h3 { font-size: 19px; font-weight: 600; }
.notice { background: var(--off-white); border-radius: 20px; padding: 24px 28px; display: flex; gap: 18px; align-items: center; }
.notice p { font-size: 17px; line-height: 1.6; color: var(--text); }
.notice strong { color: var(--black); }

/* ---------- Termíny ---------- */
.event-card { background: var(--white); border-radius: 28px; padding: 40px; gap: 40px; position: relative; }
.event-card__info { display: flex; flex-direction: column; gap: 18px; }
.event-card__date { font-weight: 800; font-size: 40px; letter-spacing: -0.02em; line-height: 1.05; }
.event-card__desc { font-size: 17px; line-height: 1.6; color: var(--text); }
.event-card__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.event-card__list li { display: flex; gap: 10px; align-items: center; }
.event-card__cta { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.event-card__cta .btn { font-size: 17px; padding: 18px 28px; }
.event-card__cta p { font-size: 14px; color: var(--muted); text-align: center; }
.calendar-btn { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--black); text-decoration: none; font-size: 14px; font-weight: 600; background: var(--white); }
.calendar-btn:hover { border-color: var(--black); color: var(--black); }

.info-card { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.info-card__title { font-size: 22px; font-weight: 700; }
.newsletter { background: var(--dark); color: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.newsletter__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.newsletter__text { font-size: 14px; line-height: 1.5; color: var(--light-muted); }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--light-muted); }
.newsletter input { height: 46px; border: 1.5px solid #333; background: var(--dark-2); color: var(--white); border-radius: 12px; padding: 0 14px; font-size: 15px; font-family: inherit; }
.newsletter .btn { min-height: 46px; padding: 12px 20px; font-size: 15px; }

.past { display: flex; flex-wrap: wrap; gap: 12px; }
.past div { background: var(--white); border-radius: 14px; padding: 14px 20px; font-size: 15px; }

.step { background: var(--white); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step__num { font-weight: 800; font-size: 28px; color: var(--accent); }
.step h4 { font-size: 19px; font-weight: 600; }

/* ---------- Galerie ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
.gallery-head a { color: var(--white); font-weight: 600; font-size: 15px; }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gal figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; min-width: 0; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal .tall { grid-row: span 2; }
.gal .wide { grid-column: span 2; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); color: var(--white); font-size: 15px; font-weight: 600; line-height: 1.35; }
.gal figcaption small { display: block; font-size: 13px; font-weight: 500; color: #DDD; margin-top: 2px; }

/* ---------- Sociální sítě ---------- */
.social { border: 1px solid var(--border); border-radius: 28px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.social__text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 360px; min-width: 0; }
.social__text h2 { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.social__links { display: flex; flex-wrap: wrap; gap: 12px; }
.social__links .btn { min-height: 52px; padding: 14px 22px; }
.social__links .btn--primary svg { stroke: var(--white); }

/* ---------- Loga firem ---------- */
.logos-block { display: flex; flex-direction: column; gap: 24px; align-items: center; padding: 16px 0; }
.logos-block .eyebrow { text-align: center; }
.slider { position: relative; width: 100%; }
.slider-arrow { display: none; }
.venue-gallery { display: none; }
.read-more { display: none; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.logo-cell { flex: 0 0 calc((100% - 48px) / 4); height: 112px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.logo-cell img { max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ---------- Reference ---------- */
.testimonial { margin: 0; background: var(--white); border-radius: 20px; padding: 32px; box-shadow: 0 1px 2px rgba(0,0,0,.04); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dark-2); text-wrap: pretty; } /* pretty = bez osamocených slov na posledním řádku */
.testimonial figcaption { display: flex; gap: 14px; align-items: flex-start; min-height: 64px; }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial figcaption span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.testimonial figcaption strong { font-size: 16px; color: var(--black); }

/* ---------- Videoreference ---------- */
.video-refs { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: var(--white); border-radius: 28px; padding: 40px; margin-top: 8px; }
.video-refs__head { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.video-refs__head h3 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.video-refs__grid { display: grid; grid-template-columns: repeat(2, 240px); gap: 20px; }
.video-ref { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-ref__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--dark); }
.video-ref__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-ref__play { position: absolute; left: 50%; top: 68%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .15s ease, background .15s ease; }
.video-ref__play svg { margin-left: 3px; }
.video-ref__play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--accent-hover); }
.video-ref.is-playing .video-ref__play { display: none; }
.video-ref figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.video-ref figcaption strong { font-size: 16px; color: var(--black); }
.testimonial figcaption .avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 16px; font-weight: 700; }
/* Lichý počet referencí: poslední karta přes celou šířku */
#reference .testimonial:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Hostitelé + místo ---------- */
.host { background: var(--white); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.host__head { display: flex; gap: 20px; align-items: center; }
.host__head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.host__head h3 { font-size: 26px; font-weight: 700; }
.host__role { font-size: 15px; color: var(--muted); }
.host p { font-size: 16px; line-height: 1.65; color: var(--text); }
.host__links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; font-weight: 600; margin-top: auto; }

.venue { background: var(--white); border-radius: 28px; overflow: hidden; gap: 0; align-items: stretch; }
.venue__text { padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.venue__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.venue__top img { height: 44px; width: auto; }
.venue h3 { font-size: 28px; font-weight: 700; }
.venue__photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.venue-photos { gap: 16px; }
.venue-photos figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.venue-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.venue-photos figcaption { font-size: 14px; color: var(--muted); }

/* ---------- Přihláška (CTA) ---------- */
.cta { background: var(--accent); color: var(--white); }
.cta .wrap { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.cta__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; text-align: center; align-items: center; }
.cta__head h2 { font-weight: 800; font-size: 50px; line-height: 1.06; letter-spacing: -0.02em; }
.cta__head p { font-size: 18px; line-height: 1.6; color: #FDE7EA; }
.cta__head .btn { margin-top: 12px; }
.cta__sign { font-size: 17px; color: #FDE7EA; font-weight: 600; display: block; line-height: 1.5; }
.cta__sign img { display: inline-block; width: 26px; height: 26px; vertical-align: -6px; margin-left: 2px; }
.cta__names { white-space: nowrap; }

/* Formulář přihlášky (zatím skrytý atributem hidden) */
.signup { background: var(--white); color: var(--black); border-radius: 28px; padding: 40px; width: 100%; max-width: 820px; display: flex; flex-direction: column; gap: 40px; }
.signup[hidden] { display: none; }
.signup fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.signup fieldset + fieldset { border-top: 1px solid var(--border); padding-top: 40px; }
.signup legend { padding: 0; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; font-size: 22px; font-weight: 700; }
.signup legend span { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.signup label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.signup input[type=text], .signup input[type=url], .signup input[type=tel], .signup input[type=email], .signup textarea { border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 12px 14px; font-size: 16px; font-family: inherit; }
.signup .check { flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 400; line-height: 1.55; }
.signup input[type=checkbox] { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.signup .req { color: var(--accent); }
.signup__intro { font-size: 15px; line-height: 1.65; color: var(--text); background: var(--off-white); border-radius: 16px; padding: 18px 20px; }

/* ---------- Patička ---------- */
.footer { padding: 40px 0; background: var(--dark); color: var(--light-muted); font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.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; }
/* Newsletter v patičce */
.footer .footer__news { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 32px; margin-bottom: 28px; position: relative; }
.footer__news::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: #2A2A2A; }
.footer__news-text { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.footer__news-title { font-size: 20px; font-weight: 700; color: var(--white); line-height: 1.3; }
.footer__news-text p { font-size: 14px; line-height: 1.5; color: var(--light-muted); }
.footer__news-form { display: flex; gap: 10px; flex-shrink: 0; }
.footer__news-form label { display: block; }
.footer__news-form input { height: 48px; width: 220px; border: 1.5px solid #333; background: var(--dark-2); color: var(--white); border-radius: 12px; padding: 0 14px; font-size: 15px; font-family: inherit; }
.footer__news-form input::placeholder { color: #8A8A8A; }
.footer__news-form input:focus { outline: none; border-color: var(--accent); }
.footer__news-form .btn { min-height: 48px; padding: 12px 22px; font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--white); }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .g2, .g3, .rules { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-main { grid-column: auto; grid-row: auto; padding: 28px; }
  .nav { display: none; }
  .header__inner { height: 64px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .header .btn { white-space: nowrap; padding: 10px 14px; font-size: 14px; }
  .header__cta { display: none; }
  .footer .footer__news { flex-direction: column; align-items: stretch; gap: 18px; }
  .footer__news::after { left: 16px; right: 16px; }
  .footer__news-form { flex-direction: column; }
  .footer__news-form input { width: 100%; }
  .video-refs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .video-refs__head h3 { font-size: 24px; }
  .video-refs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .video-ref__play { width: 56px; height: 56px; }
  .cta__names { display: block; white-space: normal; }
  .burger { display: flex; }
  .header .mobile-menu__cta { padding: 16px 20px; font-size: 16px; }
  .event-card__date { font-size: 30px; }
  .h2 { font-size: 34px; }
  .hero { padding: 40px 0 72px; }
  .hero__title { font-size: 48px; }
  /* Pánvička níž, aby nepřekrývala tlačítko nad fotkou */
  .hero__emoji--pan { left: -8px; top: -10px; width: 80px; height: 80px; }
  /* Na mobilu se káva nezobrazuje (překrývala kartu s datem) */
  .hero__emoji--coffee { display: none; }
  .date-card { left: 12px; right: 12px; bottom: -28px; padding: 14px 16px; }
  .facts .g4 { padding: 28px 16px; }
  /* Na mobilu čas / „švédský stůl“ na vlastním řádku, bez rozdělení */
  .fact__sep { display: none; }
  .fact__part { display: block; }
  .takeaways { padding: 32px 20px; }
  .event-card { padding: 28px 20px; }
  .calendar-btn { position: static; justify-self: start; order: -1; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  /* Mobil: loga jako vodorovný posuvník (swipe), další logo vykukuje */
  .logos-block { padding: 8px 0; }
  .logos { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; width: auto; align-self: stretch; }
  .logos::-webkit-scrollbar { display: none; }
  .slider-arrow:not([hidden]) { display: flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,.18); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
  .slider-arrow--prev { left: -6px; }
  .slider-arrow--next { right: -6px; }
  /* Mobil: reference jako posuvník – vždy jedna, další vykukuje */
  .ref-track { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 12px !important; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .ref-track::-webkit-scrollbar { display: none; }
  .ref-track { align-items: flex-start !important; }
  .ref-track .testimonial { flex: 0 0 86%; scroll-snap-align: start; padding: 24px; justify-content: flex-start; }
  .ref-slider .slider-arrow { top: 140px !important; }
  .ref-track .testimonial blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
  .ref-track .testimonial.is-open blockquote { display: block; -webkit-line-clamp: unset; }
  /* Mobil: Jak to funguje – Tykáme si + Dress code vedle sebe */
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .rule-main { grid-column: 1 / -1 !important; }
  .rule { padding: 18px; gap: 8px; border-radius: 18px; }
  .rule img { width: 34px; height: 34px; }
  .rule h3 { font-size: 17px; }
  .rule .text { font-size: 13.5px; line-height: 1.5; }
  .takeaways { gap: 20px; }
  .takeaways h3 { font-size: 26px; }
  /* V2: Tři věci jako rozbalovací seznam */
  .takeaways-slider .slider-arrow { display: none !important; }
  .takeaways-track { gap: 10px !important; }
  .takeaways-track .takeaway { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; row-gap: 0; padding: 16px 18px; border-top-width: 3px; cursor: pointer; }
  .takeaways-track .takeaway__num { font-size: 30px; }
  .takeaways-track .takeaway h4 { font-size: 18px; }
  .takeaways-track .takeaway::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent); line-height: 1; }
  .takeaways-track .takeaway.is-open::after { content: "–"; }
  .takeaways-track .takeaway .text { grid-column: 1 / -1; display: none; margin-top: 10px; }
  .takeaways-track .takeaway.is-open .text { display: block; }
  /* Mobil: Kdo za tím stojí – kompaktnější karty a statek */
  #poradatele .wrap.stack { gap: 24px !important; }
  .host { padding: 24px; gap: 16px; border-radius: 22px; }
  .host__head img { width: 72px; height: 72px; }
  .host__head h3 { font-size: 22px; }
  .host p { font-size: 15px; line-height: 1.6; }
  .venue { border-radius: 22px; }
  .venue__photo { order: -1; min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .venue__text { padding: 22px 24px 24px; gap: 10px; }
  .venue__top img { height: 34px; }
  .venue h3 { font-size: 22px; }
  .venue__text p[style] { font-size: 15px !important; line-height: 1.6 !important; }
  .venue-photos { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px !important; margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .venue-photos::-webkit-scrollbar { display: none; }
  .venue-photos figure { flex: 0 0 78%; scroll-snap-align: start; }
  .venue-photos img { border-radius: 16px; }
  .venue-slider .slider-arrow { top: 38% !important; }
  /* V2: jedna galerie v kartě statku, ostatní fotky skryté */
  .venue__photo, .venue-slider { display: none !important; }
  .venue-gallery { display: block; order: -1; }
  .venue-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .venue-gallery__track::-webkit-scrollbar { display: none; }
  .venue-gallery figure { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; }
  .venue-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .venue-gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(10,10,10,.7); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
  .venue-gallery .slider-arrow--prev { left: 10px; } .venue-gallery .slider-arrow--next { right: 10px; }
  .read-more { align-self: flex-start; margin-top: -12px; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .logo-cell { flex: 0 0 42%; height: 88px; padding: 16px 18px; scroll-snap-align: start; }
  .logo-cell img { max-height: 40px !important; }
  .social { padding: 22px 20px; gap: 16px; flex-wrap: nowrap; }
  .social-section { padding: 40px 0 !important; }
  .social__text { flex: 1 1 auto; gap: 4px; }
  .social__text h2 { font-size: 18px; }
  .social__text .text { display: none; }
  .social__links { flex-wrap: nowrap; gap: 8px; }
  .social__label { display: none; }
  .social__links .btn { width: 46px; min-height: 46px; height: 46px; padding: 0; border-radius: 50%; gap: 0; }
  .header__icon { display: none; }
  .cta__head h2 { font-size: 34px; }
  .signup { padding: 24px 20px; }
}

/* ---------- Cookie lišta (převzato z handshake.cz) ---------- */
.consent[hidden] { display: none; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 16px; background: var(--black); color: #CCCCCC; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -8px 32px rgba(0,0,0,.18); transform: translateY(100%); transition: transform .25s ease; }
.consent.is-visible { transform: translateY(0); }
.consent__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 16px; }
.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: #CCCCCC; }
.consent__details[open] summary::after { content: " ↑"; }
.consent__details p { margin-top: 8px; font-size: 13px; color: #CCCCCC; }
.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,.08); color: var(--white); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn { min-height: 44px; padding: 12px 22px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.footer__link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--white); text-decoration: underline; cursor: pointer; }
.footer__link-btn:hover { color: var(--accent-soft); }
/* Ikony v patičce */
.footer__bottom nav { align-items: center; }
.footer__icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #1E1E1E; color: var(--white); transition: background .15s ease; }
.footer__icon:hover { background: var(--accent); color: var(--white); }
.cta__mail { font-size: 15px; color: #FDE7EA; text-align: center; }
.cta__mail a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Velmi malé telefony (iPhone SE apod.): menší karta s datem */
@media (max-width: 360px) {
  .h2 { font-size: 30px; }
  #pro-koho .g4 { grid-template-columns: minmax(0, 1fr); }
  .date-card { gap: 12px; padding: 12px 14px; }
  .date-card__badge { width: 58px; height: 62px; }
  .date-card__day { font-size: 24px; }
  .date-card__date { font-size: 16px; }
  .date-card__time { font-size: 13px; }
}
@media (max-width: 760px) {
  .consent__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 0; }
  .consent__actions .btn { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
