:root {
    --page-text: #ffffff;
    --page-text-muted: rgba(255, 255, 255, 0.82);
    --page-accent: #ffffff;
    --page-border: rgba(255, 255, 255, 0.08);
    --page-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    --page-header-height: 120px;
}

* {
    box-sizing: border-box;
}

body.page-shell {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--page-text);
    background: #091015;
}

body.page-shell .hero {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

body.page-shell #video-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) saturate(0.85);
    z-index: 0;
    pointer-events: none;
}

body.page-shell #video-background::-webkit-media-controls {
    display: none !important;
}

body.page-shell #video-background::-webkit-media-controls-start-playback-button {
    display: none !important;
}

body.page-shell #video-background::-webkit-media-controls-play-button {
    display: none !important;
}

body.page-shell .hero::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 10, 12, 0.52),
        rgba(6, 10, 12, 0.78)
    );
    z-index: 0;
    pointer-events: none;
}

body.page-shell header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: var(--page-header-height);
    padding: 0.8rem 1.25rem;
    background: linear-gradient(
        to bottom,
        rgba(4, 8, 10, 0.88),
        rgba(4, 8, 10, 0.24)
    );
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-shell .logo,
body.page-shell .ham {
    position: relative;
    z-index: 1105;
}

body.page-shell .logo img {
    width: clamp(72px, 10vw, 140px);
    height: auto;
    display: block;
}

body.page-shell .ham {
    width: 52px;
    padding: 0.65rem;
    cursor: pointer;
}

body.page-shell nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1104;
    display: flex;
    width: min(88vw, 360px);
    height: 100vh;
    padding: calc(var(--page-header-height) + 1rem) 1.25rem 2rem;
    background: rgba(247, 249, 250, 0.97);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

body.page-shell nav.active {
    transform: translateX(0);
}

body.page-shell.nav-open {
    overflow: hidden;
}

body.page-shell.nav-open nav {
    transform: translateX(0);
}

body.page-shell nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-shell nav a {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    color: #182126;
    text-decoration: none;
    font-weight: 700;
}

body.page-shell nav a:hover,
body.page-shell nav a:focus-visible {
    background: #e8ecee;
    outline: none;
}

body.page-shell nav a[aria-current="page"] {
    background: #e8ecee;
}


/* =========================================================
   HLAVNÍ STRÁNKY
   ========================================================= */

body.page-about .about-page,
body.page-faq .faq-page,
body.page-home .home-page,
body.page-gallery .gallery-page,
body.page-privacy .legal-page,
body.page-contacts .content-wrap-contact,
body.page-jobs .jobs-page {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 1100px);
    margin: 0 auto;
    padding: calc(var(--page-header-height) + 2rem) 0 3rem;
}

