/* Crushoo: jak to funguje, proč hlas, pro koho, bezpečí, otázky */

/* JAK TO FUNGUJE */
.steps { background: var(--cream); padding-top: clamp(96px, 14vw, 150px); }

.steps__list { display: grid; gap: 34px; counter-reset: none; }

.step {
  position: relative;
  padding: 22px 22px 26px;
  background: #fff;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: rotate .35s var(--ease-out), opacity .7s ease, translate .8s var(--ease-out);
}
.step:nth-child(1) { rotate: -.8deg; }
.step:nth-child(2) { rotate: .9deg; }
.step:nth-child(3) { rotate: -.5deg; }
.step:hover { rotate: 0deg; }
.js .step.reveal {
  transition: rotate .35s var(--ease-out), opacity .7s ease, translate .8s var(--ease-out);
  transition-delay: 0s, var(--rd, 0s), var(--rd, 0s);
}

.step__num {
  position: absolute;
  top: -20px;
  left: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.step__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 164px;
  margin-bottom: 20px;
  border: var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.step--1 .step__art { background: var(--peach); }
.step--2 .step__art { background: var(--blush); }
.step--3 .step__art { background: var(--butter); }

.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* ilustrace 1: mikrofon s odpočtem */
.art-mic { position: relative; display: grid; place-items: center; width: 124px; height: 124px; }
.art-mic__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.art-mic__ring circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.art-mic__ring .art-mic__progress {
  fill: none;
  stroke: var(--crush-deep);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 2.2s cubic-bezier(.65, 0, .35, 1) .3s;
}
.step.is-in .art-mic__progress,
html:not(.js) .art-mic__progress { stroke-dashoffset: 82; }
.art-mic__ico { position: relative; color: var(--ink); margin-top: -12px; }
.art-mic__ico .ico { width: 34px; height: 34px; }
.art-mic__time { position: absolute; bottom: 26px; font-family: var(--font-display); font-size: 1.05rem; }

/* ilustrace 2: večer v 19:00 a vyrovnaný poměr */
.art-clock { display: grid; justify-items: center; gap: 14px; }
.art-clock__time {
  padding: 4px 18px 6px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--crush-deep);
}
.art-clock__balance { display: flex; align-items: flex-start; gap: 12px; }
.art-clock__balance b { font-family: var(--font-display); font-size: 1.5rem; line-height: 18px; }
.dots { display: grid; grid-template-columns: repeat(4, 18px); gap: 6px; justify-items: center; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); }
.dots--f i { background: var(--crush); }
.dots--m i { background: var(--tangerine); }
.dots small { grid-column: 1 / -1; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.step.is-in .dots i { animation: pop .5s var(--ease-out) both; }
.step.is-in .dots i:nth-child(2) { animation-delay: .08s; }
.step.is-in .dots i:nth-child(3) { animation-delay: .16s; }
.step.is-in .dots i:nth-child(4) { animation-delay: .24s; }

/* ilustrace 3: rezervace */
.ticket {
  position: relative;
  display: grid;
  gap: 2px;
  width: min(80%, 230px);
  padding: 14px 18px 16px;
  background: #fff;
  border: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  rotate: -4deg;
  text-align: left;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--butter);
  border: var(--line);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket__tag {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  justify-self: start;
  padding: .15em .6em;
  border-radius: 999px;
  background: #E2F6E9;
  color: #0E6B3A;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ticket__tag .ico { width: 1em; height: 1em; stroke-width: 3.2; }
.ticket strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; margin-top: 4px; }
.ticket span:last-child { font-size: .8rem; font-weight: 600; color: var(--ink-2); }

/* PROČ JEN HLAS */
.voice {
  overflow: hidden;
  background:
    radial-gradient(90% 50% at 50% 0%, #5E1640 0%, rgba(94, 22, 64, 0) 70%),
    var(--night);
  color: var(--on-night);
  padding-top: 40px;
}
.wave--big {
  height: 96px;
  gap: 5px;
  margin-bottom: clamp(48px, 8vw, 80px);
  color: #FF5C8A;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.wave--big span { width: 5px; }
.wave--big span:nth-child(3n) { color: var(--butter); background: var(--butter); }
.wave--big span:nth-child(5n) { background: var(--tangerine); }

.voice__grid { display: grid; gap: 44px; }
.voice h2 { color: var(--on-night); max-width: 12ch; }
.voice .lead { margin-top: 18px; }

.nope { display: grid; gap: 10px; margin-top: 30px; font-weight: 700; font-size: 1.125rem; }
.nope li { display: flex; align-items: center; gap: .6em; }
.nope__x {
  color: var(--on-night-2);
  text-decoration: line-through;
  text-decoration-color: #FF5C8A;
  text-decoration-thickness: 3px;
}
.nope li:not(.nope__yes)::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 92, 138, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A9C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.nope__yes { margin-top: 4px; font-family: var(--font-display); font-size: 1.6rem; color: var(--butter); }
.nope__yes .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--butter); color: var(--night); stroke-width: 3.4; }

.reasons { display: grid; gap: 16px; }
.reason {
  padding: 22px 22px 24px;
  background: rgba(255, 237, 224, .06);
  border: 1.5px solid rgba(255, 237, 224, .16);
  border-radius: 24px;
}
.reason__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--crush);
  color: #fff;
}
.reason:nth-child(2) .reason__ico { background: var(--tangerine); color: var(--ink); }
.reason:nth-child(3) .reason__ico { background: var(--butter); color: var(--ink); }
.reason__ico .ico { width: 26px; height: 26px; }
.reason h3 { color: var(--on-night); margin-bottom: 8px; }
.reason p { color: var(--on-night-2); }

