/* ============================================================
   Kartička — Landing page (lead capture)
   Samostatný soubor — styly i JS inline, logika odeslání TODO.
   ============================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #b32534;
    --red-dark: #8b1c28;
    --red-light: #d4354a;
    --red-glow: rgba(179, 37, 52, 0.25);
    --red-soft: rgba(179, 37, 52, 0.07);

    --bg-dark: #0c0c0c;
    --bg-light: #f6f5f2;
    --bg-alt: #f0eee9;
    --bg-white: #ffffff;

    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-on-dark: #ede9e3;
    --text-on-dark-muted: #9a958e;

    --border-light: #e4e2dd;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-card-lg: 0 4px 12px rgba(0,0,0,0.05), 0 24px 64px rgba(0,0,0,0.12);

    --font: 'Helvetica Neue', Inter, Helvetica, sans-serif;

    --container: 1160px;
    --gutter: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--bg-light);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

:focus-visible {
    outline: 2.5px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn--primary {
    background: var(--red);
    color: #fff;
}

.btn--primary:hover {
    background: var(--red-light);
    box-shadow: 0 0 0 4px var(--red-glow);
    transform: translateY(-1px);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn--white {
    background: #fff;
    color: var(--text-primary);
}

.btn--white:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Nav --- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(246, 245, 242, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__phone {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}

.nav__phone:hover { color: var(--red); }
.nav__phone svg { width: 16px; height: 16px; }

/* --- Hero --- */
.hero {
    position: relative;
    padding: 140px 0 90px;
    background:
        radial-gradient(720px 560px at 88% -10%, rgba(179, 37, 52, 0.13), transparent 70%),
        radial-gradient(640px 520px at -8% 30%, rgba(228, 150, 75, 0.12), transparent 70%),
        radial-gradient(540px 440px at 55% 115%, rgba(179, 37, 52, 0.06), transparent 70%),
        var(--bg-light);
    overflow: hidden;
}

.hero__container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
}

.hero__container > * { min-width: 0; }

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
    display: block;
}

.hero__title {
    font-size: clamp(2.25rem, 4.8vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.028em;
    margin-bottom: 8px;
}

.hero__title span { color: var(--red); }

.hero__subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-top: 18px;
}

.hero__checks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hero__check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.0625rem;
    font-weight: 500;
}

.hero__check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hero__check-icon svg { width: 13px; height: 13px; }

.hero__trust {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
}

.hero__trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__trust-number {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero__trust-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero__integrations {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
}

.hero__integrations-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.hero__integration-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.hero__integration-logos img {
    height: 28px;
    width: auto;
    max-width: calc(25% - 9px);
    object-fit: contain;
    opacity: 0.55;
    transition: opacity 0.2s;
}

.hero__integration-logos img:hover { opacity: 0.9; }

/* --- Formulářová karta --- */
.card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-lg);
    padding: 36px;
    scroll-margin-top: 90px;
}

/* Štítek "14 dní zdarma" nasazený na hraně karty */
.card__badge {
    position: absolute;
    top: -15px;
    right: 28px;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.card__header { margin-bottom: 26px; }

.card__title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.card__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* --- Pole formuláře --- */
.form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field__label {
    font-size: 0.875rem;
    font-weight: 600;
}

.field__label small {
    font-weight: 400;
    color: var(--text-muted);
}

.field__input {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-primary);
    padding: 13px 15px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    width: 100%;
    appearance: none;
}

.field__input:hover { border-color: #cfccc5; }

.field__input:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3.5px var(--red-glow);
}

.field__input::placeholder { color: #b5b1aa; }

textarea.field__input {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
}

select.field__input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
}

select.field__input:invalid,
select.field__input option[value=""] { color: #b5b1aa; }
select.field__input option { color: var(--text-primary); }
select.field__input.has-value { color: var(--text-primary); }

.field__error {
    font-size: 0.8125rem;
    color: var(--red);
    display: none;
}

.field.invalid .field__input { border-color: var(--red-light); }
.field.invalid .field__error { display: block; }

.form__submit {
    width: 100%;
    margin-top: 22px;
    white-space: normal;
}

.form__note {
    margin-top: 14px;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: center;
}

.form__note a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__note a:hover { color: var(--red); }

/* --- Stav "odesláno" --- */
.card__success {
    display: none;
    text-align: center;
    padding: 28px 8px;
}

.card.is-sent .card__success { display: block; }
.card.is-sent .card__form-wrap { display: none; }

.card__success-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
    transform: rotate(-8deg);
    box-shadow: 0 0 0 6px var(--red-soft);
}

.card__success-icon svg { width: 32px; height: 32px; }

.card__success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.card__success p {
    color: var(--text-secondary);
    font-size: 0.9875rem;
    max-width: 320px;
    margin: 0 auto;
}

