/* Samostatný hero návrh bety. Spoločné menu a vyhľadávanie zostávajú zachované. */
.beta-home-page.beta-background-paused .beta-home-hero *,
.beta-home-page.beta-background-paused .beta-home-hero *::before,
.beta-home-page.beta-background-paused .beta-home-hero *::after { animation-play-state: paused !important; }
@media (min-width: 0px) {
    .beta-home-page > .top-bar {
        position: absolute;
        inset: 0 0 auto;
        z-index: 200;
    }
    .beta-home-page > .top-bar .top-btn {
        background: var(--card-bg);
        box-shadow: var(--shadow-sm);
        border-color: var(--border-color);
    }
    .beta-home-page > .top-bar .top-btn:hover {
        background: var(--input-bg);
        border-color: var(--primary-color);
    }
    .beta-home-page > .top-bar .top-btn:focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 3px;
    }
}
.hero.beta-home-hero {
    width: 100%;
    max-width: none;
    padding-top: 0;
}
.beta-home-hero .beta-hero-video {
    position: relative;
    width: calc(100% + 40px);
    height: 100vh;
    height: 100svh;
    min-height: 280px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0;
    background: var(--card-bg);
}
.beta-hero-video .beta-hero-video-player,
.beta-hero-video .beta-hero-video-poster {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.beta-hero-video .beta-hero-video-player[hidden] { display: none; }
.beta-hero-video .beta-hero-brand { display: none; }
@media (min-width: 0px) {
    .beta-home-hero .beta-hero-video { container-type: size; }
    .beta-hero-video .beta-hero-brand {
        /* Rovnaká mierka a stred ako video 1920 × 1080 s object-fit: cover. */
        --beta-brand-unit: max(0.052083333cqw, 0.092592593cqh);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        z-index: 1;
        top: calc(60 * var(--beta-brand-unit));
        left: 50%;
        transform: translateX(-50%);
        width: calc(800 * var(--beta-brand-unit));
        color: var(--bg-color);
        pointer-events: none;
        isolation: isolate;
    }
    .beta-home-page:not(.dark-mode) .beta-hero-brand { color: var(--text-primary); }
    .beta-hero-brand .beta-hero-brand-wordmark {
        display: block;
        width: calc(400 * var(--beta-brand-unit));
        height: auto;
    }
    .beta-hero-brand .beta-hero-brand-services {
        display: flex;
        align-items: center;
        gap: calc(24 * var(--beta-brand-unit));
        width: 100%;
        margin-top: calc(16 * var(--beta-brand-unit));
    }
    .beta-hero-brand .beta-hero-brand-line { flex: 1; height: calc(1.5 * var(--beta-brand-unit)); background: var(--primary-color); }
    .beta-hero-brand .beta-hero-brand-icons { display: flex; gap: calc(34 * var(--beta-brand-unit)); }
    .beta-hero-brand .beta-hero-brand-icons .material-symbols-outlined { font-size: calc(44 * var(--beta-brand-unit)); font-weight: 200; line-height: 1; }
    .beta-hero-brand .beta-hero-brand-slogan {
        margin-top: calc(22 * var(--beta-brand-unit));
        font-size: calc(24 * var(--beta-brand-unit));
        line-height: 1.2;
        font-weight: 500;
        letter-spacing: calc(3.6 * var(--beta-brand-unit));
        text-transform: uppercase;
        white-space: nowrap;
    }
    .beta-home-page.dark-mode .beta-hero-video-player,
    .beta-home-page.dark-mode .beta-hero-video-poster { filter: brightness(0.9); }
    .beta-home-page.dark-mode .beta-hero-message-accent,
    .beta-home-page.dark-mode .beta-hero-message-trust .material-symbols-outlined {
        color: color-mix(in srgb, var(--primary-hover) 85%, var(--bg-color));
    }
}
.beta-hero-video .beta-hero-video-toggle {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 55px;
    height: 55px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font: inherit;
    line-height: 1;
}
.beta-hero-video .beta-hero-video-toggle[hidden] { display: none; }
@media (min-width: 0px) {
    .beta-hero-video .beta-hero-video-toggle {
        background: transparent;
        box-shadow: none;
        color: var(--bg-color);
        border-color: currentColor;
    }
}
.beta-hero-video .beta-hero-video-toggle:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}
.beta-hero-video .beta-hero-video-toggle:focus-visible,
.beta-home-page .beta-home-search .search-btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}
.beta-hero-video .material-symbols-outlined { font-size: 20px; line-height: 1; flex-shrink: 0; }
.beta-home-page .beta-home-search { margin-top: 24px; border-width: 2px; }
.beta-home-page .beta-services-divider { display: none; }
@media (min-width: 0px) {
    .beta-home-page .beta-services-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        width: min(550px, 100%);
        margin: 8px auto 32px;
        color: var(--text-primary);
    }
    .beta-services-divider::before,
    .beta-services-divider::after { content: ''; flex: 1; height: 1px; background: var(--primary-color); }
    .beta-services-divider .material-symbols-outlined { flex-shrink: 0; font-size: 30px; font-weight: 200; line-height: 1; }
    .beta-home-page .services-section > .beta-home-search { width: 100%; max-width: 860px; margin: 0 auto 24px; }
}
.beta-home-page .beta-home-search .search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    line-height: 1;
}
.beta-home-page .beta-home-search .search-btn .material-symbols-outlined { font-size: 20px; line-height: 1; flex-shrink: 0; }
.beta-hero-video-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.beta-hero-video .beta-hero-message {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 96px));
    color: var(--text-primary);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms;
}
.beta-home-page.dark-mode .beta-hero-message { color: var(--bg-color); }
.beta-hero-message.is-visible { opacity: 1; visibility: visible; }
.beta-hero-message .beta-hero-message-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.beta-hero-message h2 { font-size: clamp(36px, 4vw, 64px); letter-spacing: -0.042em; line-height: 1.01; margin: 0 0 20px; font-weight: 900; }
.beta-hero-message h2 > span { display: block; }
.beta-hero-message .beta-hero-message-accent { color: var(--primary-hover); }
.beta-hero-message p { max-width: 740px; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.5; margin: 0 auto 24px; }
.beta-hero-message .beta-hero-message-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.beta-hero-message .beta-hero-message-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 300px;
    min-height: 76px;
    padding: 18px 32px;
    border: 2px solid transparent;
    border-radius: var(--radius-control);
    background: var(--primary-hover);
    color: #fff;
    font-weight: 700;
    font-family: inherit;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}
