/* ============ RESET & TOKENS ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    color-scheme: light;
    --bg: #fff;
    --bg-tint: #f4f4f4;
    --text: #171a20;
    --muted: #5c5e62;
    --line: #e4e4e6;
    --dark: #171a20;
    --on-dark: #f4f4f4;
    --on-dark-muted: #9a9ca1;
    --line-dark: rgba(255, 255, 255, .14);
    --nav-h: 64px;
    --ease: cubic-bezier(.2, .75, .25, 1);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol { list-style: none; }

:focus-visible { outline: 2px solid #3e6ae1; outline-offset: 3px; border-radius: 4px; }

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

/* ============ TYPE ============ */
h1 { font-size: clamp(40px, 7.4vw, 80px); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ============ PROGRESS ============ */
.progress {
    position: fixed; top: 0; left: 0; z-index: 200;
    height: 2px; width: 100%;
    background: var(--text);
    transform: scaleX(0); transform-origin: 0 50%;
}

/* ============ NAVBAR ============ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--nav-h);
    padding-top: env(safe-area-inset-top);
    box-sizing: content-box;
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled, .nav.is-open {
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: var(--nav-h); width: 100%; max-width: 1440px; margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 36px);
}
.nav__brand { justify-self: start; font-weight: 600; font-size: clamp(15px, 2.4vw, 17px); letter-spacing: .16em; white-space: nowrap; }
.nav__brand span { font-weight: 400; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a {
    padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500;
    transition: background .25s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { background: rgba(23, 26, 32, .07); }

.nav__right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav__ig {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
    transition: background .25s var(--ease);
}
.nav__ig:hover { background: rgba(23, 26, 32, .07); }

.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.nav__toggle span {
    position: absolute; left: 12px; right: 12px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 240px; min-height: 44px; padding: 12px 28px;
    border-radius: 4px; font-size: 14px; font-weight: 500;
    border: 2px solid transparent;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #393c41; }
.btn--light { background: rgba(244, 244, 244, .9); color: var(--text); }
.btn--light:hover { background: #fff; }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: #e4e4e6; }

/* ============ HERO ============ */
.hero {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + clamp(28px, 9vh, 100px)) 20px clamp(28px, 6vh, 56px);
    text-align: center; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 80% 55% at 50% 45%, #fff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f7f7f8 0%, #e6e7ea 100%);
}
.hero__canvas {
    position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
    pointer-events: none; opacity: 0; transition: opacity 1.6s ease;
}
.hero__canvas.is-ready { opacity: var(--fade, 1); }

.hero__content { max-width: 900px; }
.hero__sub { margin-top: 16px; font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); }