/* PRO KOHO */
.audience {
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(255, 139, 61, .22) 0%, rgba(255, 139, 61, 0) 70%),
    var(--peach);
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 980px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 18px 11px 12px;
  background: #fff;
  border: var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:nth-child(odd) { rotate: -.8deg; }
.chip:nth-child(3n) { rotate: 1deg; }
.chip::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff center / 14px no-repeat;
  transition: background-color .2s ease;
}
.chip:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.chip[aria-pressed="true"] { background: var(--blush); }
.chip[aria-pressed="true"]::before {
  background-color: var(--crush-deep);
  border-color: var(--crush-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  animation: pop .35s var(--ease-out);
}

.chips__result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.4vw, 1.8rem);
  line-height: 1.15;
}
.chips__count {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--crush-deep);
  color: #fff;
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
}
.chips__count.is-bump { animation: pop .4s var(--ease-out); }

/* BEZPEČÍ */
.safety { background: var(--cream); }
.safety__grid { display: grid; gap: 18px; }
.safe {
  position: relative;
  padding: 24px 22px 26px;
  background: #fff;
  border: var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.safe__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border: var(--line);
  border-radius: 18px;
}
.safe__ico .ico { width: 28px; height: 28px; }
.safe__ico--a { background: #DDF4E6; }
.safe__ico--b { background: var(--butter); }
.safe__ico--c { background: var(--blush); }
.safe h3 { margin-bottom: 8px; }
.safe p { color: var(--ink-2); }
.safe__btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-top: 18px;
  padding: .55em 1.1em;
  border-radius: 999px;
  background: #E5173F;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 0 0 5px rgba(229, 23, 63, .16);
}
.safe__btn .ico { width: 1.1em; height: 1.1em; }

/* OTÁZKY */
.faq { background: var(--cream); padding-top: 0; }
.faq__grid { display: grid; gap: 8px; }
.faq__list { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: var(--line);
  border-radius: 22px;
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
}
.faq summary {
  position: relative;
  display: block;
  padding: 18px 60px 18px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--butter) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A0E1F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  border: 2px solid var(--ink);
  transition: rotate .25s var(--ease-out), background-color .2s ease;
}
.faq details[open] summary::after { rotate: 45deg; background-color: var(--blush); }
.faq summary:focus-visible { outline-offset: -5px; border-radius: 20px; }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

@media (min-width: 720px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reason:first-child { grid-column: 1 / -1; }
  .safety__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .voice__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .step.is-in .art-mic__progress, .art-mic__progress { stroke-dashoffset: 82; }
}