body.page-about .about-card,
body.page-faq .faq-card,
body.page-home .home-card,
body.page-gallery .gallery-card,
body.page-privacy .legal-card,
body.page-contacts .contact-info,
body.page-contacts .contact-form,
body.page-jobs .jobs-card {
    width: 100%;
    padding: clamp(1.6rem, 3.4vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    background: linear-gradient(
        180deg,
        rgba(14, 21, 25, 0.86),
        rgba(10, 16, 20, 0.92)
    );
    box-shadow: var(--page-shadow);
}

body.page-about .about-intro,
body.page-faq .faq-intro,
body.page-home .home-intro,
body.page-gallery .gallery-intro,
body.page-privacy .legal-intro,
body.page-jobs .jobs-intro {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding: clamp(1.3rem, 2vw, 1.8rem);
    border: 1px solid var(--page-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

body.page-about .about-kicker,
body.page-faq .faq-kicker,
body.page-home .home-kicker,
body.page-gallery .gallery-kicker,
body.page-privacy .legal-kicker,
body.page-jobs .jobs-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--page-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.page-about .about-title,
body.page-faq .faq-title,
body.page-home .home-title,
body.page-gallery .gallery-title,
body.page-privacy .legal-card h1,
body.page-jobs .jobs-title {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.page-about .about-lead,
body.page-faq .faq-lead,
body.page-home .home-lead,
body.page-gallery .gallery-lead,
body.page-privacy .legal-lead,
body.page-jobs .jobs-lead {
    margin: 0;
    max-width: 58rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 1.7vw, 1.18rem);
    line-height: 1.9;
}

body.page-about .about-summary,
body.page-faq .faq-summary,
body.page-home .home-summary,
body.page-gallery .gallery-summary,
body.page-privacy .legal-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

body.page-about .about-highlight,
body.page-faq .faq-highlight,
body.page-home .home-highlight,
body.page-home .home-link,
body.page-gallery .gallery-highlight,
body.page-privacy .legal-highlight {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(7, 11, 14, 0.54);
    border: 1px solid var(--page-border);
}

body.page-about .about-highlight strong,
body.page-faq .faq-highlight strong,
body.page-home .home-highlight strong,
body.page-home .home-link strong,
body.page-gallery .gallery-highlight strong,
body.page-privacy .legal-highlight strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--page-accent);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.page-about .about-highlight span,
body.page-about .about-section p,
body.page-about .about-section li,
body.page-faq .faq-highlight span,
body.page-faq .faq-section p,
body.page-home .home-highlight span,
body.page-home .home-link span,
body.page-home .home-section p,
body.page-gallery .gallery-highlight span,
body.page-privacy .legal-highlight span,
body.page-privacy .legal-card p,
body.page-privacy .legal-card li,
body.page-contacts .contact-info p,
body.page-contacts .contact-form label {
    color: var(--page-text-muted);
    line-height: 1.75;
}

body.page-about .about-sections,
body.page-faq .faq-sections,
body.page-home .home-sections,
body.page-privacy .legal-sections {
    display: grid;
    gap: 1.15rem;
}

body.page-about .about-grid {
    display: grid;
    gap: 1rem;
}

body.page-about .about-section,
body.page-faq .faq-section,
body.page-home .home-section,
body.page-privacy .legal-section {
    display: grid;
    gap: 0.8rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--page-border);
}

body.page-about .about-section h2,
body.page-faq .faq-section h2,
body.page-home .home-section h2,
body.page-privacy .legal-section h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.2;
}

body.page-about .about-section p,
body.page-faq .faq-section p,
body.page-home .home-section p,
body.page-privacy .legal-section p {
    margin: 0;
}

body.page-about .about-section ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-about .about-section li {
    position: relative;
    padding-left: 1.35rem;
}

body.page-about .about-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

body.page-about .about-note,
body.page-faq .faq-note,
body.page-home .home-note,
body.page-privacy .legal-note,
body.page-jobs .jobs-note {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid #ffffff;
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   GALERIE
   ========================================================= */

body.page-gallery .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.2vw, 1.5rem);
    align-items: stretch;
}

body.page-gallery .gallery-item {
    position: relative;
    height: clamp(220px, 28vw, 320px);
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--page-border);
    border-radius: 22px;
    background: rgba(7, 11, 14, 0.54);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

body.page-gallery .gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(3, 7, 9, 0.02) 35%,
        rgba(3, 7, 9, 0.76) 100%
    );
    pointer-events: none;
}

body.page-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

body.page-gallery .gallery-item figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: grid;
    gap: 0.35rem;
    padding: clamp(1rem, 2vw, 1.35rem);
    pointer-events: none;
}