/* Jediný úvodný efekt: nábeh hero textu */
.hero__title, .hero__sub, .hero__actions, .scroll { animation: rise 1.1s var(--ease) both; }
.hero__sub { animation-delay: .12s; }
.hero__actions { animation-delay: .3s; }
.scroll { animation: rise 1.1s .45s var(--ease) both, bob 2.4s 1.6s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__bottom { display: flex; flex-direction: column; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.scroll { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 20px; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .section__sub { color: var(--on-dark-muted); }

.section__head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__sub { margin-top: 16px; font-size: clamp(15px, 2vw, 18px); color: var(--muted); }

/* ============ SERVICES ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.service {
    display: flex; flex-direction: column;
    padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 40px) clamp(28px, 3vw, 40px);
    transition: background .4s var(--ease);
}
.service + .service { border-left: 1px solid var(--line-dark); }
.service:hover { background: rgba(255, 255, 255, .04); }
.service__icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 28px;
    border-radius: 50%; border: 1px solid var(--line-dark); color: #fff;
}
.service__price { margin-top: 18px; font-size: clamp(34px, 4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.service__price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--on-dark-muted); margin-right: 4px; }
.service__note { margin-top: 6px; font-size: 14px; color: var(--on-dark-muted); }
.service__text { margin-top: 16px; font-size: 15px; color: var(--on-dark-muted); max-width: 34ch; }
.service__more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 32px;
    font-size: 14px; font-weight: 500; color: #fff;
}
.service__more i { font-style: normal; transition: transform .3s var(--ease); }
.service__more:hover i { transform: translateX(5px); }

/* ============ STEPS ============ */
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px);
    position: relative; counter-reset: s;
}
.steps::before {
    content: ""; position: absolute; top: 19px; left: 20px; right: 20px;
    height: 1px; background: var(--line);
}
.step { position: relative; }
.step__num {
    position: relative; display: grid; place-items: center;
    width: 40px; height: 40px; margin-bottom: 24px;
    border-radius: 50%; background: var(--dark); color: #fff;
    font-size: 14px; font-weight: 500;
}
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.step a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.legal {
    max-width: 760px; margin: clamp(48px, 7vw, 88px) auto 0;
    padding: clamp(24px, 3.4vw, 40px);
    background: var(--bg-tint); border-radius: 12px;
}
.legal p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.legal strong { color: var(--text); font-weight: 600; }

/* ============ WHY ============ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d5d6d9; margin-bottom: clamp(48px, 7vw, 88px); }
.why__item { padding: clamp(28px, 3.4vw, 44px) clamp(18px, 3vw, 36px) 0; }
.why__item + .why__item { border-left: 1px solid #d5d6d9; }
.why__big { font-size: clamp(56px, 7vw, 88px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 24px; }
.why__item p:last-child { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 34ch; }

.frame {
    max-width: 900px; margin-inline: auto;
    padding: clamp(6px, 1.4vw, 14px);
    background: #fff; border: 1px solid var(--line);
    border-radius: clamp(14px, 2.4vw, 24px);
    box-shadow: 0 24px 60px -24px rgba(23, 26, 32, .22);
    overflow: hidden; will-change: transform;
}
.frame__img { width: 100%; border-radius: clamp(8px, 1.6vw, 14px); }

/* ============ FITNESS COACH ============ */
.coach { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.coach__logo {
    display: grid; place-items: center; aspect-ratio: 1;
    padding: clamp(28px, 6vw, 72px);
    background: var(--bg-tint); border-radius: 16px;
}
.coach__logo img { width: 100%; max-width: 380px; object-fit: contain; }
.coach__desc { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.coach__facts { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.coach__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.coach__facts dt { color: var(--muted); }
.coach__facts strong { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }

/* ============ MERCH ============ */
.merch { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.merch__img { border-radius: 16px; overflow: hidden; background: var(--bg-tint); aspect-ratio: 1; }
.merch__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.merch__img:hover img { transform: scale(1.04); }
.merch__price { margin: 14px 0 16px; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.merch__desc { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.merch__label { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.merch__sizes { display: flex; gap: 8px; margin-bottom: 32px; }
.size {
    display: grid; place-items: center; min-width: 48px; height: 44px; padding-inline: 14px;
    border: 1px solid var(--line); border-radius: 4px; font-size: 14px; font-weight: 500;
}

/* ============ CTA ============ */
.cta { padding: clamp(96px, 14vw, 180px) 0; }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ============ FOOTER ============ */
.footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer a:hover { color: var(--text); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .steps .reveal:nth-child(2), .why .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(3), .steps .reveal:nth-child(3), .why .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4) { transition-delay: .24s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before { display: none; }
}

@media (max-width: 900px) {
    .services, .why { grid-template-columns: 1fr; }
    .service + .service, .why__item + .why__item { border-left: 0; border-top: 1px solid var(--line-dark); }
    .why__item + .why__item { border-top-color: #d5d6d9; }
    .why__item { padding-bottom: 28px; padding-inline: 0; }
    .service { padding-inline: 4px; }
    .service__text, .why__item p:last-child { max-width: none; }
    .merch, .coach { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --nav-h: 56px; }
    .nav__inner { grid-template-columns: 1fr auto; }
    .nav__toggle { display: block; }
    .nav__ig span { display: none; }
    .nav__ig { padding: 12px; }

    .nav__menu {
        position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top)); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 20px 20px;
        background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
    .nav__menu a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav__menu a:last-child { border-bottom: 0; }
    .nav__menu a:hover, .nav__menu a.is-active { background: none; }
}

@media (max-width: 600px) {
    .hero__actions, .cta__actions { flex-direction: column; width: 100%; max-width: 360px; }
    .btn { width: 100%; min-width: 0; }
    .scroll { margin-top: 8px; }
    .steps { grid-template-columns: 1fr; }
    .coach__facts div { grid-template-columns: 1fr; gap: 2px; }
    .footer__inner { justify-content: center; text-align: center; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}


/* =====================================================================
   VYLEPŠENÝ DIZAJN + NOVÉ SEKCIE
   (Značka, S1LVOX PASS, Prehľad údajov, Autoškola)
   ===================================================================== */

:root {
    --accent: #3e6ae1;
    --ok: #1f7a45;
    --danger: #d92d20;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(23, 26, 32, .05), 0 6px 18px -8px rgba(23, 26, 32, .14);
    --shadow-md: 0 2px 4px rgba(23, 26, 32, .04), 0 28px 56px -26px rgba(23, 26, 32, .3);
}

::selection { background: var(--dark); color: #fff; }
:focus-visible { outline-color: var(--accent); }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Globálne zjemnenie ---------- */
.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.section__head .eyebrow { margin-bottom: 16px; }
.section--dark .eyebrow, .section--black .eyebrow { color: var(--on-dark-muted); }

.btn { border-radius: 8px; letter-spacing: .01em; }
.btn:hover:not(:active) { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(23, 26, 32, .55); }
.btn--white:hover:not(:active) { box-shadow: 0 14px 26px -14px rgba(255, 255, 255, .35); }

.nav__brand { transition: opacity .25s var(--ease); }
.nav__brand:hover { opacity: .7; }
.nav__menu a.is-active { background: rgba(23, 26, 32, .09); }

.service { border-radius: 0; }
.service:hover { background: rgba(255, 255, 255, .05); }
.service:hover .service__icon { background: #fff; color: var(--dark); }
.service__icon { transition: background .35s var(--ease), color .35s var(--ease); }

.why__big { background: linear-gradient(180deg, var(--text) 40%, #6b6e75 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__num { box-shadow: 0 0 0 6px var(--bg); }

/* ---------- ZNAČKA ---------- */
.brand { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.brand__lead { margin-top: 18px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 48ch; }

.pillars {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin: 32px 0; list-style: none; counter-reset: p;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.pillars li { position: relative; padding: 22px 18px; counter-increment: p; transition: background .35s var(--ease); }
.pillars li:hover { background: var(--bg-tint); }
.pillars li + li { border-left: 1px solid var(--line); }
.pillars li::before {
    content: "0" counter(p); display: block; margin-bottom: 14px;
    font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted);
}
.pillars p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.brand__text { margin-bottom: 28px; color: var(--muted); max-width: 52ch; }
.brand__text strong { color: var(--text); font-weight: 600; letter-spacing: .02em; }

.brand__logo {
    position: relative; aspect-ratio: 1; background: #000;
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-md);
}
.brand__logo::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.brand__logo:hover img { transform: scale(1.04); }

/* ---------- S1LVOX PASS ---------- */
#pass {
    background:
        radial-gradient(ellipse 60% 40% at 15% 0%, rgba(62, 106, 225, .07), transparent 70%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(23, 26, 32, .06), transparent 70%),
        var(--bg-tint);
}
.pass { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pass__info { position: sticky; top: calc(var(--nav-h) + 28px); }
.pass__info h3 { margin-bottom: 22px; font-size: 22px; }
.pass__list { display: grid; gap: 4px; list-style: none; }
.pass__list li {
    display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center;
    padding: 14px 16px; border-radius: 12px; font-size: 15px; color: var(--muted);
    transition: background .3s var(--ease);
}
.pass__list li:hover { background: rgba(255, 255, 255, .7); }
.pass__list span {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--dark); color: #fff; font-size: 14px; font-weight: 600;
}
.pass__list strong { color: var(--text); font-weight: 600; }
.pass__note { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pass__note a, .check a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.pass__card {
    position: relative; padding: clamp(24px, 3.6vw, 44px);
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-md); overflow: hidden;
}
.pass__card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--dark), #6b6e75 60%, var(--accent));
}

.pform { display: grid; gap: 22px; }
.pform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field[hidden], .done[hidden], .pform[hidden] { display: none; }
.field > label:not(.check), .field .label { font-size: 14px; font-weight: 500; }
.label em, .field label em { font-style: normal; font-weight: 400; color: var(--muted); }

.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="password"] {
    width: 100%; min-height: 50px; padding: 12px 16px;
    font: inherit; font-size: 16px; color: var(--text);
    background: #fafafb; border: 1px solid #d7d8db; border-radius: 10px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field input:hover { border-color: #9a9ca1; }
.field input:focus {
    outline: none; background: #fff; border-color: var(--text);
    box-shadow: 0 0 0 4px rgba(62, 106, 225, .16);
}
.field.has-error input[type="text"], .field.has-error input[type="email"], .field.has-error input[type="tel"],
.field.has-error input[type="date"], .field.has-error input[type="password"] {
    border-color: var(--danger); background: #fffafa;
}
.field__hint { font-size: 13px; color: var(--muted); }
.field__err { font-size: 13px; font-weight: 500; color: var(--danger); }
.field__err:empty, .field__hint:empty { display: none; }

.pwrap { position: relative; }
.pwrap input { padding-right: 96px !important; }
.pwrap__toggle {
    position: absolute; top: 5px; right: 5px; height: 40px; padding: 0 14px;
    border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--muted);
    transition: background .25s var(--ease), color .25s var(--ease);
}
.pwrap__toggle:hover { background: rgba(23, 26, 32, .07); color: var(--text); }

.meter { margin-top: 10px; }
.meter__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.meter__bars i { display: block; height: 6px; border-radius: 3px; background: #e4e4e6; transition: background .35s var(--ease); }
.meter__label { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.meter[data-level="1"] i:nth-child(-n+1) { background: #d92d20; }
.meter[data-level="2"] i:nth-child(-n+2) { background: #e8590c; }
.meter[data-level="3"] i:nth-child(-n+3) { background: #e5a100; }
.meter[data-level="4"] i:nth-child(-n+4) { background: #2e9e5b; }
.meter[data-level="1"] .meter__label { color: #d92d20; }
.meter[data-level="2"] .meter__label { color: #c2410c; }
.meter[data-level="3"] .meter__label { color: #9a6700; }
.meter[data-level="4"] .meter__label { color: var(--ok); }

.reqs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.reqs li {
    padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
    font-size: 12.5px; color: var(--muted); transition: all .3s var(--ease);
}
.reqs li::before { content: "○"; margin-right: 6px; }
.reqs li.is-ok { color: var(--ok); border-color: rgba(31, 122, 69, .35); background: rgba(31, 122, 69, .07); }
.reqs li.is-ok::before { content: "✓"; }

.photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; border: 1px dashed #c9cacd; border-radius: 12px; background: #fafafb; }
.photo__preview {
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none;
    background: #fff center / cover no-repeat; border: 1px solid var(--line); color: var(--muted); overflow: hidden;
}
.photo__preview.has-img svg { display: none; }
.photo__btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    background: #fff; border: 1px solid #c9cacd; border-radius: 8px;
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.photo__btn:hover { background: var(--bg-tint); border-color: #8e9096; }
#pf-photo:focus-visible + .photo__name { outline: 2px solid var(--accent); outline-offset: 3px; }
.photo__name { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }

.check {
    display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
    font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; color: var(--muted); cursor: pointer;
}
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--dark); cursor: pointer; }
.check strong { color: var(--text); font-weight: 600; }

.field--loc {
    padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fafafb;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field--loc:has(input:checked) { border-color: rgba(31, 122, 69, .4); background: rgba(31, 122, 69, .05); }
.field--loc.has-error { border-color: var(--danger); background: #fffafa; }
.loc__status.is-ok { color: var(--ok); font-weight: 500; }

.form__status { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-error { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.pform__submit { width: 100%; min-height: 52px; font-size: 15px; }
.pform__submit[disabled] { opacity: .65; cursor: progress; }

/* ---------- Po registrácii ---------- */
.done { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 8px 0; animation: rise .8s var(--ease) both; }
.done__avatar {
    display: block; width: 96px; height: 96px; border-radius: 50%;
    background: var(--bg-tint) center / cover no-repeat;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 12px 28px -12px rgba(23, 26, 32, .4);
}
.done h3 { font-size: 26px; letter-spacing: -.02em; }
.done__lead { max-width: 44ch; font-size: 15px; color: var(--muted); }
.done__id {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
    width: 100%; padding: 18px; background: var(--dark); border-radius: 12px; color: #fff;
}
.done__id code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(18px, 3.6vw, 24px); font-weight: 600; letter-spacing: .08em; user-select: all; overflow-wrap: anywhere;
}
.done__copy { min-width: 0; padding: 10px 20px; background: #fff; color: var(--text); }
.done__copy:hover { background: #e4e4e6 !important; }
.done__warn { padding: 10px 14px; border-radius: 8px; background: #fef3f2; font-size: 13px; color: #b42318; }
.done__again { margin-top: 6px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.done__again:hover { color: var(--text); }

/* ---------- PREHĽAD ÚDAJOV ---------- */
.data { margin-top: clamp(56px, 8vw, 104px); scroll-margin-top: calc(var(--nav-h) + 20px); }
.data__head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.data__head h3 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.data__head p:last-child { margin-top: 14px; color: var(--muted); }

.data__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard {
    display: flex; flex-direction: column; gap: 14px; padding: 26px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d0d1d5; }
.dcard--wide { grid-column: span 2; }
.dcard--key { border-color: rgba(217, 45, 32, .28); }
.dcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; }
.dcard__tag { padding: 4px 11px; border-radius: 999px; background: var(--bg-tint); font-size: 12px; font-weight: 600; color: var(--muted); }
.dcard__tag--req { background: #fef3f2; color: #b42318; }
.dcard h4 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.dcard p { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--bg-tint); font-size: 13px; }

.data__foot {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 16px; padding: clamp(22px, 3vw, 32px);
    background: rgba(255, 255, 255, .7); border: 1px dashed #c0c1c5; border-radius: var(--radius);
}
.data__foot h4 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.data__foot p { font-size: 14px; color: var(--muted); }
.data__foot a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- PROJEKTY ---------- */
.section--black {
    position: relative; isolation: isolate; overflow: hidden;
    background: #0b0c0f; color: var(--on-dark); border-top: 1px solid var(--line-dark);
}
.section--black::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse 50% 60% at 85% 40%, rgba(229, 72, 77, .16), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 100%);
}
.auto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 15px;
    border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, .04);
    font-size: 13px; font-weight: 500; color: var(--on-dark);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.auto__lead { margin-top: 18px; font-size: clamp(16px, 2vw, 19px); color: var(--on-dark-muted); max-width: 46ch; }
.auto__list { display: grid; gap: 0; margin: 28px 0 34px; list-style: none; border-top: 1px solid var(--line-dark); }
.auto__list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.auto__list li::before { content: "→"; position: absolute; left: 0; color: #e5484d; transition: transform .3s var(--ease); }
.auto__list li:hover::before { transform: translateX(4px); }
.auto__logo {
    display: grid; place-items: center; padding: clamp(30px, 5vw, 68px) clamp(20px, 4vw, 52px);
    background: radial-gradient(ellipse 80% 80% at 50% 40%, #22262e 0%, #111318 70%);
    border: 1px solid var(--line-dark); border-radius: 20px;
    box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
    will-change: transform;
}
.auto__logo img { width: 100%; max-width: 560px; }


/* ---------- WARFRONT ---------- */
.section--war::before {
    background:
        radial-gradient(ellipse 50% 60% at 15% 45%, rgba(216, 208, 195, .12), transparent 70%),
        radial-gradient(ellipse 45% 55% at 90% 60%, rgba(192, 21, 27, .2), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
}
.section--war .badge::before { background: #c0151b; box-shadow: 0 0 0 0 rgba(192, 21, 27, .6); }
.section--war .auto__list li::before { color: #c0151b; }
.auto--flip .auto__logo { order: -1; }
/* logo má svetlé pozadie, preto ho dáme na kostený podklad a zmiešame */
.auto__logo--war {
    background: linear-gradient(90deg, #e5e0d7 50%, #f1dcd8 50%);
    border-color: rgba(255, 255, 255, .2);
}
.auto__logo--war img { mix-blend-mode: multiply; }
@media (max-width: 900px) {
    .auto--flip .auto__logo { order: -1; }
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 761px) and (max-width: 1100px) {
    .nav__menu a { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 960px) {
    .data__grid { grid-template-columns: repeat(2, 1fr); }
    .dcard--wide { grid-column: span 2; }
    .data__foot { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 900px) {
    .brand, .pass, .auto { grid-template-columns: 1fr; }
    .pass__info { position: static; }
    .brand__logo { max-width: 520px; width: 100%; margin-inline: auto; }
    .auto__logo { order: -1; }
}
@media (max-width: 600px) {
    .pillars { grid-template-columns: 1fr; }
    .pillars li + li { border-left: 0; border-top: 1px solid var(--line); }
    .pform__grid { grid-template-columns: 1fr; }
    .data__grid { grid-template-columns: 1fr; }
    .dcard--wide { grid-column: auto; }
    .dcard { padding: 22px; }
    .photo { flex-direction: column; align-items: flex-start; }
}

/* ---------- Znížený pohyb (nové prvky) ---------- */
@media (prefers-reduced-motion: reduce) {
    .badge::before { animation: none !important; }
    .btn:hover:not(:active), .dcard:hover { transform: none; }
}

/* =====================================================================
   PROFIL — celoobrazovkový panel (prihlásenie, údaje, mapa)
   ===================================================================== */
.nav__profile {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500;
    transition: background .25s var(--ease);
}
.nav__profile:hover { background: rgba(23, 26, 32, .07); }
@media (max-width: 760px) {
    .nav__profile span { display: none; }
    .nav__profile { padding: 12px; }
}
.linkbtn { font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

html.profile-lock, html.profile-lock body { overflow: hidden; }

/* Panel: otvára sa kruhovým rozbalením z tlačidla, zatvára sa naspäť */
.profile {
    position: fixed; inset: 0; z-index: 300;
    display: flex; flex-direction: column;
    background: #fff;
    clip-path: circle(0 at var(--ox, 100%) var(--oy, 0));
    visibility: hidden; pointer-events: none;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.profile.is-open {
    clip-path: circle(150vmax at var(--ox, 100%) var(--oy, 0));
    visibility: visible; pointer-events: auto;
    transition: clip-path .85s var(--ease), visibility 0s;
}

.profile__bar {
    flex: none; display: flex; align-items: center; justify-content: space-between;
    padding: calc(env(safe-area-inset-top) + 10px) clamp(16px, 3vw, 36px) 10px;
    min-height: calc(var(--nav-h) + env(safe-area-inset-top));
    border-bottom: 1px solid var(--line);
}
.profile__brand { font-weight: 600; font-size: 15px; letter-spacing: .16em; }
.profile__brand span { font-weight: 400; color: var(--muted); }

.profile__close {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    transition: background .25s var(--ease), transform .5s var(--ease);
}
.profile__close:hover { background: rgba(23, 26, 32, .07); transform: rotate(90deg); }
.profile__close span {
    position: absolute; left: 12px; right: 12px; top: 21px; height: 2px;
    background: var(--text); border-radius: 2px;
}
.profile__close span:nth-child(1) { transform: rotate(45deg); }
.profile__close span:nth-child(2) { transform: rotate(-45deg); }

.profile__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.profile__inner {
    width: 100%; max-width: 1120px; margin-inline: auto;
    padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 40px) calc(env(safe-area-inset-bottom) + 56px);
}

.pview[hidden] { display: none; }
.profile.is-open .pview:not([hidden]) { animation: rise .8s .2s var(--ease) both; }

/* ----- Prihlásenie ----- */
.plogin { max-width: 440px; margin-inline: auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.plogin__icon {
    display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px;
    border-radius: 50%; border: 1px solid var(--line); background: var(--bg-tint);
}
.plogin .pform { width: 100%; margin-top: 14px; text-align: left; }
.plogin .field input#pf-id { letter-spacing: .08em; text-transform: uppercase; }
.plogin__foot { font-size: 14px; color: var(--muted); }
.plogin__foot a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ----- Hlavička profilu ----- */
.pd__head { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.pd__avatar {
    flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
    background: var(--bg-tint) center / cover no-repeat; border: 1px solid var(--line);
    font-size: 30px; font-weight: 500; color: var(--muted); letter-spacing: .02em;
}
.pd__who { flex: 1; min-width: 220px; }
.pd__who .eyebrow { margin-bottom: 6px; }
.pd__who h2 { overflow-wrap: anywhere; }
.pd__idrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pd__idrow code {
    padding: 7px 12px; border-radius: 8px; background: var(--bg-tint); border: 1px solid var(--line);
    font-size: 14px; font-weight: 500; letter-spacing: .06em;
}
.pd__copy { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; border: 1px solid #d7d8db; transition: background .25s var(--ease); }
.pd__copy:hover { background: var(--bg-tint); }
.pd__badge { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ok); background: rgba(31, 122, 69, .1); }
.pd__logout { min-width: 0; padding: 10px 22px; }

/* ----- Karty ----- */
.pd__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 24px); align-items: start; }
.pd__col { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.pcard { padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.pcard--wide { grid-column: 1 / -1; }
.pcard h3 { font-size: 18px; }
.pcard__sub { margin: 4px 0 16px; font-size: 14px; color: var(--muted); }
.pcard h3 + .dl { margin-top: 14px; }

.dl { display: grid; }
.dl > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dl > div:first-child { border-top: 0; }
.dl dt { color: var(--muted); }
.dl dd { font-weight: 500; overflow-wrap: anywhere; }
.dl--cols { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.dl--cols > div:nth-child(2) { border-top: 0; }

/* ----- Mapa ----- */
.pmap {
    position: relative; z-index: 0; isolation: isolate;
    height: clamp(280px, 44vh, 440px); margin-bottom: 14px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--bg-tint); overflow: hidden;
}
.pmap__fail { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; color: #b42318; background: #fef3f2; }
.pmap__fail[hidden] { display: none; }
.pcard--map .dl { margin-bottom: 4px; }
.pcard__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 16px; }
.pcard__actions .btn { min-width: 0; padding-inline: 22px; }
.pd__osm { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pcard--map .form__status { margin-top: 14px; }
.form__status.is-ok { color: var(--ok); background: rgba(31, 122, 69, .08); border: 1px solid rgba(31, 122, 69, .25); }
.form__status.is-info { color: var(--muted); background: var(--bg-tint); border: 1px solid var(--line); }
#pdUpdate[disabled] { opacity: .65; cursor: progress; }

/* Značka na mape */
.ppin { background: none; border: 0; }
.ppin i {
    display: block; width: 22px; height: 22px; margin: 2px; border-radius: 50%;
    background: var(--dark); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(23, 26, 32, .45);
}
.ppin i::after {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--accent); opacity: 0; animation: pinpulse 2.2s ease-out infinite;
}
@keyframes pinpulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.ppin { position: relative; }
.ppin i { position: relative; }

@media (max-width: 900px) {
    .pd__grid { grid-template-columns: 1fr; }
    .dl--cols { grid-template-columns: 1fr; }
    .dl--cols > div:nth-child(2) { border-top: 1px solid var(--line); }
    .pd__logout { width: 100%; }
}
@media (max-width: 520px) {
    .dl > div { grid-template-columns: 1fr; gap: 2px; }
    .pcard__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .profile, .profile.is-open { transition-delay: 0s !important; }
    .ppin i::after { animation: none; }
}


/* Záložná mapa (iframe) + poznámka */
.pmap[hidden] { display: none; }
.pmap--frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.pmap__note { margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.pmap__note[hidden] { display: none; }

/* =====================================================================
   FINÁLNY POLISH — responzivita, rozloženie, detaily
   ===================================================================== */
:root { --container: 1240px; --gap: clamp(16px, 2.4vw, 28px); }
@supports (height: 100dvh) { .hero { min-height: 100dvh; } }
body { overflow-wrap: break-word; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.container { max-width: var(--container); }
@media (min-width: 1600px) { :root { --container: 1360px; } html { font-size: 17px; } }

/* Skip link */
.skip { position: fixed; top: 8px; left: 8px; z-index: 400; padding: 10px 16px; border-radius: 8px; background: var(--dark); color: #fff; font-size: 14px; font-weight: 500; transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip:focus { transform: none; }

/* Hero */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); animation: rise 1s var(--ease) both; }
.hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; }
.hero__sub { max-width: 40ch; margin-inline: auto; }
@media (max-height: 560px) and (orientation: landscape) {
    .hero { min-height: auto; gap: 28px; padding-block: calc(var(--nav-h) + 32px) 32px; }
    .scroll { display: none; }
}

/* Navigácia: kompaktné menu už od tabletu (7 odkazov sa tam nezmestí) */
@media (max-width: 1024px) {
    :root { --nav-h: 60px; }
    .nav__inner { grid-template-columns: 1fr auto; }
    .nav__toggle { display: block; }
    .nav__ig span, .nav__profile span { display: none; }
    .nav__ig, .nav__profile { padding: 12px; }
    .nav__menu {
        position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top)); left: 0; right: 0;
        max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px clamp(20px, 5vw, 40px) calc(20px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(23,26,32,.25);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    }
    .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
    .nav__menu a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav__menu a:last-child { border-bottom: 0; }
    .nav__menu a:hover, .nav__menu a.is-active { background: none; color: var(--accent); }
}

/* Tlačidlá: hover len tam, kde existuje */
@media (hover: none) { .btn:hover:not(:active), .dcard:hover { transform: none; box-shadow: none; } .btn--dark:hover { background: var(--dark); } }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.auto__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rytmus sekcií a hlavičiek */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__sub { max-width: 56ch; margin-inline: auto; }

/* Služby: karty na mobile */
.service { min-height: 100%; }
@media (max-width: 900px) {
    .services { gap: 12px; border-top: 0; }
    .service, .service + .service { padding: 28px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
    .service__icon { margin-bottom: 20px; }
    .service__more { padding-top: 24px; }
}

/* Kroky */
@media (min-width: 961px) { .step { padding-right: 8px; } }
@media (max-width: 600px) {
    .steps { gap: 0; }
    .steps::before { display: block; top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; }
    .step { padding: 0 0 28px 58px; }
    .step:last-child { padding-bottom: 0; }
    .step__num { position: absolute; left: 0; top: 0; margin: 0; }
    .step h3 { padding-top: 8px; }
}

/* Prečo ja */
@media (max-width: 900px) {
    .why { margin-bottom: 40px; }
    .why__item { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; padding-top: 24px; }
    .why__big { grid-row: span 3; min-width: 1.6ch; margin: 0; font-size: clamp(44px, 12vw, 64px); }
}

/* Značka / coach / merch na menších displejoch */
@media (max-width: 900px) {
    .brand__logo { max-width: 420px; }
    .coach__logo { aspect-ratio: 16 / 10; padding: 28px; }
    .coach__logo img { max-width: 240px; max-height: 100%; }
    .merch__img { aspect-ratio: 4 / 3; }
    .coach__content, .merch__content, .brand__content { max-width: 640px; }
}
@media (max-width: 600px) {
    .pillars li { display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: 16px; }
    .pillars li::before { grid-row: span 2; margin: 2px 0 0; }
    .coach__content .btn, .merch__content .btn, .brand__content .btn, .auto__actions .btn { width: 100%; min-width: 0; }
    .merch__sizes { margin-bottom: 24px; }
}

/* Formulár: väčšie ciele, stabilné pole dátumu na iOS */
.field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
.field input::placeholder { color: #9a9ca1; }
.check { grid-template-columns: 26px 1fr; padding-block: 2px; }
.check input { width: 22px; height: 22px; }
@media (max-width: 600px) {
    .pass__card { padding: 22px 18px; border-radius: 16px; }
    .pass__list li { grid-template-columns: 36px 1fr; gap: 12px; padding: 10px 6px; }
    .pass__list span { width: 36px; height: 36px; }
    .done__id { padding: 16px 12px; }
    .done__copy { width: 100%; }
}
@media (min-width: 901px) and (max-height: 760px) { .pass__info { position: static; } }

/* Prehľad údajov: prechodový 2-stĺpec */
@media (min-width: 601px) and (max-width: 960px) { .data__foot { grid-template-columns: 1fr 1fr; } .data__foot > :last-child { grid-column: 1 / -1; } }
.chips li { line-height: 1.35; }

/* Projekty (jeden stĺpec) */
.auto--solo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.auto--solo .auto__content { max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.auto--solo .auto__lead { margin-inline: auto; }
.auto--solo .auto__list { width: 100%; text-align: left; }
.auto--solo .auto__actions { justify-content: center; }

/* Autoška / logo variant */
@media (max-width: 900px) {
    .auto__logo { max-width: 480px; margin-inline: auto; padding: 32px 24px; }
    .auto__content { max-width: 640px; }
}

/* CTA a pätička */
.cta__inner h2 { max-width: 20ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__copy { max-width: 62ch; }
.footer a { text-underline-offset: 3px; }
.footer a:hover { text-decoration: underline; }
@media (max-width: 700px) { .footer__inner { flex-direction: column; justify-content: center; gap: 16px; text-align: center; } .footer__links { justify-content: center; } }

/* Profil */
@media (max-width: 600px) {
    .pd__head { flex-direction: column; align-items: flex-start; }
    .pd__avatar { width: 76px; height: 76px; font-size: 24px; }
    .pd__who { min-width: 0; width: 100%; }
    .pmap { height: clamp(240px, 38vh, 340px); }
    .pcard { border-radius: 14px; }
}
@media (max-width: 380px) {
    h1 { font-size: 36px; }
    .btn { padding-inline: 18px; }
    .nav__brand { letter-spacing: .1em; }
}

/* Jemnosti */
.reveal { will-change: opacity, transform; }
.reveal.is-visible { will-change: auto; }
img { -webkit-user-drag: none; }
@media print { .nav, .progress, .hero__canvas, .scroll, .profile { display: none !important; } .reveal { opacity: 1 !important; transform: none !important; } .section { padding: 32px 0; } }

/* ===== Firemná pätička a právne odkazy ===== */
.footer { padding-top: 48px; }
.footer__company { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__company strong { display: block; font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.footer__company p { margin-top: 6px; max-width: 32ch; }
.footer__company dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.footer__company dt { font-size: 12px; color: var(--muted); }
.footer__company dd { margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--text); }
.footer__company dd a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.footer__legal a { font-size: 13px; color: var(--muted); }
.footer__legal a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__inner { padding-top: 22px; }
.coach__facts strong { color: var(--text); }
.service__note { max-width: 34ch; }
@media (max-width: 720px) {
    .footer__company { grid-template-columns: 1fr; }
    .footer__company dl { grid-template-columns: 1fr; }
}

/* Text v krokoch PASS: strong už nie je samostatná bunka gridu */
.pass__list li > div { min-width: 0; align-self: center; }

/* ============ VIDEO / SHOWREEL ============ */
.showreel { display: flex; justify-content: center; width: 100%; margin: 0 auto; }
.showreel__frame {
    display: block;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    line-height: 0;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line-dark);
}
/* Video si drží svoj pôvodný pomer strán (na šírku aj na výšku) a nikdy nepresiahne obrazovku */
.showreel__video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    max-height: 80svh;
    min-width: min(100%, 320px);
    background: #000;
}
.showreel__video a { color: var(--on-dark); text-decoration: underline; }

@media (max-width: 640px) {
    .showreel__frame { border-radius: 12px; }
    .showreel__video { max-height: 75svh; min-width: 0; }
}


/* ============ VYLEPŠENÉ SCROLL EFEKTY ============ */
.reveal[data-reveal] {
    transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
    transition-delay: var(--d, 0ms);
}
.reveal[data-reveal="left"]  { transform: translate3d(-38px, 0, 0); }
.reveal[data-reveal="right"] { transform: translate3d(38px, 0, 0); }
.reveal[data-reveal="scale"] { transform: scale(.94); }
.reveal[data-reveal="blur"]  { transform: translate3d(0, 18px, 0); filter: blur(8px); }
.reveal[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

[data-parallax], .showcase__glow, .hero__bg { will-change: transform; }
.section__head { position: relative; }

/* jemný „lift“ pre karty pri prechode okna */
.service, .step, .why__item, .dcard {
    transition: opacity .9s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease), background .55s var(--ease);
}
.service:hover, .step:hover, .why__item:hover {
    transform: translateY(-6px);
}
.section--dark .service:hover { background: rgba(255, 255, 255, .04); }

/* ============ UKÁŽKA: S1LVOX ATELIER ============ */
.showcase { padding-top: clamp(90px, 12vw, 150px); }
.showcase__glow {
    position: absolute; z-index: -1; pointer-events: none;
    left: 30%; right: -10%; bottom: -25%; height: 80%;
    background: radial-gradient(ellipse at center, rgba(229, 72, 77, .17), rgba(120, 140, 255, .08) 45%, transparent 72%);
}
.showcase .grad {
    background: linear-gradient(100deg, #fff 0%, #ccd4ff 48%, #e5484d 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.showcase .auto--flip .mock { order: -1; }

.mock {
    position: relative; display: block; width: 100%; padding: 10px;
    border: 1px solid var(--line-dark); border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
    will-change: transform;
    transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.mock:hover { box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 1); }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--line-dark); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.mock__bar i:first-child { background: #e5484d; }
.mock__bar i:nth-child(2) { background: #e9b44c; }
.mock__bar i:nth-child(3) { background: #61c554; }
.mock__url { margin-left: 10px; font-size: 11px; letter-spacing: .02em; color: var(--on-dark-muted); }
.mock__screen {
    position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
    margin-top: 10px; padding: clamp(18px, 3.5vw, 40px); border-radius: 12px;
    background: radial-gradient(ellipse at 80% 5%, #2b2f38 0%, #0f1115 72%);
}
.mock__nav { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.mock__nav b { color: #fff; font-weight: 600; }
.mock__nav em { margin-left: auto; font-style: normal; }
.mock__title {
    display: block; margin-top: clamp(22px, 5vw, 54px);
    font-size: clamp(26px, 4.4vw, 52px); line-height: 1.02;
    letter-spacing: -.04em; font-weight: 500; color: #fff;
}
.mock__sub { display: block; margin-top: 12px; font-size: clamp(11px, 1.4vw, 14px); color: var(--on-dark-muted); }
.mock__btn {
    display: inline-block; margin-top: clamp(18px, 3vw, 30px); padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px;
    font-size: 11px; color: #fff; transition: background .3s var(--ease), color .3s var(--ease);
}
.mock:hover .mock__btn { background: #fff; color: #0b0c0f; }
.mock__grid { position: absolute; right: clamp(18px, 3.5vw, 40px); bottom: clamp(18px, 3.5vw, 40px); display: flex; gap: 8px; }
.mock__grid i {
    width: clamp(28px, 6vw, 72px); height: clamp(28px, 6vw, 72px);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px;
    background: linear-gradient(145deg, rgba(229, 72, 77, .25), rgba(255, 255, 255, .03));
}
.mock__open {
    position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: 12px; color: #fff; opacity: 0; transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mock:hover .mock__open { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .showcase .auto--flip .mock { order: -1; }
    .mock__open { opacity: 1; transform: none; }
}

/* ============ ZNÍŽENÝ POHYB ============ */
@media (prefers-reduced-motion: reduce) {
    .reveal[data-reveal], .reveal[data-reveal].is-visible { opacity: 1; filter: none; transform: none; transition: none; }
    [data-parallax], .showcase__glow, .hero__bg, .mock { transform: none !important; transition: none !important; }
    .service:hover, .step:hover, .why__item:hover { transform: none; }
}
