/* ============================================================
/* ============================================================
   Kartička — New Website Styles
   ============================================================ */

/* NOTE: dark mode is temporarily force-disabled.
   All `@media (prefers-color-scheme: dark)` blocks were renamed to
   `@media (prefers-color-scheme: disabled-temp)` so they never match.
   To re-enable: find-and-replace `disabled-temp` → `dark` in this file,
   and restore the theme-color meta/script in Homepage/@layout.latte. */

/* --- Reset & Base --- */
*,
*::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);

    /* Light mode (default) */
    --bg-dark: #0c0c0c;
    --bg-dark-elevated: #161616;
    --bg-light: #f6f5f2;
    --bg-white: #ffffff;

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

    --border-light: #e4e2dd;
    --border-dark: #2a2a2a;

    /* Hero/Channels in light mode — warm light tones */
    --hero-bg: #f6f5f2;
    --hero-text: #111111;
    --hero-text-muted: #666666;
    --hero-grain-opacity: 0.025;
    --hero-glow-color: rgba(179, 37, 52, 0.08);

    --channels-bg: #f0eee9;
    --channels-elevated: #ffffff;
    --channels-border: #ddd9d2;
    --channels-text: #111111;
    --channels-text-muted: #666666;
    --channels-or-bg: #f0eee9;

    --nav-scrolled-bg: rgba(246, 245, 242, 0.92);
    --nav-scrolled-shadow: 0 1px 0 rgba(0,0,0,0.06);
    --nav-link-color: #666666;
    --nav-link-hover: #111111;
    --nav-logo-filter: none;

    --footer-bg: #1a1a1a;
    --footer-text: #ede9e3;
    --footer-text-muted: #9a958e;
    --footer-border: #2a2a2a;

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

    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.1);

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

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

/* --- Dark mode --- */
@media (prefers-color-scheme: disabled-temp) {
    :root {
        --bg-dark: #0c0c0c;
        --bg-dark-elevated: #161616;
        --bg-light: #1a1a1a;
        --bg-white: #111111;

        --text-primary: #ede9e3;
        --text-secondary: #a8a29e;
        --text-muted: #78716c;
        --text-on-dark: #ede9e3;
        --text-on-dark-muted: #9a958e;

        --border-light: #2a2a2a;
        --border-dark: #2a2a2a;

        --red-glow: rgba(179, 37, 52, 0.35);

        --hero-bg: #0c0c0c;
        --hero-text: #ede9e3;
        --hero-text-muted: #9a958e;
        --hero-grain-opacity: 0.035;
        --hero-glow-color: rgba(179, 37, 52, 0.25);

        --channels-bg: #0c0c0c;
        --channels-elevated: #161616;
        --channels-border: #2a2a2a;
        --channels-text: #ede9e3;
        --channels-text-muted: #9a958e;
        --channels-or-bg: #0c0c0c;

        --nav-scrolled-bg: rgba(12, 12, 12, 0.92);
        --nav-scrolled-shadow: 0 1px 0 rgba(255,255,255,0.06);
        --nav-link-color: #9a958e;
        --nav-link-hover: #ede9e3;
        --nav-logo-filter: none;

        --footer-bg: #0a0a0a;
        --footer-text: #ede9e3;
        --footer-text-muted: #9a958e;
        --footer-border: #222222;

        --shadow-card: 0 1px 3px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.3);
        --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.3), 0 16px 40px rgba(0,0,0,0.4);
    }
}

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

body {
    font-family: var(--font-body);
    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;
}

ul, ol {
    list-style: none;
}

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

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    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-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    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;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    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--ghost {
    background: transparent;
    color: var(--hero-text);
    border: 1.5px solid var(--channels-border);
}

.btn--ghost:hover {
    border-color: var(--red);
    color: var(--red);
    background: transparent;
}

.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);
}

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

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.35s ease;
}

.nav.scrolled {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: var(--nav-scrolled-shadow);
}

.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
}

.nav__logo {
    flex-shrink: 0;
}

.nav__logo img {
    height: 32px;
    width: auto;
}

.nav__logo-dark {
    display: none;
}

@media (prefers-color-scheme: disabled-temp) {
    .nav__logo-light {
        display: none;
    }
    .nav__logo-dark {
        display: block;
    }
}

.nav__links {
    display: flex;
    gap: 36px;
    flex: 1;
    justify-content: center;
}

.nav__links a {
    color: var(--nav-link-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav__links a:hover {
    color: var(--nav-link-hover);
}

.nav__links > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav__links > a:hover::after {
    width: 100%;
}

.nav__buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.nav__cta {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.nav__mobile-buttons {
    display: none;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--hero-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: var(--hero-bg);
    background-image:
        radial-gradient(ellipse 60% 50% at 75% 55%, rgba(179, 37, 52, 0.18), transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 75%, rgba(179, 37, 52, 0.14), transparent 70%);
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@media (prefers-color-scheme: disabled-temp) {
    .hero {
        background-image:
            radial-gradient(ellipse 60% 50% at 75% 55%, rgba(179, 37, 52, 0.3), transparent 70%),
            radial-gradient(ellipse 40% 40% at 15% 75%, rgba(179, 37, 52, 0.22), transparent 70%);
    }
}

.hero__grain {
    position: absolute;
    inset: 0;
    opacity: var(--hero-grain-opacity);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--hero-glow-color), transparent 70%);
    top: 20%;
    right: 10%;
    pointer-events: none;
    filter: blur(80px);
}

.hero__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero__content {
    color: var(--hero-text);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--hero-text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero__news {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 520px;
    margin: -16px 0 36px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--red-soft);
    color: var(--hero-text);
    text-decoration: none;
    transition: background 0.2s;
}

.hero__news:hover {
    background: var(--red-glow);
}

.hero__news-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--hero-text-muted);
}

.hero__news-text strong {
    color: var(--hero-text);
    font-weight: 700;
    font-size: 1rem;
}

.hero__news-arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--red-light);
    opacity: 0.7;
    transition: transform 0.2s, opacity 0.2s;
}