body.page-gallery .gallery-item strong {
    color: #ffffff;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.page-gallery .gallery-item span {
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

body.page-gallery .gallery-item:hover,
body.page-gallery .gallery-item:focus-within {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

body.page-gallery .gallery-item:hover img,
body.page-gallery .gallery-item:focus-within img {
    filter: saturate(1.05);
    transform: scale(1.035);
}

body.page-gallery .gallery-expand {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

body.page-gallery .gallery-expand:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: -8px;
}

body.gallery-lightbox-open {
    overflow: hidden;
}

body.page-gallery .gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(2, 5, 7, 0.86);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

body.page-gallery .gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.page-gallery .gallery-lightbox__figure {
    position: relative;
    display: grid;
    gap: 0.85rem;
    width: min(100%, 1120px);
    max-height: calc(100vh - 4rem);
    margin: 0;
}

body.page-gallery .gallery-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(74vh, 720px);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.42);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

body.page-gallery .gallery-lightbox__caption {
    display: grid;
    gap: 0.25rem;
    padding: 0 0.2rem;
    color: #ffffff;
}

body.page-gallery .gallery-lightbox__caption strong {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.page-gallery .gallery-lightbox__caption span {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

body.page-gallery .gallery-lightbox__close {
    position: absolute;
    top: clamp(1rem, 2.2vw, 1.5rem);
    right: clamp(1rem, 2.2vw, 1.5rem);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(10, 16, 20, 0.9);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

body.page-gallery .gallery-lightbox__close:hover,
body.page-gallery .gallery-lightbox__close:focus-visible {
    background: #ffffff;
    color: #11181c;
    outline: none;
}


/* =========================================================
   PRACOVNÍ MÍSTA
   ========================================================= */

body.page-jobs .jobs-list {
    display: grid;
    gap: 1rem;
}

body.page-jobs .jobs-item {
    display: grid;
    gap: 0.75rem;
    padding: clamp(1.15rem, 2vw, 1.5rem);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--page-border);
}

body.page-jobs .jobs-link {
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

body.page-jobs .jobs-link:hover,
body.page-jobs .jobs-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    outline: none;
}

body.page-jobs .jobs-item h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.2;
    color: #ffffff;
}

body.page-jobs .jobs-item p {
    margin: 0;
    color: var(--page-text-muted);
    line-height: 1.75;
}


/* =========================================================
   OCHRANA OSOBNÍCH ÚDAJŮ
   ========================================================= */

body.page-privacy .legal-card ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.page-privacy .legal-card li {
    position: relative;
    padding-left: 1.35rem;
}

body.page-privacy .legal-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

body.page-privacy .hero::after,
body.page-privacy .legal-card::before {
    background: none !important;
}


/* =========================================================
   MODAL SOUHLASU
   ========================================================= */

body.page-shell .consent-modal {
    position: fixed;
    inset: 0;

    z-index: 2147483647;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;

    padding: 1rem;

    background: rgba(0, 0, 0, 0.82);
}


/*
 * Modal je při načtení index.html skrytý.
 * JavaScript odstraní atribut hidden pouze tehdy,
 * pokud uživatel ještě nepotvrdil souhlas.
 */

body.page-shell .consent-modal[hidden] {
    display: none !important;
}


body.page-shell .consent-modal__card {
    position: relative;

    width: min(100%, 560px);

    padding: clamp(1.5rem, 3vw, 2rem);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;

    background: linear-gradient(
        180deg,
        rgba(17, 23, 27, 0.98),
        rgba(9, 13, 16, 0.99)
    );

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);

    text-align: center;

    backdrop-filter: blur(16px);
}

body.page-shell .consent-modal__card h2 {
    margin-top: 0;
    color: #ffffff;
}

body.page-shell .consent-modal__card p,
body.page-shell .consent-check span {
    color: #ffffff;
}

body.page-shell .consent-modal__hint {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.82;
}

body.page-shell .consent-check {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 0.75rem;

    margin: 1.5rem 0;

    text-align: left;
}

body.page-shell .consent-check input[type="checkbox"] {
    flex: 0 0 auto;

    margin-top: 0.2rem;

    transform: scale(1.15);
}

body.page-shell .consent-check a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page-shell .consent-check a:hover,
body.page-shell .consent-check a:focus-visible {
    text-decoration: none;
    outline: none;
}

body.page-shell .consent-modal__button,
body.page-contacts .contact-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0.85rem 1.5rem;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.06)
    );

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

body.page-shell .consent-modal__button:hover:not(:disabled),
body.page-shell .consent-modal__button:focus-visible:not(:disabled),
body.page-contacts .contact-form input[type="submit"]:hover,
body.page-contacts .contact-form input[type="submit"]:focus-visible {
    background: #ffffff;
    color: #11181c;

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.22),
        0 12px 25px rgba(0, 0, 0, 0.18);

    outline: none;

    transform: translateY(-1px);
}

body.page-shell .consent-modal__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* =========================================================
   KONTAKTY
   ========================================================= */

body.page-contacts .content-wrap-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

body.page-contacts .contact-info {
    text-align: center;
}