.beta-hero-message .beta-hero-message-action .material-symbols-outlined { font-size: 24px; line-height: 1; flex-shrink: 0; }
.beta-hero-message .beta-hero-message-action:hover { background: var(--primary-color); }
.beta-hero-message .beta-hero-message-secondary { background: transparent; color: inherit; border-color: currentColor; }
.beta-hero-message .beta-hero-message-secondary:hover { background: color-mix(in srgb, var(--primary-color) 15%, transparent); }
.beta-hero-message .beta-hero-message-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.beta-hero-message-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.beta-hero-message-trust .material-symbols-outlined { color: var(--primary-hover); }
@keyframes beta-hero-message-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.beta-hero-message.is-visible .beta-hero-message-eyebrow,
.beta-hero-message.is-visible h2 > span,
.beta-hero-message.is-visible p,
.beta-hero-message.is-visible .beta-hero-message-actions,
.beta-hero-message.is-visible .beta-hero-message-trust { animation: beta-hero-message-rise 400ms ease-out both; }
.beta-hero-message.is-visible h2 > span:first-child { animation-delay: 60ms; }
.beta-hero-message.is-visible h2 > span:last-child { animation-delay: 120ms; }
.beta-hero-message.is-visible p { animation-delay: 180ms; }
.beta-hero-message.is-visible .beta-hero-message-actions { animation-delay: 240ms; }
.beta-hero-message.is-visible .beta-hero-message-trust { animation-delay: 300ms; }
.beta-hero-message .beta-hero-message-action:focus-visible { outline: 3px solid var(--primary-hover); outline-offset: 4px; }
.beta-hero-video .beta-hero-scroll-hint {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 128px;
    min-height: 64px;
    margin: 0;
    padding: 4px 12px;
    border-radius: var(--radius-control);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}