.hero__news:hover .hero__news-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.hero__news:hover .hero__news-text strong {
    color: var(--red-light);
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.hero__note {
    font-size: 0.85rem;
    color: var(--hero-text-muted);
    margin-bottom: 40px;
}

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

.hero__integrations-label {
    font-size: 0.8rem;
    color: var(--hero-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;
}

@media (prefers-color-scheme: disabled-temp) {
    .hero__integration-logos img {
        filter: brightness(0) invert(1);
    }

    .integration-card__logo {
        filter: brightness(0) invert(1);
    }

    .integration-card__logo--no-invert {
        filter: none;
        border-radius: var(--radius-sm);
    }

    .marquee__track img {
        filter: brightness(0) invert(1);
        opacity: 0.7;
    }

    .marquee__track img:hover {
        filter: brightness(0) invert(1);
        opacity: 1;
    }
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero__phone {
    max-height: 580px;
    width: auto;
}

/* ============================================================
   CALLBACK REQUEST
   ============================================================ */
.callback {
    background: var(--red);
    padding: 20px 0;
}

.callback__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.callback__text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 0.95rem;
    white-space: nowrap;
}

.callback__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.85;
}

.callback__form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.callback__input {
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 200px;
    outline: none;
    transition: background 0.2s;
}

.callback__input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.callback__input:focus {
    background: rgba(255, 255, 255, 0.3);
}

.callback__btn {
    background: #fff;
    color: var(--red);
    font-weight: 700;
    padding: 12px 24px;
}

.callback__btn:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .callback__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .callback__text {
        white-space: normal;
        justify-content: center;
    }

    .callback__form {
        width: 100%;
    }

    .callback__input {
        flex: 1;
    }
}

@media (prefers-color-scheme: disabled-temp) {
    .callback {
        background: linear-gradient(135deg, #1a0a0d, #2a1015, #1a0a0d);
        border-top: 1px solid rgba(179, 37, 52, 0.3);
        border-bottom: 1px solid rgba(179, 37, 52, 0.3);
    }

    .callback__text {
        color: rgba(255, 255, 255, 0.9);
    }

    .callback__icon {
        color: var(--red-light);
    }

    .callback__input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(179, 37, 52, 0.3);
        color: #fff;
    }

    .callback__input::placeholder {
        color: rgba(255, 255, 255, 0.35);
    }

    .callback__input:focus {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--red);
    }

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

    .callback__btn:hover {
        background: var(--red-light);
        box-shadow: 0 4px 24px rgba(179, 37, 52, 0.4);
    }
}

/* --- Popup --- */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    animation: popupIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.popup__close:hover {
    color: var(--text-primary);
}

.popup__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.popup__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.popup__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popup__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.popup__input {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-white);
    outline: none;
    transition: border-color 0.2s;
}

.popup__input:focus {
    border-color: var(--red);
}

.popup__input::placeholder {
    color: var(--text-muted);
}

.popup__phone-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    transition: border-color 0.2s;
}

.popup__phone-group:focus-within {
    border-color: var(--red);
}