body.page-contacts .contact-info h1,
body.page-contacts .contact-info h3,
body.page-contacts .contact-form h1,
body.page-contacts .contact-form h3 {
    text-align: center;
    color: #ffffff;
}

body.page-contacts .contact-form form {
    display: grid;
    gap: 0.25rem;
}

body.page-contacts .contact-form input[type="text"],
body.page-contacts .contact-form input[type="email"],
body.page-contacts .contact-form input[type="tel"],
body.page-contacts .contact-form input[type="date"],
body.page-contacts .contact-form input[type="file"],
body.page-contacts .contact-form textarea {
    width: 100%;

    margin-bottom: 1rem;

    padding: 0.85rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background-color: rgba(248, 249, 250, 0.96);

    color: #0e161a;
}

body.page-contacts .contact-form input[type="file"] {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

body.page-contacts .contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

body.page-contacts .contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

body.page-contacts .contact-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

body.page-contacts .contact-lead {
    max-width: 36rem;
    margin-inline: auto;
    color: rgba(255, 255, 255, 0.88);
}

body.page-contacts .contact-details {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

body.page-contacts .contact-details p {
    margin-bottom: 0;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
}

body.page-contacts .contact-details strong {
    display: inline-block;
    margin-bottom: 0.2rem;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

body.page-contacts .contact-note {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.96rem;
}


/* =========================================================
   HOME
   ========================================================= */

body.page-home .home-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

body.page-home .home-link {
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

body.page-home .home-link:hover,
body.page-home .home-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    outline: none;
}

body.page-home .home-link strong {
    margin-bottom: 0.45rem;
}

body.page-home .home-link span {
    display: block;
}

body.page-home .home-card {
    max-width: 980px;

    margin-inline: auto;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;

    box-shadow: none;

    text-align: center;
}

body.page-home .home-intro {
    gap: 0.85rem;
    margin-bottom: 2rem;
}

body.page-home .home-subtitle {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: clamp(1.15rem, 2vw, 1.4rem);

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

body.page-home .home-lead {
    max-width: 42rem;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.9);
}

body.page-home .home-actions {
    display: grid;

    gap: 0.9rem;

    width: min(100%, 560px);

    margin: 0 auto;
}

body.page-home .home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0.95rem 1.4rem;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.06)
    );

    color: #ffffff;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 0.02em;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

body.page-home .home-button:hover,
body.page-home .home-button:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #11181c;

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.22),
        0 12px 25px rgba(0, 0, 0, 0.18);

    transform: translateY(-1px);

    outline: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 700px) {

    body.page-gallery .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-gallery .gallery-item-featured {
        grid-column: span 2;
        height: clamp(280px, 34vw, 420px);
    }

}


@media (min-width: 992px) {

    body.page-shell .ham {
        display: none;
    }

    body.page-shell nav,
    body.page-shell nav.active {
        position: static;

        width: auto;
        height: auto;

        padding: 0.35rem;

        background: rgba(7, 11, 14, 0.38);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;

        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);

        transform: none;

        backdrop-filter: blur(14px);
    }

    body.page-shell nav ul {
        flex-direction: row;
        align-items: center;
    }

    body.page-shell nav a {
        padding: 0.8rem 1rem;

        color: #ffffff;

        white-space: nowrap;
    }

    body.page-shell nav a:hover,
    body.page-shell nav a:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
    }

    body.page-shell nav a[aria-current="page"] {
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
    }

    body.page-about .about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-gallery .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-gallery .gallery-item-featured {
        grid-column: span 2;
    }

}


@media (min-width: 1200px) {

    body.page-gallery .gallery-item {
        height: 300px;
    }

    body.page-gallery .gallery-item-featured {
        height: 380px;
    }

}


