/* Ambasadorská LP – stavěno na tokenech z proud.css (vizuál pivoproud.cz) */

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draftbar { background: var(--proud-black); color: var(--proud-yellow); font-weight: 700; font-size: 13px; text-align: center; padding: 6px 16px; letter-spacing: .02em; }
.nav__cta { font-size: 20px; line-height: 32px; }
@media (min-width: 1024px) { .nav__cta { display: none; } }

/* KV: černá, láhve, vlnka – styl KV kampaně (zástupný) */
.kv { position: relative; background: var(--proud-black); color: var(--proud-white); overflow: clip; }
.kv__in { position: relative; z-index: 3; padding-top: 56px; padding-bottom: 110px; }
.kv__eyebrow { display: inline-block; background: var(--proud-yellow); color: var(--proud-black); font-weight: 800; font-size: 16px; text-transform: uppercase; padding: 2px 14px; border-radius: var(--radius-btn); }
.kv__title { margin-top: 24px; text-indent: 0; }
.kv__title::first-line { color: var(--proud-yellow); }
.kv__lead { margin-top: 20px; max-width: 14ch; }
.kv__cta { margin-top: 32px; }
.kv__cta:hover { background: var(--proud-white); color: var(--proud-black); }
.kv__bottles { position: absolute; z-index: 2; right: -18%; top: 34%; width: 78vw; max-width: 640px; pointer-events: none; transform: rotate(-11deg); }
.kv__tilde { position: absolute; z-index: 1; width: 160px; right: 8%; top: 20px; opacity: .9; }
.kv__wave { position: absolute; z-index: 4; left: 0; bottom: -1px; width: 100%; height: 90px; display: block; }
@media (min-width: 768px) { .kv__in { padding-bottom: 220px; } .kv__wave { height: 160px; } }
@media (min-width: 1024px) {
  .kv { min-height: calc(100svh - var(--nav-h) - 29px); }
  .kv__in { padding-top: 100px; padding-left: calc(var(--gutter) + 92px); }
  .kv__bottles { right: 2%; top: 4%; width: 45dvw; }
  .kv__tilde { width: 271px; right: auto; left: 46%; top: auto; bottom: 150px; }
}

/* Úvod */
.intro { display: grid; gap: 48px; }
.intro .h2 { max-width: 16ch; }

/* Koho hledáme – schodovitý seznam jako features v hero */
.who { background: var(--proud-yellow); }
.who__in { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 24px; }
.who__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.who__list li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 26px; line-height: 1.05; }
.who__list img { width: 52px; flex: none; filter: brightness(0); }
@media (min-width: 1024px) {
  .who__in { grid-template-columns: 1fr 1fr; align-items: center; }
  .who__list li { font-size: 36px; }
  .who__list li:nth-child(2) { padding-left: 24px; }
  .who__list li:nth-child(3) { padding-left: 48px; }
  .who__list li:nth-child(4) { padding-left: 72px; }
}

/* Výhody */
.perks__grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 40px; }
.perk { border-left: 10px solid var(--proud-yellow); padding-left: 24px; }
.perk__no { display: block; font-weight: 800; font-size: 52px; line-height: 1; color: var(--proud-yellow); margin-bottom: 8px; }
.perk .h3, .event .h3 { font-size: 30px; line-height: 1; }
.perk p { font-size: 20px; line-height: 1.3; margin-top: 10px; max-width: 26ch; }
@media (min-width: 768px) { .perks__grid { grid-template-columns: 1fr 1fr; gap: 56px 48px; } }
@media (min-width: 1280px) { .perks__grid { grid-template-columns: repeat(4, 1fr); } .perk__no { font-size: 80px; } }

/* Akce */
.events__grid { display: grid; gap: 24px; margin-top: 40px; }
.event { border-radius: var(--radius-md); padding: 28px; display: grid; gap: 8px; align-content: start; }
.event p { font-size: 18px; line-height: 1.3; }
.event__date { font-weight: 800; text-transform: uppercase; font-size: 14px !important; }
.event--main { background: var(--proud-black); color: var(--proud-white); grid-template-columns: 110px 1fr; gap: 24px; align-items: center; }
.event--main .event__date { color: var(--proud-yellow); }
.event__logo { width: 110px; border-radius: var(--radius-sm); }
.event--soon { border: 4px solid var(--proud-yellow); }
@media (min-width: 1024px) { .events__grid { grid-template-columns: 2fr 1fr 1fr; } .event--main { grid-template-columns: 160px 1fr; } .event__logo { width: 160px; } }