.popup__phone-code {
    flex: 0 0 auto;
    padding: 12px 10px;
    border: none;
    border-right: 1px solid var(--border-light);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.popup__phone-number {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
}

.popup__phone-number::placeholder {
    color: var(--text-muted);
}

.popup__textarea {
    resize: vertical;
    min-height: 60px;
    font-family: var(--font-body);
}

.popup__radios {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.popup__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.popup__radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}

.popup__radio input[type="radio"]:checked {
    border-color: var(--red);
}

.popup__radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.popup__submit {
    margin-top: 8px;
    width: 100%;
}

.popup__state--thanks {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.popup.popup--thanks .popup__state--form {
    display: none;
}

.popup.popup--thanks .popup__state--thanks {
    display: block;
}

.popup__thanks-icon {
    width: 48px;
    height: 48px;
    color: var(--red);
    margin: 0 auto 16px;
}

.popup__error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.popup__success {
    text-align: center;
    padding: 24px 0;
}

.popup__checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.popup__checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.popup__checkbox a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.popup__toggle-promo {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.popup__toggle-promo:hover {
    color: var(--red-light);
}

.popup__field.is-hidden {
    display: none;
}

@media (max-width: 480px) {
    .popup {
        padding: 28px 24px;
    }
}

/* ============================================================
   PARTNERS MARQUEE
   ============================================================ */
.partners {
    background: var(--bg-light);
    padding: 56px 0;
    border-bottom: 1px solid var(--border-light);
}

.partners__label {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.partners__label strong {
    color: var(--text-primary);
    font-weight: 700;
}

.marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marquee 450s linear infinite;
}

.marquee__track img {
    height: 40px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: all 0.3s;
    flex-shrink: 0;
}

.marquee__track img:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-color-scheme: disabled-temp) {
    .partners {
        background: #2a2a2a;
        border-bottom-color: #3a3a3a;
    }

    .marquee__track img {
        filter: grayscale(100%) invert(1);
    }

    .marquee__track img:hover {
        opacity: 0.45;
        filter: grayscale(100%) invert(1);
    }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: 120px 0;
    background: var(--bg-white);
}

.features__header {
    text-align: center;
    margin-bottom: 72px;
}

.features__header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.features__more {
    text-align: center;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(179, 37, 52, 0.08), rgba(179, 37, 52, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.feature-card__desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.feature-card__badge--new {
    color: var(--red);
    background: rgba(179, 37, 52, 0.08);
}

.feature-card__badge--soon {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
}

/* All feature cards get gradient */
.feature-card {
    background: linear-gradient(145deg, #fdf2f3, var(--bg-white));
    border-color: rgba(179, 37, 52, 0.12);
}

@media (prefers-color-scheme: disabled-temp) {
    .feature-card {
        background: linear-gradient(145deg, #1e1214, var(--bg-white));
        border-color: rgba(179, 37, 52, 0.15);
    }
}

/* ============================================================
   CHANNELS (App vs Wallet)
   ============================================================ */
.channels {
    padding: 80px 0 120px;
    background: var(--channels-bg);
    position: relative;
    overflow: hidden;
}

.channels__grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.channels__header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.channels__header .section-title {
    color: var(--channels-text);
}

.channels__header .section-subtitle {
    color: var(--channels-text-muted);
    margin-left: auto;
    margin-right: auto;
}

/* přepínač věrnostní funkce / QR objednávky pod nadpisem sekce */
.channels__switch {
    display: flex;
    justify-content: center;
    margin: 28px 0 24px;
}

.channels__grid {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0;
    position: relative;
    z-index: 1;
}

.channels__grid[hidden],
.channels__header .section-subtitle[hidden] {
    display: none;
}

.channels__grid > .channel-card:first-child {
    margin-right: -14px;
}

.channels__grid > .channel-card:last-child {
    margin-left: -14px;
}

.channel-card {
    background: var(--channels-elevated);
    border: 1px solid var(--channels-border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.channel-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.channel-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.channel-card__badge--app {
    background: rgba(179, 37, 52, 0.1);
    color: var(--red);
}

.channel-card__badge--wallet {
    background: rgba(0, 0, 0, 0.05);
    color: var(--channels-text-muted);
}

@media (prefers-color-scheme: disabled-temp) {
    .channel-card__badge--wallet {
        background: rgba(255, 255, 255, 0.08);
    }
}

.channel-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--channels-text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.channel-card__desc {
    font-size: 1rem;
    color: var(--channels-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.channel-card__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.channel-card__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.925rem;
    color: var(--channels-text);
}

.channel-card__feature svg {
    width: 18px;
    height: 18px;
    color: var(--red-light);
    flex-shrink: 0;
}

.channel-card__stores {
    display: flex;
    gap: 12px;
}

.channel-card__stores img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.channel-card__stores img:hover {
    opacity: 1;
}

.channel-card__wallet-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.channel-card__wallet-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--channels-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--channels-text);
    transition: all 0.2s;
}

.channel-card__wallet-icon:hover {
    border-color: var(--channels-border);
}

@media (prefers-color-scheme: disabled-temp) {
    .channel-card__wallet-icon {
        background: rgba(255, 255, 255, 0.06);
    }
}

.channel-card__wallet-icon svg {
    width: 26px;
    height: 26px;
}

.channels__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.channels__or {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--channels-or-bg);
    border: 2px solid var(--channels-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--channels-text-muted);
    flex-shrink: 0;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
    padding: 100px 0;
    background: var(--bg-light);
}

.industries__layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}

.industries__left .section-subtitle {
    margin-top: 16px;
}

.industries__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-tag {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    transition: all 0.25s ease;
    cursor: default;
}

.industry-tag:hover {
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.industry-tag--lg {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations {
    padding: 120px 0;
    background: var(--bg-white);
}

.integrations__header {
    text-align: center;
    margin-bottom: 64px;
}

.integrations__header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.integrations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.integration-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.integration-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.integration-card--link:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.integration-card__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
}

.integration-card__more .icon {
    width: 14px;
    height: 14px;
}

.integration-card:hover {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-glow);
    transform: translateY(-4px);
}

.integration-card__logo {
    height: 48px;
    width: auto;
    margin: 0 auto 20px;
    object-fit: contain;
}

.integration-card__logo--sm {
    height: 28px;
    max-width: 100px;
}

.integration-card__logo--md {
    height: 40px;
    max-width: 140px;
}

.integration-card__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.integration-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-top: 8px;
}

.integration-card__badge svg {
    width: 14px;
    height: 14px;
}

.integrations__info-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 24px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e5aa8;
    line-height: 1.5;
}

.integrations__info-badge svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #3b82f6;
}

.integrations__info-badge a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(30, 90, 168, 0.3);
    transition: text-decoration-color 0.2s;
}

.integrations__info-badge a:hover {
    text-decoration-color: currentColor;
}

@media (prefers-color-scheme: disabled-temp) {
    .integrations__info-badge {
        background: rgba(59, 130, 246, 0.1);
        color: #7db4fa;
    }

    .integrations__info-badge svg {
        color: #5b9cf5;
    }
}

.integration-card--soon {
    opacity: 0.55;
    border-style: dashed;
}

.integration-card--soon:hover {
    border-color: var(--border-light);
    box-shadow: none;
    transform: none;
}

.integration-card__badge--soon {
    color: var(--text-muted);
}

.integrations__note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.integrations__note a {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(179, 37, 52, 0.3);
    text-underline-offset: 3px;
}

.integrations__note a:hover {
    text-decoration-color: var(--red);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: 120px 0 60px;
    background: var(--bg-light);
}

.pricing__header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing__header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 840px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.pricing-card--featured {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red), var(--shadow-card);
}

.pricing-card__popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 18px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

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

.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-card__currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-card__period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

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

.pricing-card__cta {
    width: 100%;
    text-align: center;
}

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

/* --- Ceník: dva zaškrtávací boxy → zobrazené tarify, přepínač období, karty --- */
.pricing__picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 840px;
    margin: -24px auto 32px;
}