@media (max-width: 991px) {

    body.page-contacts .content-wrap-contact {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 767px) {

    :root {
        --page-header-height: 88px;
    }

    body.page-about .about-page,
    body.page-faq .faq-page,
    body.page-home .home-page,
    body.page-gallery .gallery-page,
    body.page-privacy .legal-page,
    body.page-contacts .content-wrap-contact,
    body.page-jobs .jobs-page {
        width: min(100% - 1rem, 1100px);

        padding-top:
            calc(var(--page-header-height) + 1.5rem);
    }

    body.page-shell header {
        padding: 0.6rem 0.85rem;
    }

    body.page-shell .ham {
        width: 46px;

        padding: 0.5rem;
    }

    body.page-shell nav {
        width: min(100vw, 320px);

        padding:
            calc(var(--page-header-height) + 0.75rem)
            1rem
            1.5rem;
    }

    body.page-contacts .contact-info,
    body.page-contacts .contact-form {
        padding: 1.25rem;

        border-radius: 22px;
    }

    body.page-contacts .contact-form form {
        gap: 0;
    }

    body.page-contacts .contact-form input[type="text"],
    body.page-contacts .contact-form input[type="email"],
    body.page-contacts .contact-form input[type="tel"],
    body.page-contacts .contact-form input[type="date"],
    body.page-contacts .contact-form input[type="file"],
    body.page-contacts .contact-form textarea {
        padding: 0.8rem 0.9rem;

        margin-bottom: 0.85rem;
    }

    body.page-contacts .contact-form input[type="submit"] {
        width: 100%;
    }

}


@media (max-width: 520px) {

    body.page-shell #video-background {
        position: absolute;

        filter:
            blur(2px)
            saturate(0.75);
    }

    body.page-contacts .contact-info,
    body.page-contacts .contact-form {
        padding: 1rem;
    }

    body.page-contacts .contact-details p {
        padding: 0.85rem 0.9rem;
    }

    body.page-contacts .contact-form label {
        margin-bottom: 0.3rem;
    }

    body.page-contacts .contact-note,
    body.page-contacts .contact-lead {
        font-size: 0.95rem;
    }

}


/* =========================================================
   WORKSCROS
   ========================================================= */

body.page-workscros {
    --career-text: #ffffff;
    --career-text-muted: rgba(255, 255, 255, 0.82);
    --career-accent: #ffffff;
    --career-surface: rgba(10, 16, 20, 0.9);
    --career-surface-soft: rgba(255, 255, 255, 0.05);
    --career-border: rgba(255, 255, 255, 0.08);
    --career-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    --career-header-height: 120px;

    margin: 0;

    font-family: "Segoe UI", Arial, sans-serif;

    color: var(--career-text);

    background: #091015;
}

body.page-workscros .hero {
    position: relative;

    min-height: 100vh;

    isolation: isolate;
}

body.page-workscros #video-background {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        blur(3px)
        saturate(0.85);

    z-index: 0;
}

body.page-workscros .hero::after {
    content: "";

    position: fixed;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(6, 10, 12, 0.52),
            rgba(6, 10, 12, 0.78)
        );

    z-index: 0;

    pointer-events: none;
}

body.page-workscros header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: var(--career-header-height);

    padding: 0.8rem 1.25rem;

    background:
        linear-gradient(
            to bottom,
            rgba(4, 8, 10, 0.88),
            rgba(4, 8, 10, 0.24)
        );

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

body.page-workscros .logo,
body.page-workscros .ham {
    position: relative;

    z-index: 1105;
}

body.page-workscros .logo img {
    width: clamp(72px, 10vw, 140px);

    height: auto;

    display: block;
}

body.page-workscros .ham {
    width: 52px;

    padding: 0.65rem;

    cursor: pointer;
}

body.page-workscros nav {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 1104;

    display: flex;

    width: min(88vw, 360px);

    height: 100vh;

    padding:
        calc(var(--career-header-height) + 1rem)
        1.25rem
        2rem;

    background: rgba(247, 249, 250, 0.97);

    transform: translateX(100%);

    transition: transform 0.3s ease;

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.22);
}

body.page-workscros nav.active,
body.page-workscros.nav-open nav {
    transform: translateX(0);
}