/* Přihláška */
.apply { background: #fff; }
.apply__in { display: grid; gap: 40px; }
.apply__hint { font-size: 20px; margin-top: 16px; max-width: 28ch; }
.glass { display: flex; align-items: flex-end; gap: 20px; margin-top: 32px; }
.glass svg { width: 96px; height: auto; }
.glass__beer, .glass__foam { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.glass__pct { font-weight: 800; font-size: 52px; line-height: 1; }
.steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: var(--proud-light-grey); transition: color .3s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 3px solid currentColor; font-size: 15px; }
.steps li.is-current { color: var(--proud-black); }
.steps li.is-done { color: var(--proud-black); }
.steps li.is-done::before { content: "✓"; background: var(--proud-yellow); border-color: var(--proud-yellow); }
@media (min-width: 1024px) {
  .apply__in { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .apply__side { position: sticky; top: 24px; }
  .glass svg { width: 120px; }
  .glass__pct { font-size: 80px; }
}

.apply__form { border: 4px solid var(--proud-yellow); border-radius: var(--radius-pill); padding: 24px 20px; display: grid; gap: 24px; }
@media (min-width: 768px) { .apply__form { padding: 40px; } }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.step[hidden] { display: none; }
.step__title { padding: 0; font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: var(--tracking-wide); }
.step__title span { display: block; font-size: 14px; letter-spacing: 0; text-transform: uppercase; color: var(--proud-grey); margin-bottom: 8px; }
.step__sub { font-size: 18px; line-height: 1.3; }
.grid2 { display: grid; gap: 18px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.fld { display: grid; gap: 6px; font-size: 16px; line-height: 24px; font-weight: 700; }
.fld small { font-weight: 400; }
.fld input, .fld textarea, .dob input { width: 100%; font: 400 18px var(--font); border: 3px solid var(--proud-yellow); border-radius: var(--radius-md); padding: 8px 12px; min-height: 48px; background: #fff; color: #000; outline: none; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus, .dob input:focus { border-color: var(--proud-black); }
.fld textarea { resize: vertical; }
.count { justify-self: end; color: var(--proud-grey); }
.is-invalid { border-color: var(--proud-red) !important; box-shadow: 0 0 0 4px rgba(220, 53, 69, .25); }
.dob { display: flex; gap: 10px; }
.dob input { width: 64px; text-align: center; font-weight: 700; }
.dob .dob__y { width: 96px; }

.err { color: var(--proud-red); font-weight: 700; font-size: 16px; min-height: 1px; }
.err:empty { display: none; }

/* Odemykání sítě */
.net { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-md); background: #fafafa; transition: background-color .3s; }
.net.is-unlocked { background: #fff7cc; }
.meter { display: flex; align-items: center; gap: 12px; }
.meter__bar { flex: 1; height: 12px; border-radius: 999px; background: #eee; overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; background: var(--proud-yellow); transition: width .5s ease-out; }
.meter__txt { font-weight: 800; font-size: 14px; text-transform: uppercase; min-width: 9ch; text-align: right; color: var(--proud-grey); }
.net.is-unlocked .meter__txt { color: var(--proud-black); }

/* Štítky */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; border: 3px solid var(--proud-yellow); border-radius: var(--radius-pill); padding: 6px 16px; font-weight: 700; font-size: 16px; text-transform: uppercase; transition: background-color .2s; }
.chips input:checked + span { background: var(--proud-yellow); }
.chips input:focus-visible + span { outline: 3px solid #000; outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.35; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--proud-yellow); flex: none; margin-top: 1px; }
.check em { color: var(--proud-grey); font-style: normal; font-size: 14px; }
.check.is-invalid-label { color: var(--proud-red); }

.form__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; }
.btn--ghost { background: #fff; color: #000; border: 3px solid var(--proud-yellow); padding: 1px 21px; }
.btn--ghost:hover { background: var(--proud-yellow); }
.btn[disabled] { opacity: .5; cursor: wait; }

.done { text-align: left; display: grid; gap: 16px; outline: none; }
.done[hidden] { display: none; }
.done__tilde { width: 140px; animation: done-flip 1.2s cubic-bezier(.2,.8,.2,1) both; }
.done p { font-size: 20px; }
.done__payload summary { cursor: pointer; font-weight: 700; color: var(--proud-grey); font-size: 14px; }
.done__payload pre { font-size: 12px; background: #f6f6f6; padding: 12px; border-radius: var(--radius-md); overflow: auto; }
@keyframes done-flip { from { transform: rotate(180deg) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .glass__beer, .glass__foam, .meter__bar i { transition: none; }
  .done__tilde { animation: none; }
}

/* ===== Casting do ročníku (1. 12., podle dema D) ===== */
.kv__stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.kv__stats div { display: grid; }
.kv__stats b { font-size: 44px; line-height: 1; font-weight: 800; color: var(--proud-yellow); }
.kv__stats small { font-weight: 700; font-size: 13px; text-transform: uppercase; }

.perk__when { display: block; font-size: 15px; color: var(--proud-grey); margin-top: 6px; }
.perks__note { font-size: 14px; color: var(--proud-grey); margin-top: 28px; }

/* Kroky jako řádek nahoře ve formuláři */
.apply__form .steps { margin: 0; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.apply__form .steps li { font-size: 15px; }
.apply__form .steps li::before { width: 28px; height: 28px; font-size: 13px; }

/* Síla přihlášky */
.apply__side { display: grid; gap: 24px; }
.power { border: 4px solid var(--proud-yellow); border-radius: var(--radius-pill); padding: 22px; display: grid; gap: 14px; background: #fff; }
.power__top { display: flex; align-items: center; gap: 16px; }
.power__glass { width: 64px; flex: none; }
.power__beer { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.power__lbl { font-weight: 800; text-transform: uppercase; font-size: 13px; }
.power__pct { font-weight: 800; font-size: 52px; line-height: 1; }
.power__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.power__list li { display: flex; justify-content: space-between; gap: 8px; color: #aaa; transition: color .3s; }
.power__list li.on { color: #000; font-weight: 700; }
.power__list li.on b::before { content: "✓ "; }
.power__note { color: var(--proud-grey); font-size: 13px; }

/* Okamžitá kontrola 3k */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; color: #aaa; transition: color .3s; }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 3px solid currentColor; flex: none; display: grid; place-items: center; font-size: 15px; }
.checks li.ok { color: #000; }
.checks li.ok::before { content: "✓"; background: var(--proud-yellow); border-color: var(--proud-yellow); }

/* Castingová výzva */
.brief { background: var(--proud-yellow); border-radius: var(--radius-pill); padding: 24px; display: grid; gap: 12px; }
.brief small { font-weight: 800; text-transform: uppercase; font-size: 13px; }
.brief h3 { font-weight: 800; font-size: 32px; line-height: 1; margin: 0; }
.brief ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.35; }
.boost { font-weight: 800; background: #000; color: var(--proud-yellow); border-radius: 22px; padding: 2px 12px; font-size: 14px; justify-self: start; }
.brief .fld input { border-color: #fff; }
.brief .fld input:focus { border-color: #000; }

/* Odeslání podržením */
.hold { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; user-select: none; -webkit-user-select: none; }
.hold__btn { position: relative; overflow: hidden; font: 800 24px var(--font); border: 0; border-radius: var(--radius-pill); padding: 14px 26px; background: #000; color: #fff; cursor: pointer; touch-action: none; }
.hold__btn i { position: absolute; inset: 0; background: var(--proud-yellow); transform-origin: left; transform: scaleX(0); }
.hold__btn span { position: relative; }
.hold__btn:focus-visible { outline: 3px solid var(--proud-yellow); outline-offset: 3px; }
.hold__bottle { width: 40px; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.hold__bottle.flip { transform: rotate(180deg); }

/* Po odeslání */
.ticket { background: #000; color: #fff; border-radius: var(--radius-pill); padding: 28px; display: grid; gap: 10px; animation: ticket-in .8s cubic-bezier(.2,.9,.2,1.2); }
.ticket small { color: var(--proud-yellow); font-weight: 800; text-transform: uppercase; }
.ticket h3 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); line-height: .95; margin: 0; }
.ticket__meta { font-weight: 800; font-size: 20px; }
@keyframes ticket-in { from { transform: rotate(-180deg) scale(.4); opacity: 0; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; }
.timeline li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 4px solid var(--proud-yellow); }
.timeline li.now::before { background: var(--proud-yellow); }

/* Mobil: síla přihlášky jako přilepená lišta */
@media (max-width: 1023px) {
  .apply__side { display: contents; }
  .power { position: sticky; top: 0; z-index: 20; padding: 10px 18px; border-radius: 22px; }
  .power__list, .power__note { display: none; }
  .power__glass { width: 34px; }
  .power__pct { font-size: 34px; }
}
@media (min-width: 1024px) { .apply__side { position: sticky; top: 24px; } }
@media (prefers-reduced-motion: reduce) { .ticket { animation: none; } .hold__bottle, .power__beer { transition: none; } }
