/* MestoPlus · prehliadka funkcií (záložky + telefón) a pás pre mestá */
.fx { padding-bottom: 40px; }
.fx-tabs { position: relative; display: flex; width: max-content; max-width: 100%; gap: 2px; padding: 5px; margin-top: 34px; background: var(--card); border-radius: 99px; overflow-x: auto; scrollbar-width: none; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tabs button { position: relative; z-index: 1; flex: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--mute); background: none; border: 0; padding: 11px 18px; border-radius: 99px; cursor: pointer; white-space: nowrap; transition: color .25s; }
.fx-tabs button:hover { color: var(--ink2); }
.fx-tabs button[aria-selected="true"] { color: var(--brand); }
.fx-tabs button:focus-visible, .fx-it:focus-visible { outline: 3px solid rgba(165,152,197,.6); outline-offset: 2px; }
.fx-pill { position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 99px; background: #fff; box-shadow: 0 6px 18px -10px rgba(36,29,46,.4); transition: transform .45s cubic-bezier(.3,.8,.2,1), width .45s cubic-bezier(.3,.8,.2,1); }
.fx-tabs:not(.js) button[aria-selected="true"] { background: #fff; }

.fx-body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "head stage" "tabs stage" "list stage" "more stage"; grid-template-rows: auto auto auto 1fr; column-gap: 56px; align-items: start; }
.fx-head { grid-area: head; } .fx-tabs { grid-area: tabs; } .fx-panels { grid-area: list; margin-top: 22px; } .fx-more { grid-area: more; } .fx-stage { grid-area: stage; }
.fx-panel { outline: none; }
.fx-panel + .fx-panel { margin-top: 10px; }
.fx-panel[hidden] { display: none; }
.fx-list { list-style: none; display: grid; gap: 10px; }
.fx-it { position: relative; width: 100%; display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: var(--r); padding: 20px 22px; cursor: pointer; overflow: hidden; transition: background .3s, border-color .3s, box-shadow .3s; }
.fx-it:hover { background: var(--card); }
.fx-it.on { background: #fff; border-color: var(--line); box-shadow: 0 24px 48px -32px rgba(36,29,46,.45); }
.fx-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--card); color: var(--mute); display: grid; place-items: center; transition: background .3s, color .3s; }
.fx-it:hover .fx-ic { background: #fff; color: var(--brand); }
.fx-it.on .fx-ic { background: var(--brand); color: #fff; }
.fx-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fx-tx b { display: block; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink2); padding-top: 2px; transition: color .3s; }
.fx-tx span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--mute); transition: color .3s; }
.fx-it.on .fx-tx b { color: var(--brand); }
.fx-it.on .fx-tx span { color: var(--ink2); }
.fx-bar { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; overflow: hidden; border-radius: 2px; }
.fx-it.on .fx-bar::after { content: ""; position: absolute; inset: 0; background: var(--lav); transform: scaleX(0); transform-origin: left; animation: fxbar 4.5s linear forwards; }
.fx.paused .fx-it.on .fx-bar::after { animation-play-state: paused; }
@keyframes fxbar { to { transform: none; } }
.fx-panel.in .fx-it { animation: fxin .55s cubic-bezier(.2,.7,.2,1) both; }
.fx-panel.in li:nth-child(2) .fx-it { animation-delay: .06s; }
.fx-panel.in li:nth-child(3) .fx-it { animation-delay: .12s; }
@keyframes fxin { from { opacity: 0; transform: translateY(12px); } }

.fx-stage { margin-top: 6px; position: relative; display: grid; place-items: center; padding: 52px 0 84px; border-radius: 32px; background: var(--cream); overflow: hidden; isolation: isolate; }
.fx-stage::before, .fx-stage::after { content: ""; position: absolute; left: 50%; top: 46%; border-radius: 50%; transform: translate(-50%, -50%); z-index: -1; }
.fx-stage::before { width: 440px; height: 440px; background: #EFEBF7; }
.fx-stage::after { width: 600px; height: 600px; border: 1px solid #E7E2F1; }
.fx .fx-phone { position: relative; left: auto; top: auto; width: 288px; transform: none; animation: none; box-shadow: 0 50px 90px -40px rgba(36,29,46,.55); }
.fx-screens img { transform: scale(1.03) translateY(6px); transition: opacity .6s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.fx-screens img.on { transform: none; }
.fx-cap { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); background: #fff; color: var(--brand); border: 1px solid var(--line); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 99px; white-space: nowrap; box-shadow: 0 10px 24px -16px rgba(36,29,46,.4); }
.fx-cap.pop { animation: pop .45s cubic-bezier(.2,.8,.2,1.2); }
.fx-more { margin-top: 22px; padding: 0 22px; font-size: 14.5px; color: var(--mute); }

@media (max-width: 860px) {
  .fx-tabs { margin-top: 26px; }
  .fx-tabs button { font-size: 14.5px; padding: 10px 16px; }
  .fx-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tabs" "stage" "list" "more"; grid-template-rows: none; }
  .fx-stage { margin-top: 18px; padding: 30px 0 70px; border-radius: 26px; }
  .fx-panels { margin-top: 14px; }
  .fx-stage::before { width: 300px; height: 300px; }
  .fx-stage::after { width: 420px; height: 420px; }
  .fx .fx-phone { width: 232px; border-radius: 36px; padding: 8px; }
  .fx .fx-phone .screens { border-radius: 28px; }
  .fx-cap { bottom: 22px; }
  .fx-it { padding: 16px 16px; gap: 14px; grid-template-columns: 42px 1fr; }
  .fx-ic { width: 42px; height: 42px; border-radius: 13px; }
  .fx-tx b { font-size: 17px; }
  .fx-tx span { font-size: 15px; }
  .fx-bar { left: 16px; right: 16px; }
}

/* pás pre mestá */
.cityband { padding: 24px 0 48px; }
.cb { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center; background: var(--brand); color: #fff; border-radius: 30px; padding: 44px 48px; }
.cb::after { content: ""; position: absolute; right: -60px; top: -70px; width: 300px; height: 300px; background: url("plus.svg") center/contain no-repeat; opacity: .06; pointer-events: none; }
.cb-k { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--lav); }
.cb-k::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--lav); }
.cb h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-top: 12px; }
.cb p { margin-top: 10px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 600px; }
.cb-act { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cb-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 14px; background: #fff; color: var(--brand); font-weight: 800; font-size: 16px; transition: transform .2s, box-shadow .2s; }
.cb-btn b { transition: transform .2s; }
.cb-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); }
.cb-btn:hover b { transform: translateX(4px); }
.cb-link { color: rgba(255,255,255,.82); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.cb-link:hover { color: #fff; }
@media (max-width: 860px) {
  .cb { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 24px; }
  .cb-act { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-pill, .fx-screens img { transition: none; }
  .fx-it.on .fx-bar::after, .fx-panel.in .fx-it, .fx-cap.pop { animation: none; }
  .fx-it.on .fx-bar::after { display: none; }
}