body.page-workscros nav ul {
    display: flex;

    flex-direction: column;

    gap: 0.45rem;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

body.page-workscros nav a {
    display: block;

    padding: 1rem 1.1rem;

    border-radius: 16px;

    color: #182126;

    text-decoration: none;

    font-weight: 700;
}

body.page-workscros nav a:hover,
body.page-workscros nav a:focus-visible {
    background: #e8ecee;

    outline: none;
}

body.page-workscros .career-page {
    position: relative;

    z-index: 1;

    width: min(100% - 2rem, 1100px);

    margin: 0 auto;

    padding:
        calc(var(--career-header-height) + 2rem)
        0
        3rem;
}

body.page-workscros .career-card {
    position: relative;

    width: 100%;

    padding: clamp(1.6rem, 3.4vw, 3rem);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 30px;

    background:
        linear-gradient(
            180deg,
            rgba(14, 21, 25, 0.86),
            rgba(10, 16, 20, 0.92)
        );

    box-shadow: var(--career-shadow);

    overflow: hidden;
}

body.page-workscros .career-intro {
    display: grid;

    gap: 1.2rem;

    margin-bottom: 2rem;

    padding: clamp(1.3rem, 2vw, 1.8rem);

    border: 1px solid var(--career-border);

    border-radius: 24px;

    background: var(--career-surface-soft);
}

body.page-workscros .career-kicker {
    display: inline-flex;

    width: fit-content;

    padding: 0.35rem 0.75rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.1);

    color: var(--career-accent);

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

body.page-workscros .career-title {
    margin: 0;

    font-size: clamp(2.6rem, 5vw, 4.4rem);

    line-height: 0.98;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

body.page-workscros .career-lead {
    margin: 0;

    max-width: 58rem;

    color: rgba(255, 255, 255, 0.9);

    font-size: clamp(1.05rem, 1.7vw, 1.18rem);

    line-height: 1.9;
}

body.page-workscros .career-summary {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 0.9rem;
}

body.page-workscros .career-highlight {
    padding: 1rem 1.1rem;

    border-radius: 18px;

    background: rgba(7, 11, 14, 0.54);

    border: 1px solid var(--career-border);
}

body.page-workscros .career-highlight strong {
    display: block;

    margin-bottom: 0.35rem;

    color: var(--career-accent);

    font-size: 0.92rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

body.page-workscros .career-highlight span,
body.page-workscros .career-section p,
body.page-workscros .career-section li {
    color: var(--career-text-muted);

    line-height: 1.75;
}

body.page-workscros .career-actions {
    display: grid;

    gap: 1rem;

    margin-bottom: 1.5rem;
}

body.page-workscros .button-container,
body.page-workscros .options {
    display: flex;

    flex-wrap: wrap;

    gap: 0.8rem;

    justify-content: center;
}

body.page-workscros .options {
    display: none;
}

body.page-workscros .button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0.85rem 1.4rem;

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.06)
        );

    color: var(--career-text);

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

body.page-workscros .button:hover,
body.page-workscros .button:focus-visible {
    background: #ffffff;

    color: #11181c;

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.22),
        0 12px 25px rgba(0, 0, 0, 0.18);

    outline: none;
}

body.page-workscros .career-sections {
    display: grid;

    gap: 1.15rem;
}

body.page-workscros .career-section {
    display: grid;

    gap: 0.8rem;

    padding: clamp(1.15rem, 2vw, 1.5rem);

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--career-border);
}

body.page-workscros .career-section h2 {
    margin: 0;

    font-size: clamp(1.15rem, 2vw, 1.55rem);

    line-height: 1.2;
}

body.page-workscros .career-section ul {
    display: grid;

    gap: 0.8rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

body.page-workscros .career-section li {
    position: relative;

    padding-left: 1.35rem;
}

body.page-workscros .career-section li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0.72rem;

    width: 0.55rem;
    height: 0.55rem;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.12);
}

body.page-workscros .career-grid {
    display: grid;

    gap: 1rem;
}

body.page-workscros .career-note {
    margin-top: 1rem;

    padding: 1rem 1.1rem;

    border-left: 4px solid #ffffff;

    border-radius: 0 18px 18px 0;

    background: rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.9);
}


