/* Timero – prezentačná stránka. Samostatné štýly, nezávislé od Vite buildu aplikácie. */

:root {
    --paper: #F5F6F8;
    --surface: #FFFFFF;
    --ink: #141A33;
    --ink-2: #4A5169;
    --ink-3: #7A8097;
    --line: #DCDFE8;
    --cobalt: #2F45FF;
    --cobalt-deep: #1E2FC2;
    --cobalt-tint: #E6E9FF;
    --amber: #F2A516;
    --danger: #C7283A;

    --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
    --f-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(88px, 11vw, 152px);
    --r-sm: 8px;
    --r-md: 14px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Typografia ---------- */
.h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 18ch;
    text-wrap: balance;
}
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }

/* ---------- Tlačidlá ---------- */
.btn {
    --bg: transparent; --fg: var(--ink); --bd: transparent;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: 0 22px;
    border: 1.5px solid var(--bd); border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--primary { --bg: var(--cobalt); --fg: #fff; --bd: var(--cobalt); box-shadow: 0 1px 0 rgba(20, 26, 51, .12), 0 8px 20px -10px rgba(47, 69, 255, .7); }
.btn--primary:hover { --bg: var(--cobalt-deep); --bd: var(--cobalt-deep); box-shadow: 0 1px 0 rgba(20, 26, 51, .12), 0 12px 26px -12px rgba(47, 69, 255, .85); }
.btn--ghost { --bd: rgba(20, 26, 51, .22); }
.btn--ghost:hover { --bd: var(--ink); --bg: rgba(20, 26, 51, .04); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--cobalt-tint); --bd: var(--cobalt-tint); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: .85; }

.btn__spinner {
    display: none; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navigácia ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 246, 248, .86);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 32px; height: 32px; color: var(--cobalt); flex: none; }
.brand__word { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.03em; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
    padding: 8px 12px; border-radius: 999px; text-decoration: none;
    font-size: .9375rem; font-weight: 500; color: var(--ink-2);
    transition: color .15s, background-color .15s;
}
.nav__links > a:not(.btn):hover { color: var(--ink); background: rgba(20, 26, 51, .05); }
.nav__login { margin-left: 10px; }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.nav__burger, .nav__burger::before, .nav__burger::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 auto;
    transition: transform .2s var(--ease), opacity .2s;
}
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px var(--gutter) 20px;
        background: var(--paper); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(20, 26, 51, .25);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav__links > a:not(.btn) { padding: 12px 8px; font-size: 1.0625rem; }
    .nav__login { margin-left: 0; }
    .nav__cta { margin: 10px 0 0; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(2.75rem, 1.1rem + 5.4vw, 5.75rem);
    line-height: .96;
    letter-spacing: -0.04em;
    max-width: 20ch;
    text-wrap: balance;
}
.hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; margin-top: 36px; }
.hero__cta { justify-self: end; }
@media (max-width: 900px) { .hero__row { grid-template-columns: 1fr; } .hero__cta { justify-self: start; } }
.hero__lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 16px; font-size: .9375rem; color: var(--ink-3); }

/* Časová os dňa */
.day {
    --span: 12; /* 6:00 – 18:00 */
    margin-top: clamp(48px, 6vw, 72px);
    padding: 22px 24px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}