/* --- Sekce obecně --- */
.section { padding: 90px 0; }

.section-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-top: 16px;
    line-height: 1.7;
}

/* --- Jak to funguje (3 kroky — skutečná sekvence) --- */
.steps {
    background:
        radial-gradient(620px 420px at 105% 0%, rgba(179, 37, 52, 0.06), transparent 70%),
        linear-gradient(180deg, var(--bg-light), var(--bg-alt) 30%);
}

.steps__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
}

.step__number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--red);
    color: var(--red);
    font-weight: 800;
    font-size: 1.0625rem;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    transform: rotate(-6deg);
}

.step__title {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.step__desc {
    font-size: 0.9875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Benefity (4 karty) --- */
.benefits__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
}

.benefit__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.benefit__icon svg { width: 21px; height: 21px; }

.benefit__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.benefit__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Jak to funguje (dva paralelní postupy) --- */
.steps-dual {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.steps-dual__col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steps-dual__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--border-light);
}

.steps-dual__heading-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.steps-dual__heading-icon svg { width: 18px; height: 18px; }

.steps-dual__heading h3 {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

/* --- Checklist (Proč právě naše řešení) --- */
.solution-checklist {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.solution-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    font-size: 0.9875rem;
    font-weight: 600;
}

/* --- Funkce (akordeon) --- */
.features__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.feature {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.feature__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.feature__summary::-webkit-details-marker { display: none; }

.feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.feature__icon svg { width: 20px; height: 20px; }

.feature__title { flex: 1; }

.feature__chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.feature[open] .feature__chevron { transform: rotate(180deg); }

.feature__desc {
    padding: 0 22px 20px 76px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Pokladní systémy --- */
.pos { text-align: center; }

.pos__badges {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1.5px solid var(--border-light);
    border-radius: 999px;
    background: var(--bg-white);
    font-weight: 600;
    font-size: 0.9375rem;
}

.pos-badge img {
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.pos-badge--soon {
    color: var(--text-muted);
    border-style: dashed;
    background: transparent;
}

.pos-badge--soon img { opacity: 0.6; }

.pos-badge--soon small {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Banner — funguje i bez pokladny */
.nopos {
    margin-top: 44px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-white);
    border: 1.5px solid var(--red);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: var(--shadow-card);
}

.nopos__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--red-soft);
    color: var(--red);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.nopos__icon svg { width: 26px; height: 26px; }

.nopos__title {
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.nopos__text {
    font-size: 0.9875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.nopos__text strong { color: var(--text-primary); }

.nopos__text a {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Ceník --- */
.pricing__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    box-shadow: var(--shadow-card);
}

.pricing-card--featured {
    border: 1.5px solid var(--red);
    box-shadow: var(--shadow-card-lg);
}

.pricing-card__name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.pricing-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 24px;
}

.pricing-card__amount {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-card__amount--text { font-size: 2.4rem; }

.pricing-card__currency {
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-card__period {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.pricing-card__divider {
    height: 1px;
    background: var(--border-light);
    margin: 26px 0;
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.pricing-card__feature svg {
    width: 17px;
    height: 17px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
}

.pricing-card__cta {
    width: 100%;
    margin-top: 28px;
    white-space: normal;
}

.pricing-card__trial {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn--outline:hover {
    border-color: var(--red);
    color: var(--red);
}

/* --- Testimonial + čísla --- */
.proof {
    background:
        radial-gradient(560px 400px at -5% 100%, rgba(228, 150, 75, 0.09), transparent 70%),
        var(--bg-alt);
}

.testimonials__grid {
    margin-top: 52px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    padding: 4px clamp(24px, 6vw, 96px) 20px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
}

.testimonial-card__stars {
    color: var(--red);
    letter-spacing: 3px;
    font-size: 1rem;
    margin-bottom: 14px;
}

.testimonial-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    border: none;
    flex: 1;
}

.testimonial-card__author {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card__name { font-weight: 700; font-size: 0.9375rem; }
.testimonial-card__role { font-size: 0.8125rem; color: var(--text-muted); }

/* --- Mapa podniků --- */
.map-section { text-align: center; }

.map-embed {
    margin-top: 44px;
    height: 560px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card-lg);
    background: var(--bg-alt);
}

.map-embed .gm-style {
    font-family: var(--font);
}

@media (max-width: 560px) {
    .map-embed { height: 420px; }
    .testimonial-card { flex-basis: 280px; }
}

/* --- Závěrečná CTA --- */
.cta {
    background:
        radial-gradient(900px 480px at 50% -15%, rgba(179, 37, 52, 0.4), transparent 70%),
        radial-gradient(500px 360px at 100% 110%, rgba(179, 37, 52, 0.18), transparent 70%),
        var(--bg-dark);
    color: var(--text-on-dark);
    text-align: center;
    padding: 90px 0;
}

.cta__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.cta__subtitle {
    color: var(--text-on-dark-muted);
    font-size: 1.125rem;
    max-width: 520px;
    margin: 16px auto 34px;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: var(--text-on-dark-muted);
    border-top: 1px solid #222;
    padding: 34px 0;
    font-size: 0.875rem;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.footer__links a:hover { color: var(--text-on-dark); }

/* --- Reveal animace --- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn { transition: none; }
}

/* --- Responzivita --- */
@media (max-width: 960px) {
    .section { padding: 32px 0; }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps__grid { grid-template-columns: 1fr; }
    .pricing__grid { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .feature__desc { padding-left: 22px; }
    .benefits__grid { grid-template-columns: 1fr 1fr; }
    .steps-dual { grid-template-columns: 1fr; gap: 44px; }
    .solution-checklist { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .hero { padding: 116px 0 64px; }
    .section { padding: 8px 0; }
    .card { padding: 26px 20px; }
    .form__grid { grid-template-columns: 1fr; }
    .nav__phone { display: none; }
    .nav .btn { padding: 12px 18px; font-size: 0.875rem; }
    .hero__trust { gap: 12px 26px; }
    .nopos { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .benefits__grid { grid-template-columns: 1fr; }
    .solution-checklist { grid-template-columns: 1fr; }
}

/* Serverová chyba odeslání formuláře */
.form__error-message {
	color: var(--red, #b32534);
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 12px;
	text-align: center;
}

/* ============================================================
   Rozšíření pro landing „Objednávky a platby" (orders)
   ============================================================ */

/* --- Pohled hosta (screenshoty aplikace) --- */
.screens__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.screens__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.screens__item img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.screens__caption {
    font-size: 0.9375rem;
    font-weight: 700;
}

/* --- Věrnostní funkce (Proč právě naše řešení) --- */
.loyalty__grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.loyalty-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
}

.loyalty-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.loyalty-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -0.01em;
}

.loyalty-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.loyalty__more {
    margin: 40px auto 0;
    max-width: 720px;
    text-align: center;
    font-size: 0.9875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.soon-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
    background: var(--red-soft);
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

/* --- Dvousloupcové sekce s obrázkem (menu sync, destičky) --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split__points {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.split-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.split-point__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--red);
    margin-top: 9px;
    flex-shrink: 0;
}

.split-point p {
    font-size: 1.0625rem;
    line-height: 1.6;
}

.split__media {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split__media img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-lg);
}

.split__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.split__photos img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.split__logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* --- Ceník v2 (tři karty + banery) --- */
.pricing__grid--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
}

.pricing__banners {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pricing-banner {
    background: var(--red);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    color: #fff;
}

.pricing-banner__title {
    font-size: 1.125rem;
    font-weight: 700;
}

.pricing-banner__text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
}

/* --- Srovnání s konkurencí --- */
.compare {
    max-width: 820px;
    margin: 56px auto 0;
}

.compare__title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.compare__table {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.compare__row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: stretch;
}

.compare__row + .compare__row {
    border-top: 1px solid var(--border-light);
}

.compare__row--head .compare__col {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.compare__label {
    padding: 18px 22px;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.compare__col {
    padding: 18px 20px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.45;
}

.compare__col--us {
    background: var(--red-soft);
    color: var(--red);
    font-weight: 700;
}

.compare__col svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.compare__note {
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 560px) {
    .compare__row { grid-template-columns: 1.2fr 1fr 1fr; }
    .compare__label { padding: 14px 14px; font-size: 0.8125rem; }
    .compare__col { padding: 14px 10px; font-size: 0.8125rem; }
}

/* --- Platební brána (tarify Comgate) --- */
.gateway { text-align: center; }

.tariffs__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tariff {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    text-align: left;
}

.tariff__label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 10px;
}

.tariff__value {
    font-size: 1.1875rem;
    font-weight: 700;
}

.tariff__desc {
    margin-top: 8px;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

@media (max-width: 960px) {
    .screens__grid { grid-template-columns: 1fr 1fr; }
    .loyalty__grid { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .pricing__grid--three { grid-template-columns: 1fr; }
    .pricing__banners { grid-template-columns: 1fr; }
    .tariffs__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    /* Horizontální carousel — screen přes celou šířku, další vykukuje zboku */
    .screens__grid {
        display: flex;
        gap: 14px;
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding: 0 var(--gutter);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--gutter);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .screens__grid::-webkit-scrollbar { display: none; }

    .screens__item {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .loyalty__grid { grid-template-columns: 1fr; }
    .split__media { padding: 20px; }
}
