/* Mesto+ — web aplikácie. Rovnaký jazyk ako appka: Manrope, biela, mestská modrá, žltá ako detail. */
:root {
  --ink: #241D2E; --brand: #332B3F; --lav: #A598C5; --cream: #FAF9F7; --ink2: #3C4656; --mute: #7C8594; --line: #E8EBF0; --card: #F3F5F8; --bg: #fff;
  --blue: #0251C7; --yellow: #FDCD07; --ok: #1F9D57; --okbg: #E6F5EC; --r: 22px;
  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: #5B4B8A; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* hlavička */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--brand); letter-spacing: -.03em; }
.brand .sym { width: 44px; height: auto; }
.brand:hover { text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); position: relative; display: grid; place-items: center; }
.mark::before, .mark::after { content: ""; position: absolute; background: #fff; border-radius: 2px; }
.mark::before { width: 16px; height: 3.4px; } .mark::after { width: 3.4px; height: 16px; }
.mark i { position: absolute; right: 5px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink2); }
@media (max-width: 760px) { .nav { display: none; } }

/* hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: #6E5E98; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--lav); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 18px 0 20px; }
h1 span { color: var(--mute); }
.lead { font-size: 19px; color: var(--ink2); max-width: 520px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.1; }
.store b { display: block; line-height: 1.2; }
.store.soon { background: var(--card); color: var(--ink2); }
.store:hover { text-decoration: none; }
.note { margin-top: 18px; font-size: 14px; color: var(--mute); }

.phones { position: relative; height: 690px; }
.phone { position: absolute; width: 270px; border-radius: 42px; padding: 10px; background: var(--brand); box-shadow: 0 40px 80px -30px rgba(14,23,38,.45); }
.phone img { border-radius: 33px; }
.phone.p1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone.p2 { left: 0; top: 70px; transform: rotate(-6deg) scale(.86); opacity: .97; }
.phone.p3 { right: 0; top: 70px; transform: rotate(6deg) scale(.86); opacity: .97; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 580px; }
  .phone { width: 230px; }
}
@media (max-width: 520px) { .phone.p2, .phone.p3 { display: none; } .phones { height: 570px; } }

/* sekcie */
section { padding: 72px 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.sub { color: var(--ink2); font-size: 18px; max-width: 620px; margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.f { background: var(--card); border-radius: var(--r); padding: 26px; }
.f .ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--brand); }
.f h3 { font-size: 19px; letter-spacing: -.02em; margin: 16px 0 6px; }
.f p { color: var(--ink2); font-size: 15.5px; }

.show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.show figure { text-align: center; }
.show .phone { position: static; width: 100%; max-width: 280px; margin: 0 auto; transform: none; }
.show figcaption { margin-top: 14px; font-weight: 700; }
.show figcaption span { display: block; font-weight: 500; color: var(--mute); font-size: 14.5px; }
@media (max-width: 860px) { .show { grid-template-columns: 1fr; } }

.city { display: flex; gap: 22px; align-items: center; background: var(--card); border-radius: 28px; padding: 30px; margin-top: 36px; }
.city .badge { width: 64px; height: 64px; flex: none; border-radius: 20px; background: var(--blue); color: #fff; font-weight: 800; font-size: 32px; display: grid; place-items: center; position: relative; }
.city .badge i { position: absolute; right: 9px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); }
.city h3 { font-size: 22px; letter-spacing: -.02em; }
.city p { color: var(--ink2); }

.honest { border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.honest b { display: block; }
.honest p { color: var(--ink2); font-size: 15.5px; }

/* právne a obsahové stránky */
.doc { padding: 48px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 12px 0 10px; }
.doc .meta { color: var(--mute); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink2); }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; margin-top: 8px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 700; background: var(--card); }
.box { background: var(--card); border-radius: 18px; padding: 20px 22px; margin-top: 16px; }
.box.ok { background: var(--okbg); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--mute); font-weight: 600; }
details[open] summary::after { content: "–"; }
details p { margin-top: 8px; }

/* pätička */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--mute); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink2); font-weight: 600; }

/* --- pohyb --- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.screens { position: relative; aspect-ratio: 390 / 844; border-radius: 33px; overflow: hidden; background: #fff; }
.screens img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 1.2s ease; border-radius: 0; }
.screens img.on { opacity: 1; transform: none; }
.screen-label { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); background: var(--lav); color: var(--brand) !important; color: #fff; font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 20px; white-space: nowrap; }
.screen-label.show { animation: pop .5s cubic-bezier(.2,.8,.2,1.2); }
@keyframes pop { from { transform: translateX(-50%) translateY(6px) scale(.9); opacity: 0; } }
.phone.p2 { animation: float2 7s ease-in-out infinite; }
.phone.p3 { animation: float3 7s ease-in-out infinite; }
@keyframes float2 { 50% { transform: rotate(-4deg) scale(.86) translateY(-12px); } }
@keyframes float3 { 50% { transform: rotate(4deg) scale(.86) translateY(-12px); } }
.f { transition: transform .25s ease, box-shadow .25s ease, background .25s; }
.f:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 18px 40px -22px rgba(14,23,38,.3); }

/* --- Vranov: pripravené mesto --- */
.ready { background: linear-gradient(160deg, #0055BB 0%, #003F8C 100%); color: #fff; border-radius: 32px; padding: 44px 40px 0; overflow: hidden; position: relative; }
.ready::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(254,209,0,.35), transparent 70%); }
.ready-head { max-width: 620px; position: relative; z-index: 1; }
.ready h2 { color: #fff; margin-top: 14px; }
.ready-head p { color: rgba(255,255,255,.82); font-size: 18px; margin-top: 10px; }
.live { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); padding: 6px 14px 6px 10px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; position: relative; z-index: 1; }
.stats div { background: rgba(255,255,255,.1); border-radius: 18px; padding: 18px; }
.stats b { display: block; font-size: 38px; letter-spacing: -.03em; line-height: 1; color: var(--yellow); }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.35; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .ready { padding: 32px 22px 0; } }
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px 4px 40px; margin: 0 -40px; padding-left: 40px; padding-right: 40px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: none; scroll-snap-align: center; text-align: center; transition: transform .3s; }
.strip figure:hover { transform: translateY(-6px); }
.phone.sm { position: static; width: 220px; padding: 8px; border-radius: 34px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); background: #0B1220; transform: none; animation: none; }
.phone.sm img { border-radius: 27px; }
.strip figcaption { margin-top: 12px; font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .strip { margin: 0 -22px; padding-left: 22px; padding-right: 22px; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .phone.p2, .phone.p3, .live i { animation: none; }
}