.pricing-pick {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-pick:hover {
    border-color: var(--red);
}

.pricing-pick input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pricing-pick__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border: 2px solid var(--border-light);
    border-radius: 7px;
    background: var(--bg-white);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pricing-pick__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-pick__body strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.pricing-pick__body span {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-pick.is-selected,
.pricing-pick:has(input:checked) {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.pricing-pick.is-selected .pricing-pick__check,
.pricing-pick:has(input:checked) .pricing-pick__check {
    border-color: var(--red);
    background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/14px no-repeat;
}

.pricing-pick:has(input:focus-visible) {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.pricing__switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 0 40px;
}

.pricing__switch[hidden] {
    display: none;
}

.pricing__switch-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.pricing-period {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 100px;
}

.pricing-period__item {
    position: relative;
}

.pricing-period__item input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pricing-period__item {
    display: flex;
}

.pricing-period__item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

/* štítek s úsporou vedle „Ročně“ */
.pricing-period__item em {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 100px;
    font-style: normal;
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.3;
    background: rgba(179, 37, 52, 0.1);
    color: var(--red);
    transition: background 0.2s ease, color 0.2s ease;
}

.pricing-period__item input:checked + span {
    background: var(--red);
    color: #fff;
}

.pricing-period__item input:checked + span em {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.pricing-period__item input:focus-visible + span {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.pricing__empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-xl);
    background: var(--bg-white);
}

.pricing__empty[hidden] {
    display: none;
}

.pricing__empty-icon {
    width: 40px;
    height: 40px;
    color: var(--red);
    margin-bottom: 14px;
}

.pricing__empty-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.pricing__empty-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.pricing__grid--plans[hidden] {
    display: none;
}

.pricing__grid--plans {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1080px;
    align-items: stretch;
}

.pricing__grid--plans .pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing__grid--plans .pricing-card[hidden] {
    display: none;
}

/* rozpis ceny po službách: název služby, velké číslo, poznámka (jeden řádek na samostatné kartě, dva na kombinované) */
.pricing-breakdown {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.pricing-line {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px dashed var(--border-light);
}

.pricing-line:first-child {
    padding-top: 0;
    border-top: 0;
}

.pricing-line:last-child {
    padding-bottom: 0;
}

.pricing-line__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-line__label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

.pricing-line__value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-line__value b {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-line__value i {
    font-family: var(--font-display);
    font-style: normal;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-left: 4px;
}

.pricing-line__note {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.pricing-line__configure {
    align-self: flex-start;
    margin-top: 8px;
}

/* Konfigurátor modulů – okno nad ceníkem (jen se zapnutým výběrem modulů) */
.configurator {
    width: min(640px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    /* globální reset ruší margin: auto, kterým prohlížeč modální dialog centruje */
    margin: auto;
    padding: 0;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.configurator::backdrop {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(3px);
}

.configurator__panel {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.configurator__head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-light);
}

.configurator__title {
    margin: 0;
    padding-right: 44px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.configurator__lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.configurator__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.configurator__close:hover {
    background: var(--red-soft);
    color: var(--red);
}

.configurator__modules {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
    overflow-y: auto;
}

.configurator-module {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.configurator-module:hover {
    border-color: var(--red);
}

.configurator-module input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.configurator-module__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-white);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.configurator-module__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.configurator-module__body strong {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.configurator-module__body span {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.configurator-module__price {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.configurator-module.is-selected {
    border-color: var(--red);
    background: var(--red-soft);
}

.configurator-module.is-selected .configurator-module__check {
    border-color: var(--red);
    background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/13px no-repeat;
}

/* plná licence: nezaškrtnuté moduly jsou v ceně – tlumené automatické zaškrtnutí */
.configurator-module.is-included .configurator-module__check {
    border-color: var(--border-light);
    background: var(--border-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/13px no-repeat;
}

.configurator-module.is-included .configurator-module__price {
    color: var(--text-muted);
    font-weight: 600;
}

.configurator-module:has(input:focus-visible) {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.configurator__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border-light);
}

.configurator__total {
    flex: 1 1 240px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.configurator__total-label {
    /* pevná výška řádku: text se objevuje jen u plné licence a okno nesmí poskakovat */
    min-height: 1.12rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-secondary);
}

.configurator__total-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.configurator__total-value b {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.configurator__total-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.configurator__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 560px) {
    .configurator__head,
    .configurator__modules,
    .configurator__foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .configurator__actions {
        width: 100%;
    }

    .configurator__actions .btn {
        flex: 1;
    }
}

.pricing__grid--plans .pricing-card__cta {
    margin-top: auto;
}

.pricing--qr-orders[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .pricing__picker {
        grid-template-columns: 1fr;
        margin-top: -12px;
    }

    .pricing-pick {
        padding: 16px 18px;
    }

    .pricing-period {
        display: flex;
        width: 100%;
    }

    .pricing-period__item {
        flex: 1;
    }

    .pricing-period__item span {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
        padding: 10px 12px;
    }

    .pricing-period__item em {
        white-space: nowrap;
    }
}

/* ============================================================
   PRICING — QR OBJEDNÁVKY (tři karty + banery + srovnání)
   ============================================================ */
.pricing--qr-orders {
    padding-top: 0;
}

.pricing-package {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 56px 48px;
}

.pricing-package .pricing__header {
    margin-bottom: 44px;
}

.pricing--qr-orders .pricing-card {
    padding: 24px 22px;
    background: var(--bg-light);
    box-shadow: none;
    text-align: center;
}

.pricing--qr-orders .pricing-card__price {
    justify-content: center;
}

.pricing--qr-orders .pricing-card__desc {
    margin-bottom: 0;
}

.pricing--qr-orders .pricing-card__period {
    margin-top: 6px;
    margin-bottom: 0;
}

.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;
}

.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__note {
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.pricing--qr-orders .compare__table {
    background: var(--bg-light);
    box-shadow: none;
}

@media (max-width: 960px) {
    .pricing__grid--three { grid-template-columns: 1fr; }
    .pricing__banners { grid-template-columns: 1fr; }
    .pricing-package { padding: 36px 24px; }
}

@media (max-width: 560px) {
    .pricing-package { padding: 28px 16px; }
}

@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; }
}

/* ============================================================
   FEATURES PAGE (/pro-podniky/funkce)
   ============================================================ */
.features-hero {
    padding: 160px 0 64px;
    background: var(--bg-light);
    text-align: center;
}

.features-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s ease;
}

.features-hero__back:hover {
    color: var(--red);
}

.features-hero__back svg {
    width: 18px;
    height: 18px;
}

.features-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.features-hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

.features-list {
    padding: 72px 0 80px;
    background: var(--bg-white);
}

.features-list--alt {
    background: var(--bg-light);
}

.features-group__header {
    text-align: center;
    margin-bottom: 24px;
}

.features-group__header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.feature-detail {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 36px;
    align-items: start;
    max-width: 820px;
    margin: 0 auto;
    padding: 44px 0;
}

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

.feature-detail__visual {
    display: flex;
    justify-content: center;
}

.feature-detail__icon {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(179, 37, 52, 0.09), rgba(179, 37, 52, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.feature-detail__icon svg {
    width: 42px;
    height: 42px;
}

.feature-detail__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-detail__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.feature-detail__badge--new {
    color: var(--red);
    background: rgba(179, 37, 52, 0.08);
}

.feature-detail__badge--soon {
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.05);
}

.feature-detail__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 22px;
}

.feature-detail__points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-detail__point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.feature-detail__point .icon {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-detail__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
}

.feature-detail__link .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.feature-detail__link:hover .icon {
    transform: translateX(4px);
}

/* --- Integrační podstránka (Dotykačka) --- */
.int-hero__logo {
    height: 72px;
    width: auto;
    margin: 0 auto 28px;
}

.int-hero__badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.int-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    font-size: 0.875rem;
    font-weight: 600;
}

.int-hero__badge .icon {
    width: 16px;
    height: 16px;
    color: var(--red);
}

.int-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.int-step {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.int-step__number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.int-step__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}

.int-step__text {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.int-activation {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 720px;
    margin: 0 auto;
}

.int-activation__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.int-activation__step .int-step__number {
    margin-bottom: 0;
}

.int-activation__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 6px;
}

.int-activation__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.int-activation__note {
    max-width: 720px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.int-activation__note a {
    color: var(--red);
    font-weight: 700;
}

@media (max-width: 960px) {
    .int-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .features-hero {
        padding: 120px 0 48px;
    }

    .feature-detail {
        grid-template-columns: 56px 1fr;
        gap: 20px;
        padding: 36px 0;
    }

    .feature-detail__icon {
        width: 56px;
        height: 56px;
        border-radius: var(--radius-md);
    }

    .feature-detail__icon svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================================
   SWITCH BANNER
   ============================================================ */
.switch-banner {
    padding: 40px 0;
    background: var(--bg-light);
}

.switch-banner__inner {
    background: linear-gradient(135deg, var(--red-dark), var(--red), var(--red-light));
    border-radius: var(--radius-xl);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.switch-banner__inner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.switch-banner__inner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.switch-banner__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.switch-banner__text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.switch-banner__btn {
    background: #fff;
    color: var(--red);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.switch-banner__btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .switch-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .switch-banner__btn {
        width: 100%;
    }
}

@media (prefers-color-scheme: disabled-temp) {
    .switch-banner__inner {
        background: linear-gradient(135deg, #1a0a0d, #2a1218, #1a0a0d);
        border: 1px solid rgba(179, 37, 52, 0.25);
    }

    .switch-banner__inner::before {
        background: rgba(179, 37, 52, 0.1);
    }

    .switch-banner__inner::after {
        background: rgba(179, 37, 52, 0.06);
    }

    .switch-banner__title {
        color: #fff;
    }

    .switch-banner__text {
        color: rgba(255, 255, 255, 0.65);
    }

    .switch-banner__btn {
        background: var(--red);
        color: #fff;
    }

    .switch-banner__btn:hover {
        background: var(--red-light);
        box-shadow: 0 8px 32px rgba(179, 37, 52, 0.4);
    }
}

/* ============================================================
   MŮJ PODNIK APP
   ============================================================ */
.app-podnik {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.app-podnik__layout {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 72px;
    align-items: center;
}

.app-podnik__visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-podnik__visual img {
    max-height: 520px;
    width: auto;
}

.app-podnik__content .section-title {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.app-podnik__content .section-label {
    color: var(--red);
}

.app-podnik__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 32px;
}

.app-podnik__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 32px;
    margin-bottom: 36px;
}

.app-podnik__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.app-podnik__feature svg {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
}

.app-podnik__stores {
    display: flex;
    gap: 12px;
}

.app-podnik__stores img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.app-podnik__stores img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .app-podnik {
        padding: 60px 0;
    }

    .app-podnik__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .app-podnik__content {
        order: 1;
    }

    .app-podnik__visual {
        order: 2;
        display: none;
    }

    .app-podnik__features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 8px;
    }
}

/* --- Section Divider --- */
.section-divider {
    background: var(--bg-white);
}

.section-divider hr {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: 120px 0;
    background: var(--bg-white);
}

.about__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
    align-items: center;
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

.about__text:last-child {
    margin-bottom: 0;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about__stat {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.about__stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

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

    .about__stats {
        gap: 10px;
    }

    .about__stat {
        padding: 14px 12px;
        border-radius: var(--radius-sm);
    }

    .about__stat-number {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .about__stat-label {
        font-size: 0.7rem;
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials__header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 var(--gutter);
}

.testimonial {
    width: calc(33% - 12px);
    max-width: 400px;
}

.testimonial {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial__stars {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-primary);
    font-style: italic;
    flex: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.testimonial__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial__avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial__name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .testimonial {
        width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .testimonial {
        width: 100%;
        max-width: 540px;
    }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--red-dark), var(--red), var(--red-light));
    position: relative;
    overflow: hidden;
}

.cta-section__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.cta-section__content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.cta-section__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-section .btn--white {
    background: #fff;
    color: var(--red);
    font-weight: 700;
}

.cta-section .btn--white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

@media (prefers-color-scheme: disabled-temp) {
    .cta-section {
        background: linear-gradient(135deg, #1a0a0d, #2a1218, #1a0a0d);
        border-top: 1px solid rgba(179, 37, 52, 0.25);
    }

    .cta-section__pattern {
        opacity: 0.08;
        background-image:
            radial-gradient(circle at 20% 50%, rgba(179, 37, 52, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(179, 37, 52, 0.3) 0%, transparent 50%);
    }

    .cta-section__subtitle {
        color: rgba(255, 255, 255, 0.6);
    }

    .cta-section .btn--white {
        background: var(--red);
        color: #fff;
    }

    .cta-section .btn--white:hover {
        background: var(--red-light);
        box-shadow: 0 8px 32px rgba(179, 37, 52, 0.4);
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--footer-bg);
    padding: 64px 0 28px;
    color: var(--footer-text);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.1fr;
    gap: 64px;
    padding-bottom: 48px;
}

.footer__brand img { display: block; height: 42px; width: auto; }
.footer__brand p { margin-top: 22px; max-width: 240px; font-size: 13px; line-height: 1.8; color: #aaa7a2; }
.footer__heading { margin: 0 0 22px; font-size: 14px; line-height: 1.4; font-weight: 600; color: #f5f3ef; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.footer__links a { font-size: 14px; line-height: 1.5; color: #bcb9b4; text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer__links .footer__email { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.035em; color: #f5f3ef; line-height: 1.2; }
.footer__company { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; color: #aaa7a2; font-size: 13px; line-height: 1.6; }
.footer__bottom { border-top: 1px solid #ffffff20; padding-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__copy { margin: 0; font-size: 12px; line-height: 1.6; color: #aaa7a2; white-space: nowrap; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__legal a { font-size: 12px; line-height: 1.6; color: #aaa7a2; text-decoration: none; transition: color .2s; }
.footer__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 2px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__news {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__integrations {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__phone {
        max-height: 420px;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
    .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .footer__brand p { margin: 0; max-width: none; }
}

@media (max-width: 992px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-scrolled-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px var(--gutter);
        gap: 16px;
        border-bottom: 1px solid var(--channels-border);
    }

    .nav__links.active {
        display: flex;
    }

    .nav__buttons {
        display: none;
    }

    .nav__toggle {
        display: flex;
        margin-left: auto;
    }

    .nav__mobile-buttons {
        display: flex;
        gap: 8px;
        padding-bottom: 16px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--channels-border);
    }

    .nav__mobile-buttons .btn {
        flex: 1;
        text-align: center;
        background: var(--red);
        color: #fff;
        border-color: var(--red);
    }

    .nav__mobile-buttons .btn:hover {
        background: var(--red);
        color: #fff;
        border-color: var(--red);
        transform: none;
        box-shadow: none;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-card {
        padding: 18px 16px;
        display: grid;
        grid-template-columns: 34px 1fr;
        grid-template-rows: auto auto;
        gap: 0 12px;
    }

    .feature-card__icon {
        width: 34px;
        height: 34px;
        margin-bottom: 0;
        grid-row: 1;
        grid-column: 1;
        align-self: center;
    }

    .feature-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .feature-card__title {
        font-size: 0.95rem;
        margin-bottom: 0;
        grid-row: 1;
        grid-column: 2;
        align-self: center;
    }

    .feature-card__desc {
        font-size: 0.8rem;
        line-height: 1.5;
        grid-row: 3;
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .feature-card__badge {
        position: static;
        grid-row: 2;
        grid-column: 1 / -1;
        width: fit-content;
        margin-top: 6px;
    }

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

    .channels__grid > .channel-card:first-child {
        margin-right: 0;
    }

    .channels__grid > .channel-card:last-child {
        margin-left: 0;
    }

    .channels__divider {
        display: flex;
        height: auto;
    }

    .channels__or {
        width: 44px;
        height: 44px;
        font-size: 0.8rem;
    }

    .industries__layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .industries__left .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .industries__tags {
        justify-content: center;
    }

    .integrations__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .integration-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        text-align: left;
    }

    .integration-card__logo {
        height: 32px;
        margin: 0;
        flex-shrink: 0;
    }

    .integration-card__name {
        display: none;
    }

    .integration-card__badge {
        margin-top: 0;
        margin-left: auto;
        white-space: nowrap;
    }

    .pricing {
        padding: 30px 0 40px;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .footer { padding: 40px 0 24px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 32px; }
    .footer__brand { display: block; }
    .footer__brand img { height: 36px; }
    .footer__brand p { margin-top: 16px; }
    .footer__heading { margin-bottom: 16px; }
    .footer__links .footer__email { font-size: 25px; }

    .footer__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer__legal { flex-direction: column; gap: 12px; }
}

@media (max-width: 520px) {
    .features__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --gutter: 16px;
    }

    .hero__integrations {
        flex-direction: column;
        gap: 12px;
    }

    .channel-card {
        padding: 32px 24px;
    }

    .pricing-card {
        padding: 36px 28px;
    }
}

/* ============================================================
   NAV — solid variant (pages without a light hero, e.g. blog)
   ============================================================ */
.nav--solid {
    background: var(--nav-scrolled-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--nav-scrolled-shadow);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.blog-hero__inner {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.blog-hero .badge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
}

.blog-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.blog-hero .lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    max-width: 640px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 0.35rem;
}

.blog-content-wrapper {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.blog-article {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    padding: 3rem 3.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-article p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 1.5rem;
}

.blog-article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--red);
    display: inline-block;
}

.blog-article h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-article .intro-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.9;
    border-left: 4px solid var(--red);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.blog-cta {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.blog-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.blog-cta__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-article {
        padding: 2rem 1.5rem;
    }
}

/* --- Blog article content elements --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.problem-card {
    background: #fff5f5;
    border-radius: 14px;
    padding: 1.5rem;
    border-left: 4px solid var(--red);
}

.problem-card strong {
    display: block;
    color: var(--red);
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.problem-card span {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.expectation-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.expectation-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 1.05rem;
    color: #3a3a3a;
    border-bottom: 1px solid #f0f0f0;
}

.expectation-list li:last-child {
    border-bottom: none;
}

.expectation-list li i {
    color: var(--red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 1.05rem;
    color: #3a3a3a;
}

.check-list li::before {
    content: '✔';
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    color: #3a3a3a;
}

.benefit-list li i {
    color: var(--red);
    margin-top: 4px;
    flex-shrink: 0;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.step-card {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.step-card p {
    margin: 0;
    font-size: 1rem;
    color: #3a3a3a;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* --- Blog article screenshots --- */
.blog-screens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.blog-screens__item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

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

.blog-screens__caption {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
}

@media (max-width: 767px) {
    .blog-screens {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   BLOG SECTION (homepage)
   ============================================================ */
.blog-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.blog-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.blog-cards {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.blog-card__image {
    height: 250px;
    overflow: hidden;
    background: var(--hero-bg);
    background-image:
        radial-gradient(ellipse 70% 60% at 80% 25%, rgba(179, 37, 52, 0.14), transparent 70%),
        radial-gradient(ellipse 50% 50% at 12% 85%, rgba(179, 37, 52, 0.08), transparent 70%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blog-card__image--screenshot img {
    width: 200px;
    height: auto;
    margin-top: 28px;
    border-radius: 22px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card-hover);
}

.blog-card__image--mockup img {
    width: 340px;
    height: auto;
    margin-top: 26px;
}

.blog-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card__excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.blog-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 600;
}

.blog-card__more .icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 767px) {
    .blog-section {
        padding: 64px 0;
    }

    .blog-cards {
        grid-template-columns: 1fr;
    }

    .blog-card__image {
        height: 210px;
    }
}

/* ============================================================
   BLOG ARTICLE: QR objednávky (figures, pricing, FAQ, testimonial, CTA)
   ============================================================ */
.blog-article a:not(.glightbox):not(.blog-cta__btn) {
    color: var(--red);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}
.blog-article a:not(.glightbox):not(.blog-cta__btn):hover {
    opacity: 0.75;
}

.blog-hint {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 0.75rem !important;
}
.blog-hint i { margin-right: 0.25rem; }

.blog-screens__item a { display: block; width: 100%; cursor: zoom-in; }
.blog-screens__item img { transition: transform 0.2s ease; }
.blog-screens__item a:hover img { transform: translateY(-3px); }

.blog-figure {
    margin: 2rem 0;
}
.blog-figure--hero {
    margin: -1rem 0 2.5rem;
}
.blog-figure a { display: block; cursor: zoom-in; }
.blog-figure img,
.blog-figure .blog-placeholder__box {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.blog-placeholder__box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    aspect-ratio: 16 / 9;
    background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 12px, #e9e9e9 12px, #e9e9e9 24px);
    border: 2px dashed #c7c7c7;
    color: #777;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem;
}
.blog-screens__item .blog-placeholder__box { aspect-ratio: 9 / 19; min-height: 0; }
.blog-testimonial__avatar,
.blog-testimonial .blog-placeholder__box {
    width: 56px;
    height: 56px;
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 50%;
    flex: 0 0 56px;
    font-size: 0.6rem;
    padding: 0;
    object-fit: cover;
}

.blog-pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 1.75rem;
}
.blog-pricing__item {
    background: var(--bg-light, #f8f8f8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}
.blog-pricing__amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
}
.blog-pricing__label {
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 0.4rem;
}
.blog-pricing__note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.blog-testimonial {
    position: relative;
    margin: 1.5rem 0 2rem;
    padding: 2rem 2rem 1.5rem 2.5rem;
    background: #fff7f7;
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-testimonial__icon {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--red);
    opacity: 0.25;
}
.blog-testimonial p {
    font-style: italic;
    font-size: 1.15rem !important;
    margin-bottom: 1.25rem !important;
}
.blog-testimonial footer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.blog-testimonial footer strong { display: block; color: #1a1a2e; }
.blog-testimonial footer span { font-size: 0.9rem; color: var(--text-secondary); }

.blog-faq { margin: 1.25rem 0 0.5rem; }
.blog-faq__item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--bg-white);
}
.blog-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 3rem 1rem 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
}
.blog-faq__item summary::-webkit-details-marker { display: none; }
.blog-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--red);
    line-height: 1;
}
.blog-faq__item[open] summary::after { content: '\2212'; }
.blog-faq__item p {
    padding: 0 1.25rem 1.1rem;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.blog-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.blog-cta__btn {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-cta__btn--primary {
    background: white;
    color: var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.blog-cta__btn--primary:hover { transform: translateY(-2px); color: var(--red); }
.blog-cta__btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
}
.blog-cta__btn--secondary:hover { background: rgba(255,255,255,0.12); color: white; }

@media (max-width: 767px) {
    .blog-pricing { grid-template-columns: 1fr; }
    .blog-testimonial { padding: 1.5rem 1.25rem 1.25rem 1.5rem; }
}
.blog-figure--square { max-width: 520px; margin-left: auto; margin-right: auto; }
.blog-figure--square img { aspect-ratio: 1; object-fit: cover; }
.blog-figure--hero { max-width: 560px; margin-left: auto; margin-right: auto; }
.blog-figure__link { cursor: pointer !important; }
.blog-figure__link img { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.blog-figure__link:hover img { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

/* ============================================================
   BLOG ARTICLE: Push notifikace (ukázky notifikací, srovnání, homepage karta s fotkou)
   ============================================================ */
.blog-notif {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    margin: 0.75rem 0;
}
.blog-notif--single { margin: 1rem auto 1.75rem; }
.blog-notif__icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
}
.blog-notif__body { min-width: 0; }
.blog-notif__head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}
.blog-notif__head span:first-child { font-weight: 700; color: #1a1a2e; }
.blog-notif__text {
    font-size: 0.98rem;
    line-height: 1.45;
    color: #1a1a2e;
}

.blog-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0 1.75rem;
}
.blog-compare__item {
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem 0.5rem;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
}
.blog-compare__item--bad { background: #faf3f3; border-color: #f0d6d9; }
.blog-compare__item--good { background: #f2f8f3; border-color: #cfe5d3; }
.blog-compare__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-compare__item--bad .blog-compare__label { color: var(--red); }
.blog-compare__item--good .blog-compare__label { color: #2f7d4a; }
.blog-compare__item .blog-notif { max-width: none; }
.blog-compare__item--bad .blog-notif__text { color: #6b6b6b; }

.blog-figure__caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.75rem;
}
.blog-screens--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.step-grid--3 { grid-template-columns: repeat(3, 1fr); }
.step-grid--3 .step-number i { font-size: 1.1rem; }

.blog-cards--3 { grid-template-columns: repeat(3, 1fr); }
.blog-card__image--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

@media (max-width: 991px) {
    .blog-cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .blog-compare { grid-template-columns: 1fr; }
    .step-grid--3 { grid-template-columns: 1fr; }
}

/* --- Blog tables (článek o ceně věrnostního programu) --- */
.blog-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 1.75rem;
    -webkit-overflow-scrolling: touch;
}
.blog-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 0.95rem;
    background: #fff;
}
.blog-table th,
.blog-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.5;
}
.blog-table thead th {
    background: var(--bg-light, #f8f8f8);
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.blog-table tbody tr:last-child td { border-bottom: none; }
.blog-table tbody tr:nth-child(even) td { background: #fcfcfc; }
.blog-table--numbers th:not(:first-child),
.blog-table--numbers td:not(:first-child) { text-align: right; white-space: nowrap; }
.blog-table--numbers td:last-child { color: #2f7d4a; }

.blog-pricing--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-pricing + .blog-figure__caption { margin-top: -1rem; margin-bottom: 1.75rem; }
.blog-pricing__item--highlight {
    background: #f2f8f3;
    border-color: #cfe5d3;
}
.blog-pricing__item--highlight .blog-pricing__amount { color: #2f7d4a; }

@media (max-width: 767px) {
    .blog-pricing--3 { grid-template-columns: 1fr; }
    .blog-table { font-size: 0.9rem; }
    .blog-table th, .blog-table td { padding: 0.7rem 0.75rem; }
}

/* --- Blog: věta obsluhy jako bublina (článek o viditelnosti věrnostního programu) --- */
.blog-say {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px 18px 18px 4px;
    padding: 0.85rem 1.1rem;
    margin: 0.75rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1a1a2e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.blog-say--single { max-width: 480px; margin: 1rem auto 1.75rem; }
.blog-compare__item--bad .blog-say { color: #6b6b6b; }

/* ============================================================
   KALKULAČKA QR PLATEB (/pro-podniky/qr-platby-kalkulacka)
   ============================================================ */
.calc-hero {
    padding-bottom: 6rem;
}

.calc {
    background: var(--bg-light);
    padding: 0 0 5rem;
}

.calc__layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

/* --- vstupy --- */
.calc__inputs {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 96px;
}

.calc__inputs-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.calc__field + .calc__field,
.calc__mode + .calc__field {
    margin-top: 1.75rem;
}

.calc__field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.calc__field-head label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calc__value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.calc__value input {
    width: 5.5rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-primary);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
    -moz-appearance: textfield;
}

.calc__value--wide input {
    width: 7.5rem;
}

.calc__value input::-webkit-outer-spin-button,
.calc__value input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc__value input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-soft);
}

.calc input[type="range"] {
    --fill: 50%;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, var(--red) 0%, var(--red) var(--fill), var(--border-light) var(--fill), var(--border-light) 100%);
    cursor: pointer;
}

.calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--red);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease;
}

.calc input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--red);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.calc input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

.calc__range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc__mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-top: 1.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 50px;
}

.calc__mode-btn {
    border: none;
    background: transparent;
    padding: 0.6rem 0.75rem;
    border-radius: 50px;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc__mode-btn.is-active {
    background: var(--bg-white);
    color: var(--red);
    box-shadow: var(--shadow-card);
}

.calc__hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.calc__note {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* --- výsledky --- */
.calc__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.calc-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.calc-card--us {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red), var(--shadow-card-hover);
}

.calc-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.calc-card__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.calc-card--us .calc-card__name {
    color: var(--red);
}

.calc-card__tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-card__total {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.calc-card__total-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.calc-card--us .calc-card__total-value {
    color: var(--red);
}

.calc-card__total-label {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-card__rows {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.calc-card__rows li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calc-card__rows li span {
    display: flex;
    flex-direction: column;
}

.calc-card__rows li small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-card__rows li strong {
    color: var(--text-primary);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.calc-card__zero {
    color: #2f7d4a !important;
}

.calc-card__foot {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 1rem 0 0;
    border-top: 2px solid var(--border-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calc-card__foot strong {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    white-space: nowrap;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.calc-card--us .calc-card__foot strong {
    color: var(--red);
}

/* --- poplatek hostů --- */
.calc-card__guests {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
}

.calc-card__guests > i {
    font-size: 1.6rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.calc-card__guests > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.calc-card__guests-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calc-card__guests strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.calc-card__guests small {
    font-size: 0.8rem;
}

.calc-card__guests--free {
    background: rgba(47, 125, 74, 0.08);
    border: 1px solid rgba(47, 125, 74, 0.25);
    color: #2f7d4a;
}

.calc-card__guests--paid {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #b45309;
}

.calc-card__guests--free small,
.calc-card__guests--paid small {
    color: var(--text-secondary);
}

/* --- naštvaní hosté --- */
.calc-angry {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-xl);
    background: var(--bg-white);
    border: 1px dashed rgba(217, 119, 6, 0.5);
    box-shadow: var(--shadow-card);
}

.calc-angry__icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
    font-size: 2rem;
}

.calc-angry__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-variant-numeric: tabular-nums;
}

.calc-angry__body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.calc-angry__body p strong {
    color: #b45309;
}

/* --- úspora --- */
.calc-savings {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: white;
    box-shadow: 0 16px 40px var(--red-glow);
}

.calc-savings__main,
.calc-savings__side {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.calc-savings__side {
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.calc-savings__label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.calc-savings__value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.calc-savings__value--small {
    font-size: 1.6rem;
}

.calc-savings__sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.calc-savings__sub strong {
    color: white;
}

/* --- ceník --- */
.calc-pricing {
    padding: 5rem 0;
    background: var(--bg-white);
}

.calc-pricing__inner {
    max-width: 760px;
    margin: 0 auto;
}

.calc-pricing__table td:nth-child(2) {
    color: var(--red);
    font-weight: 700;
}

.calc-pricing__table td:last-child {
    color: var(--text-primary);
}

.calc-pricing__note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .calc__layout {
        grid-template-columns: 1fr;
    }

    .calc__inputs {
        position: static;
    }
}

@media (max-width: 720px) {
    .calc-hero {
        padding-bottom: 4rem;
    }

    .calc__layout {
        margin-top: -1.5rem;
    }

    .calc__inputs,
    .calc-card {
        padding: 1.5rem;
    }

    .calc__cards {
        grid-template-columns: 1fr;
    }

    .calc-savings {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 1.5rem;
    }

    .calc-savings__side {
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.25);
    }

    .calc-card__total-value {
        font-size: 1.75rem;
    }

    .calc-card__foot strong {
        font-size: 1.5rem;
    }

    .calc-angry {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .calc-savings__value {
        font-size: 1.85rem;
    }
}


/* --- 404 (app/not-found.tsx) --- */
.nf {
    position: relative;
    padding: 136px 0 112px;
    background: var(--bg-light);
    text-align: center;
    overflow: hidden;
}

/* Jemná záře za číslem, ať velká 404 nestojí na plochém pozadí. */
.nf::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    width: min(900px, 120vw);
    aspect-ratio: 2;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, var(--hero-glow-color), transparent);
    pointer-events: none;
}

.nf__inner {
    position: relative;
    max-width: 760px;
}

.nf__code {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(8rem, 30vw, 17rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.07em;
    background: linear-gradient(180deg, var(--red-light) 0%, var(--red) 45%, var(--red-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

.nf__title {
    margin: 28px 0 16px;
    font-size: clamp(1.875rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.nf__text {
    max-width: 44ch;
    margin: 0 auto 36px;
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.nf__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nf__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin-top: 44px;
    font-size: 0.9375rem;
}

.nf__links a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border-light);
    text-underline-offset: 4px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.nf__links a:hover {
    color: var(--red);
    text-decoration-color: currentColor;
}

@media (max-width: 560px) {
    .nf {
        padding: 112px 0 80px;
    }

    .nf__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