@media (min-width: 992px) {

    body.page-workscros .ham {
        display: none;
    }

    body.page-workscros nav,
    body.page-workscros nav.active {
        position: static;

        width: auto;
        height: auto;

        padding: 0.35rem;

        background: rgba(7, 11, 14, 0.38);

        border:
            1px solid rgba(255, 255, 255, 0.08);

        border-radius: 999px;

        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.18);

        transform: none;

        backdrop-filter: blur(14px);
    }

    body.page-workscros nav ul {
        flex-direction: row;

        align-items: center;
    }

    body.page-workscros nav a {
        padding: 0.8rem 1rem;

        color: #ffffff;

        white-space: nowrap;
    }

    body.page-workscros nav a:hover,
    body.page-workscros nav a:focus-visible {
        background:
            rgba(255, 255, 255, 0.16);

        color: #ffffff;
    }

    body.page-workscros .career-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    body.page-workscros {
        --career-header-height: 88px;
    }

    body.page-workscros .career-page {
        width: min(100% - 1rem, 1100px);

        padding-top:
            calc(
                var(--career-header-height)
                + 1.5rem
            );
    }

    body.page-workscros .button-container,
    body.page-workscros .options {
        flex-direction: column;
    }

    body.page-workscros .button {
        width: 100%;
    }

}


/* =========================================================
   POTVRZENÍ PO ODESLÁNÍ FORMULÁŘE
   ========================================================= */

body.page-contacts .form-success-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    background: rgba(0, 0, 0, 0.72);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

body.page-contacts .form-success-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.page-contacts .form-success-modal__card {
    width: min(100%, 560px);

    padding: clamp(1.5rem, 3vw, 2.5rem);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 30px;

    background:
        linear-gradient(
            180deg,
            rgba(14, 21, 25, 0.97),
            rgba(10, 16, 20, 0.98)
        );

    box-shadow: var(--page-shadow);

    text-align: center;

    backdrop-filter: blur(16px);
}

body.page-contacts .form-success-modal__card h2 {
    margin: 0 0 1rem;

    color: #ffffff;

    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

body.page-contacts .form-success-modal__card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: clamp(1rem, 1.7vw, 1.15rem);

    line-height: 1.8;
}


/*
 * Varianta používající atribut hidden.
 */

body.page-contacts .form-success-modal[hidden] {
    display: none !important;
}

/* =========================================================
   MODAL SOUHLASU - FINAL
   ========================================================= */

body.page-shell #privacy-consent {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    z-index: 2147483647 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 1rem !important;

    background: rgba(0, 0, 0, 0.82) !important;
}


/* Pokud je modal skrytý přes atribut hidden */
body.page-shell #privacy-consent[hidden] {
    display: none !important;
}


body.page-shell #privacy-consent .consent-modal__card {
    position: relative;

    width: min(100%, 560px);

    padding: clamp(1.5rem, 3vw, 2rem);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;

    background: linear-gradient(
        180deg,
        rgba(17, 23, 27, 0.98),
        rgba(9, 13, 16, 0.99)
    );

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);

    text-align: center;

    backdrop-filter: blur(16px);
}


body.page-shell #privacy-consent .consent-modal__card h2 {
    margin-top: 0;
    color: #ffffff;
}


body.page-shell #privacy-consent .consent-modal__card p,
body.page-shell #privacy-consent .consent-check span {
    color: #ffffff;
}


body.page-shell #privacy-consent .consent-check {
    display: flex;
    align-items: flex-start;

    gap: 0.75rem;

    margin: 1.5rem 0;

    text-align: left;
}


body.page-shell #privacy-consent .consent-check input[type="checkbox"] {
    flex: 0 0 auto;

    margin-top: 0.2rem;

    transform: scale(1.15);
}


body.page-shell #privacy-consent .consent-check a {
    color: #ffffff;

    text-decoration: underline;
}


body.page-shell #privacy-consent .consent-modal__hint {
    margin-bottom: 1rem;

    font-size: 0.95rem;

    opacity: 0.82;
}


body.page-shell #privacy-consent .consent-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0.85rem 1.5rem;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.06)
    );

    color: #ffffff;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;
}


body.page-shell #privacy-consent .consent-modal__button:hover:not(:disabled) {
    background: #ffffff;

    color: #11181c;
}


body.page-shell #privacy-consent .consent-modal__button:disabled {
    opacity: 0.45;

    cursor: not-allowed;
}

body.page-home .home-actions {
    position: relative;
    z-index: 2;

    display: grid;
    gap: 0.9rem;

    width: min(100%, 560px);
    margin: 0 auto;
}