.beta-hero-scroll-hint .beta-hero-scroll-mouse {
    position: relative;
    display: inline-flex;
    width: 26px;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: var(--radius-control);
}
.beta-hero-scroll-hint .beta-hero-scroll-wheel {
    position: absolute;
    top: 5px;
    left: calc(50% - 2px);
    width: 4px;
    height: 8px;
    border-radius: var(--radius-small);
    background: var(--primary-color);
    animation: beta-hero-scroll-wheel 1.8s ease-in-out infinite;
}
.beta-hero-scroll-hint:hover { transform: translate(-50%, 5px); opacity: 0.85; }
.beta-hero-scroll-hint:active,
.beta-hero-scroll-hint.is-activated { transform: translate(-50%, 8px); }
.beta-hero-scroll-hint:focus-visible { outline: 3px solid var(--primary-hover); outline-offset: 4px; }
@keyframes beta-hero-scroll-wheel {
    0% { opacity: 0; transform: translateY(0); }
    15% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(16px); }
    100% { opacity: 0; transform: translateY(20px); }
}
@media (min-width: 601px) and (max-height: 800px) {
    .beta-home-hero .beta-hero-video { min-height: 840px; }
}
@media (prefers-reduced-motion: reduce) {
    .beta-hero-video .beta-hero-scroll-hint { transition: none; }
    .beta-hero-video .beta-hero-scroll-hint:hover,
    .beta-hero-video .beta-hero-scroll-hint:active,
    .beta-hero-video .beta-hero-scroll-hint.is-activated { transform: translateX(-50%); }
    .beta-hero-scroll-hint .beta-hero-scroll-wheel { animation: none; }
    .beta-hero-video .beta-hero-message { transition: none; }
    .beta-hero-message.is-visible .beta-hero-message-eyebrow,
    .beta-hero-message.is-visible h2 > span,
    .beta-hero-message.is-visible p,
    .beta-hero-message.is-visible .beta-hero-message-actions,
    .beta-hero-message.is-visible .beta-hero-message-trust { animation: none; }
}
@media (max-width: 600px) {
    .beta-home-page #ai-fab-container { flex-direction: column; align-items: flex-end; }
    .beta-home-page > .top-bar { padding: 16px; }
    .beta-home-page > .top-bar .top-btn { min-height: 44px; height: 44px; max-height: 44px; }
    .beta-home-hero .beta-hero-video {
        container-type: inline-size;
        box-sizing: border-box;
        height: auto;
        min-height: max(100svh, 800px);
        padding: 228px 20px 88px;
    }
    .beta-hero-video .beta-hero-brand { top: 88px; width: calc(100% - 40px); max-width: 400px; }
    .beta-hero-brand .beta-hero-brand-wordmark { width: 220px; max-width: 70%; }
    .beta-hero-brand .beta-hero-brand-services { gap: 16px; margin-top: 12px; }
    .beta-hero-brand .beta-hero-brand-line { height: 1px; }
    .beta-hero-brand .beta-hero-brand-icons { gap: 16px; }
    .beta-hero-brand .beta-hero-brand-icons .material-symbols-outlined { font-size: 24px; }
    .beta-hero-brand .beta-hero-brand-slogan { margin-top: 12px; font-size: clamp(11px, 3vw, 14px); letter-spacing: 1.5px; }
    .beta-hero-video .beta-hero-message { position: relative; top: auto; left: auto; transform: none; width: 100%; }
    .beta-hero-message .beta-hero-message-eyebrow { font-size: 12px; margin-bottom: 12px; gap: 8px; }
    .beta-hero-message h2 { font-size: clamp(28px, 7.8vw, 40px); margin-bottom: 16px; }
    .beta-hero-message p { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
    .beta-hero-message .beta-hero-message-actions { flex-direction: column; gap: 12px; }
    .beta-hero-message .beta-hero-message-action { min-width: 0; width: 100%; min-height: 56px; padding: 16px; font-size: 16px; }
    .beta-hero-message .beta-hero-message-action .material-symbols-outlined { font-size: 22px; }
    .beta-hero-message .beta-hero-message-trust { gap: 8px 16px; margin-top: 20px; }
    .beta-hero-message-trust li { font-size: 12px; }
    .beta-hero-message-trust .material-symbols-outlined { font-size: 18px; }
    /* Align with the fixed assistant in the initial viewport, including tall heroes. */
    .beta-hero-video .beta-hero-video-toggle { left: 20px; bottom: max(20px, calc(100% - 100svh + 20px)); }
    .beta-hero-video .beta-hero-scroll-hint { bottom: max(16px, calc(100% - 100svh + 16px)); }
    .beta-home-page .beta-services-divider { gap: 16px; margin-bottom: 24px; }
    .beta-services-divider .material-symbols-outlined { font-size: 24px; }
}
