/* ═══════════════════════════════════════════════════════════════
   LP Jak to funguje – svislá osa 4 kroků + pláty skládané zespodu.
   Pláty jsou vlastní tvar (zaoblené desky), NE logo GS.
   ═══════════════════════════════════════════════════════════════ */

/* ── Sekce ── */
.steps { background: #fff; padding: 100px 0 110px; }
.steps-head { max-width: 640px; margin-bottom: 64px; }
.steps-head .lead { max-width: 560px; }
.steps-variant { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 6px 12px; border-radius: 6px; margin-bottom: 28px; }

.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.steps-a .steps-grid { grid-template-columns: minmax(0, 760px); }

/* ── Osa ── */
.tl { position: relative; list-style: none; padding: 0; margin: 0; }
.tl-fill { position: absolute; left: 23px; top: 24px; width: 3px; border-radius: 2px; z-index: 1; }
/* Šedá osa po úsecích: od tečky k další tečce, pod posledním krokem nepokračuje. */
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: -24px; width: 3px; background: #E3E6EC; }
.tl-dot { z-index: 2; }
.tl-fill { height: 0; background: linear-gradient(180deg, var(--red), var(--orange) 60%, var(--gold)); transition: height .5s ease; }
.tl-step { position: relative; padding: 0 0 56px 80px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 0; width: 49px; height: 49px; border-radius: 50%; background: #fff; border: 3px solid #E3E6EC; display: grid; place-items: center; font-size: .95rem; font-weight: 800; color: var(--navy-mid); transition: background .35s, border-color .35s, color .35s, box-shadow .35s; }
.tl-step.is-on .tl-dot { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(46,53,72,.22); }
.tl-title { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--navy); padding-top: 9px; }
.tl-text { font-size: 1rem; color: var(--gray-600); line-height: 1.7; margin-top: 10px; max-width: 580px; }
.tl-get { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 18px; background: var(--cream); border-radius: 12px; max-width: 580px; font-size: .95rem; color: var(--navy); line-height: 1.55; }
.tl-get strong { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 2px; }
.tl-get svg { flex: none; margin-top: 3px; color: var(--orange); }

/* ── Pláty (varianta B) ── */
.plates { position: sticky; top: 130px; text-align: center; }
.plates svg { width: 100%; max-width: 290px; height: auto; overflow: visible; }
.plate-base { fill: #fff; stroke: #D3D7DF; stroke-width: 1.5; stroke-dasharray: 6 6; }
.plate-on { opacity: 0; transform: translateY(-34px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.9,.3,1.25); }
.plate.is-on .plate-on { opacity: 1; transform: none; }
.plate-on .face { fill: rgba(255,255,255,.3); }
.plate-label { font-size: 13px; font-weight: 700; fill: #fff; opacity: 0; transition: opacity .3s .25s; }
.plate.is-on .plate-label { opacity: 1; }
.plates-cap { margin-top: 18px; font-size: .9rem; font-weight: 700; color: var(--navy); min-height: 1.5em; }
.plates-cap span { color: var(--gray-600); font-weight: 500; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .plates { display: none; }
}
@media (max-width: 600px) {
  .steps { padding: 72px 0 80px; }
  .tl-step { padding: 0 0 44px 64px; }
  .tl-dot { width: 41px; height: 41px; font-size: .85rem; }
  .tl-fill, .tl-step:not(:last-child)::before { left: 19px; top: 20px; }
  .tl-step:not(:last-child)::before { bottom: -20px; }
  .tl-title { padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .plate-on, .tl-fill, .tl-dot, .plate-label { transition: none; }
}