.day__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.day__who { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); font-size: .9375rem; }
.day__dot { width: 10px; height: 10px; border-radius: 50%; background: #1FA55B; box-shadow: 0 0 0 4px rgba(31, 165, 91, .16); }
.day__total { display: flex; align-items: baseline; gap: 12px; }
.day__count {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums; color: var(--cobalt);
}
.day__unit { font-size: .9375rem; color: var(--ink-3); }

.day__track {
    position: relative; height: 64px; margin-top: 44px;
    background:
        repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / var(--span)));
    background-color: #F0F2F6;
    border-radius: 10px;
}
.day__seg {
    position: absolute; top: 10px; bottom: 10px;
    left: calc(var(--from) / var(--span) * 100%);
    width: calc((var(--to) - var(--from)) / var(--span) * 100%);
    border-radius: 6px;
    transform-origin: left center;
}
.day__seg--work { background: var(--cobalt); }
.day__seg--break { background: var(--amber); }
.day__now {
    position: absolute; top: -10px; bottom: -10px; width: 2px;
    left: calc(var(--at) / var(--span) * 100%);
    background: var(--ink);
}
.day__now::after {
    content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
    border-radius: 50%; background: var(--ink);
}
.day__now span {
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff;
    font-size: .8125rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.day__flag {
    position: absolute; top: -30px; left: calc(var(--at) / var(--span) * 100%);
    font-size: .8125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.day__flag::before { content: ""; position: absolute; left: 0; top: 20px; width: 1px; height: 20px; background: var(--ink-3); }
.day__flag--break { color: #9A6300; }
.day__flag--break::before { background: var(--amber); }

.day__hours { position: relative; height: 22px; margin-top: 10px; font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.day__hours span { position: absolute; left: calc(var(--at) / var(--span) * 100%); transform: translateX(-50%); }
.day__hours span:first-child { transform: none; }
.day__hours span:last-child { transform: translateX(-100%); }

/* Animácia (spúšťa ju JS triedou .is-playing) */
.day.is-ready .day__seg { transform: scaleX(0); }
.day.is-ready .day__flag, .day.is-ready .day__now { opacity: 0; }
.day.is-playing .day__seg { transform: scaleX(1); transition: transform var(--dur, .6s) var(--ease) var(--delay, 0s); }
.day.is-playing .day__flag, .day.is-playing .day__now { opacity: 1; transition: opacity .35s ease var(--delay, 0s); }
.day.is-done .day__now::after { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 26, 51, .35); } 70%, 100% { box-shadow: 0 0 0 10px rgba(20, 26, 51, 0); } }

@media (max-width: 640px) {
    .day { padding: 18px 16px 14px; }
    .day__flag--break { display: none; }
    .day__hours span:nth-child(even) { visibility: hidden; }
}

/* Screenshoty */
.shot {
    position: relative; overflow: hidden;
    background: #F3F4F6;
    border: 1px solid rgba(20, 26, 51, .1);
    border-radius: var(--r-md);
    box-shadow: 0 2px 4px rgba(20, 26, 51, .04), 0 30px 60px -30px rgba(20, 26, 51, .35);
}
.shot img { width: 100%; }
.shot--crop { aspect-ratio: var(--ratio); }
.shot--crop img { height: 100%; object-fit: cover; object-position: top left; }

.hero__shots { position: relative; margin-top: 56px; padding-bottom: 8px; }
.shot--desk { aspect-ratio: 2880 / 1640; margin-right: clamp(0px, 8vw, 120px); }
.shot--desk img { height: 100%; object-fit: cover; object-position: top left; }
.shot--phone {
    position: absolute; right: var(--gutter); bottom: -40px;
    width: clamp(150px, 21vw, 250px); aspect-ratio: 1170 / 2532;
    border: 7px solid var(--ink); border-radius: 30px;
    box-shadow: 0 30px 60px -20px rgba(20, 26, 51, .5);
}
.shot--phone img { height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 640px) {
    .shot--desk { margin-right: 0; aspect-ratio: 4 / 3; }
    .shot--phone { width: 132px; bottom: -28px; border-width: 5px; border-radius: 22px; }
}

/* ---------- Problém ---------- */
.statement { padding-top: calc(var(--section) + 24px); padding-bottom: 0; }
.statement__inner > * { max-width: 980px; }
.statement__small { font-size: 1.1875rem; color: var(--ink-2); max-width: 52ch; }
.statement__big {
    margin-top: 28px;
    font-family: var(--f-display); font-weight: 600;
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.875rem);
    line-height: 1.14; letter-spacing: -0.022em;
    text-wrap: pretty;
}

/* ---------- Pracovný deň ---------- */
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 56px; border-top: 2px solid var(--ink);
    counter-reset: step;
}
.step { padding: 28px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__time {
    display: block;
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums; color: var(--cobalt);
}
.step:nth-child(2) .step__time { color: #B87800; }
.step__title { margin-top: 18px; font-size: 1.1875rem; font-weight: 600; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 32ch; }

@media (max-width: 980px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(3) { padding-left: 0; border-left: 0; }
    .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .step, .step + .step { padding: 24px 0 4px; border-left: 0; }
    .step + .step { border-top: 1px solid var(--line); margin-top: 16px; }
    .step { display: grid; grid-template-columns: 6.4rem 1fr; column-gap: 16px; }
    .step__time { grid-row: span 2; font-size: 2.25rem; }
    .step__title { margin-top: 2px; }
}

/* ---------- Funkcie ---------- */
.feature { padding-block: calc(var(--section) * .8); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature__grid--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature__text .lead { margin-top: 22px; }
.feature__aside { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--cobalt); color: var(--ink-2); max-width: 44ch; }
.feature--team .feature__media { margin-right: calc(-1 * clamp(0px, 6vw, 96px)); }
.feature--log .feature__media { margin-left: calc(-1 * clamp(0px, 6vw, 96px)); }

.ticks { margin-top: 28px; display: grid; gap: 14px; max-width: 46ch; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--cobalt-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%232F45FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

@media (max-width: 900px) {
    .feature__grid, .feature__grid--flip { grid-template-columns: 1fr; }
    .feature--team .feature__media, .feature--log .feature__media { margin: 0; }
    .feature__grid--flip .feature__media { order: 2; }
}

/* Tmavý pás – reporty */
.band { background: var(--ink); color: #fff; }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.band .lead { color: rgba(255, 255, 255, .72); }
.shot--band { margin-top: 56px; border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.terms div { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.terms dt { font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.terms dd { margin-top: 6px; color: rgba(255, 255, 255, .7); font-size: 1rem; }
@media (max-width: 900px) {
    .band__head { grid-template-columns: 1fr; }
    .terms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .terms { grid-template-columns: 1fr; } }

/* Drobnosti */
.details { border-top: 1px solid var(--line); }
.details__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; }
.details__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.details__list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.details__list li:nth-child(-n+2) { padding-top: 0; }
.details__list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .details__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .details__list { grid-template-columns: 1fr; }
    .details__list li:nth-child(2) { padding-top: 18px; }
}

/* ---------- Cenník ---------- */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.pricing__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.pricing__head .h2 { grid-column: 1 / -1; }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.switch button {
    border: 0; background: none; padding: 10px 18px; border-radius: 999px; cursor: pointer;
    font-weight: 600; font-size: .9375rem; color: var(--ink-2);
    transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.switch button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 26, 51, .14); }
.switch__save { margin-left: 4px; color: var(--cobalt); font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 32px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
}
.plan__name { font-family: var(--f-display); font-weight: 700; font-size: 1.625rem; letter-spacing: -0.02em; }
.plan__for { margin-top: 8px; color: var(--ink-2); font-size: 1rem; min-height: 3.2em; }
.plan__price { margin-top: 24px; font-family: var(--f-display); font-weight: 800; font-size: 3.25rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__num { display: inline-block; transition: opacity .15s ease, transform .2s var(--ease); }
.plan__num.is-swapping { opacity: 0; transform: translateY(6px); }
.plan__unit { margin: 8px 0 24px; color: var(--ink-3); font-size: .9375rem; }
.plan__list { margin-top: 28px; display: grid; gap: 10px; }
.plan__list li { position: relative; padding-left: 26px; font-size: 1rem; color: var(--ink-2); }
.plan__list li::before {
    content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
    border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg);
}
.plan--main { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(47, 69, 255, .8); }
.plan--main .plan__for, .plan--main .plan__list li { color: rgba(255, 255, 255, .82); }
.plan--main .plan__unit { color: rgba(255, 255, 255, .7); }
.plan--main .plan__list li::before { border-color: #fff; }
.plan__badge {
    position: absolute; top: 28px; right: 24px;
    padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16);
    font-size: .8125rem; font-weight: 600;
}
.pricing.is-monthly [data-yearly-note] { display: none; }

.calc {
    margin-top: 48px; padding: 28px; border-radius: 20px; background: var(--paper);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: center;
}
.calc__label { font-weight: 600; font-size: 1.0625rem; }
.calc__row { display: flex; align-items: center; gap: 16px; grid-row: 2; }
.calc__people { min-width: 5.5em; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__result { grid-row: 1 / span 2; grid-column: 2; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; }
.calc__result b { color: var(--cobalt); font-weight: 800; }

input[type="range"] { flex: 1; height: 28px; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 15%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--cobalt) var(--p), var(--line) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--cobalt); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); box-shadow: 0 2px 6px rgba(20, 26, 51, .2); transition: transform .15s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

@media (max-width: 980px) {
    .plans { grid-template-columns: 1fr; max-width: 520px; }
    .plan--main { transform: none; }
    .plan__for { min-height: 0; }
}
@media (max-width: 720px) {
    .pricing__head { grid-template-columns: 1fr; }
    .calc { grid-template-columns: 1fr; }
    .calc__result { grid-row: auto; grid-column: auto; margin-top: 8px; }
}

/* ---------- Otázky ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
.faq__more { margin-top: 20px; color: var(--ink-2); max-width: 30ch; }
.faq__more a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.125rem; line-height: 1.4;
    transition: color .15s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--cobalt); }
.faq__list summary::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .22s var(--ease), margin-top .22s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }
.faq__list details[open] p { animation: reveal .28s var(--ease); }
@keyframes reveal { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Záver ---------- */
.closing { background: var(--cobalt); color: #fff; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.closing__title {
    font-family: var(--f-display); font-weight: 800;
    font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.5rem); line-height: .98; letter-spacing: -0.04em;
    max-width: 12ch; text-wrap: balance;
}
.closing__text p { margin: 24px 0 32px; font-size: 1.1875rem; color: rgba(255, 255, 255, .82); max-width: 44ch; }

.closing__form { background: var(--surface); color: var(--ink); border-radius: 20px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(10, 16, 60, .6); }
.closing__formtitle { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.closing__formlead { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }

.form { margin-top: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .9375rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select {
    width: 100%; min-height: 48px; padding: 0 14px;
    border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface);
    font-size: 1rem; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field select {
    -webkit-appearance: none; appearance: none; padding-right: 40px;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5169' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/12px no-repeat;
}
.field input:hover, .field select:hover { border-color: #C3C7D4; }
.field input:focus, .field select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 69, 255, .16); }
.field__error { display: none; font-size: .875rem; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); background-color: #FFF7F8; }
.field.is-invalid input:focus, .field.is-invalid select:focus { box-shadow: 0 0 0 4px rgba(199, 40, 58, .14); }
.field.is-invalid .field__error { display: block; }
.form .btn { margin-top: 6px; min-height: 52px; }
.form__status { font-size: .9375rem; color: var(--danger); min-height: 0; }
.form__status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done { margin-top: 24px; padding: 20px; border-radius: 12px; background: #EAF7EF; color: #14532D; animation: reveal .35s var(--ease); }
.form-done strong { display: block; font-size: 1.0625rem; }

@media (max-width: 900px) { .closing__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Pätička ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-block: 40px; font-size: .9375rem; }
.footer__inner { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { color: var(--cobalt); }
.footer__copy { flex: 1 1 320px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: #fff; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Zaškrtávacie pole (súhlas) ---------- */
.field--check { gap: 4px; }
.field .check { font-weight: 400; font-size: .9375rem; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); font-weight: 400; }
.check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
    width: 22px; height: 22px; border-radius: 6px;
    border: 1.5px solid #C3C7D4; background: var(--surface) center/14px no-repeat;
    transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.check:hover .check__box { border-color: var(--ink-3); }
.check input:checked + .check__box {
    background-color: var(--cobalt); border-color: var(--cobalt);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.3l2.6 2.6L11 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(47, 69, 255, .2); border-color: var(--cobalt); }
.check__text a { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.check__text a:hover { color: var(--cobalt-deep); }
.field--check.is-invalid .check__box { border-color: var(--danger); background-color: #FFF7F8; }
.field--check .field__error { padding-left: 34px; }

