﻿@font-face {
    font-family: "OrganettoBoldSemiExt";
    src: url('../webFonts/OrganettoBoldSemiExt/font.woff2') format('woff2'), url('../webFonts/OrganettoBoldSemiExt/font.woff') format('woff');
}

.main-container {
    background-image: url('/images/bg_zuba.png'); /* Nastavenie obrázka ako pozadia */
    background-position: left top; /* Zarovnanie vľavo hore */
    background-repeat: no-repeat; /* Zamedzenie opakovania */
    background-size: auto; /* Zachovanie pôvodnej veľkosti */
    width: 100%; /* Voliteľne, nastav šírku */
}
/* Základný štýl pre odkazy */
.zuba-link {
    color: #12214a; /* Nastavte požadovanú farbu */
    text-decoration: none; /* Odstráni podčiarknutie, ak chcete */
}
    /* Štýl pre navštívené odkazy */
    .zuba-link:visited {
        color: #12214a;
    }
    /* Štýl pre odkazy pri prejdení myšou */
    .zuba-link:hover {
        color: #0056b3;
        text-decoration: none;
    }
    /* Štýl pre aktívne odkazy */
    .zuba-link:active {
        color: #003f7f;
    }

.bg-zuba {
    --bs-bg-opacity: 1;
    background-color: #090B22 !important;
    --bs-dropdown-bg: #090B22 !important;
}

.bg-zuba-admin {
    --bs-bg-opacity: 1;
    background-color: #090B22 !important;
    --bs-navbar-padding-y: 0rem;
}

.bg-zuba-body-tertiary {
    color: white;
    --bs-bg-opacity: 1;
    background-color: #090B22 !important;
    font-weight: 100;
}

.container {
    padding: 0 15px;
}

.admin-container {
    padding: 0 15px;
    padding-top: 50px;
    width: 100%;
}

.transparent-panel {
    background-color: rgba(255, 255, 255, 0.9); /* Biela farba s 60% priesvitnosťou */
    border-radius: 10px; /* Zaoblené rohy */
    padding: 50px; /* Vnútorné odsadenie */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Jemný tieň pre lepší vizuálny efekt */
    margin-bottom: 2rem;
}

.transparent-panel-material {
    background-color: rgba(255, 255, 255, 0.9); /* Biela farba s 60% priesvitnosťou */
    border-radius: 10px; /* Zaoblené rohy */
    padding: 5px; /* Vnútorné odsadenie */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Jemný tieň pre lepší vizuálny efekt */
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.zuba-page-caption {
    color: #f287b7;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}



.bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }


.buttonHeadline {
    float: none !important;
    background: #333333 !important;
    color: #ffffff !important;
    /*margin-left: 15% !important;*/
}

.buttonHeadlineMobi {
    float: none !important;
    background: #333333 !important;
}

    .buttonHeadline:hover, .buttonHeadlineMobi:hover {
        color: #ffffff !important;
        background-color: #004f81 !important;
        border-color: none !important;
    }


#uploader {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.file-preview {
    text-align: center;
}

    .file-preview img {
        display: block;
        margin: 0 auto;
    }


.gallery_info {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    background-color: white;
    opacity: 0.9;
    vertical-align: middle;
    padding-left: 3px;
    padding-right: 3px;
}
/*====================================================================*/
/*pre Footer*/
/*====================================================================*/

.social-icon {
    font-size: 3rem; /* zväčšenie ikon */
    color: gray; /* čiernobiely dizajn */
    margin: 0 10px; /* rozostupy medzi ikonami */
    text-decoration: none; /* odstránenie podčiarknutia */
}

    .social-icon:hover {
        color: black; /* sivá farba pri hover */
    }


.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid gray;
    font-size: 16px;
    color: gray;
    margin-right: 10px;
    transition: 0.3s;
}

    .social-links a:hover {
        color: black;
        border-color: black;
    }
/*====================================================================*/
/*pre Datatables*/
/*====================================================================*/

.small-width {
    width: 80px; /* Alebo nastavte ľubovoľnú požadovanú šírku */
}
/* ---- grid ---- */

.grid {
}
/* clear fix */
.isotope:after {
    content: '';
    display: block;
    clear: both;
}

.grid {
    vertical-align: central;
    /*    display: flex;
    flex-wrap: wrap;*/
}

.grid-item {
    width: 500px;
    height: 100px;
    background: lightblue;
    margin: 5px;
}
/* Tento štýl sa použije IBA pre obrázky v Lightboxe */
#lightboxCarousel .carousel-item img {
    max-width: 100%; /* Obrázok nebude väčší ako kontajner */
    max-height: 80vh; /* Obmedzí výšku na 80% viewport height */
    object-fit: contain; /* Zachová pomer strán obrázka */
    display: block;
    margin: auto; /* Vycentruje obrázok */
}
/*====================================================================*/
/*floating-labels*/
/*====================================================================*/

.form-login {
    min-height: 500px;
}

.form-signin {
    width: 100%;
    max-width: 420px;
    padding: 15px;
    margin: auto;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

    .form-label-group input,
    .form-label-group label {
        height: 3.125rem;
        padding: .75rem;
    }

    .form-label-group label {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        margin-bottom: 0; /* Override default `<label>` margin */
        line-height: 1.5;
        color: #495057;
        pointer-events: none;
        cursor: text; /* Match the input under the label */
        border: 1px solid transparent;
        border-radius: .25rem;
        transition: all .1s ease-in-out;
    }

    .form-label-group input::-webkit-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-moz-placeholder {
        color: transparent;
    }

    .form-label-group input:-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::-ms-input-placeholder {
        color: transparent;
    }

    .form-label-group input::placeholder {
        color: transparent;
    }

    .form-label-group input:not(:-moz-placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-ms-input-placeholder) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:placeholder-shown) {
        padding-top: 1.25rem;
        padding-bottom: .25rem;
    }

    .form-label-group input:not(:-moz-placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:-ms-input-placeholder) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }

    .form-label-group input:not(:placeholder-shown) ~ label {
        padding-top: .25rem;
        padding-bottom: .25rem;
        font-size: 12px;
        color: #777;
    }
/*====================================================================*/
/*Spinner pre nacitavanie/
/*====================================================================*/

#spinnerContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}
/*====================================================================*/
/*Accordion style/
/*====================================================================*/

h2 {
    font-size: 20px;
}


.custom-accordion .accordion-item {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    position: relative;
    border-radius: 0px;
    overflow: hidden;
}

    .custom-accordion .accordion-item .btn-link {
        display: block;
        width: 100%;
        padding: 15px;
        text-decoration: none;
        text-align: left;
        color: #12214a;
        border: none;
        padding-left: 40px;
        border-radius: 0;
        position: relative;
        background: #fff;
    }

        .custom-accordion .accordion-item .btn-link:before {
            font-family: 'bootstrap-icons';
            content: "\F64D";
            position: absolute;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            left: 15px;
        }

        .custom-accordion .accordion-item .btn-link[aria-expanded="true"]:before {
            font-family: 'bootstrap-icons';
            content: "\F63B";
            position: absolute;
            color: #12214a;
            top: 50%;
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            left: 15px;
        }

    .custom-accordion .accordion-item.active {
        z-index: 2;
    }

        .custom-accordion .accordion-item.active .btn-link {
            color: #12214a;
            /*            -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1);*/
        }

    .custom-accordion .accordion-item .accordion-body {
        padding: 20px 20px 20px 20px;
        color: #12214a;
        background-color: #f287b7;
        border-radius: 10px; /* Zaoblené rohy */
    }



.list-divider {
    margin: 1rem 0; /* Space out the Bootstrap <hr> more */
}

.list-group-item-zuba {
    position: relative;
    display: block;
    /* padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x); */
    color: var(--bs-list-group-color);
    text-decoration: none;
    /* background-color: var(--bs-list-group-bg); */
    border: none;
}

    .list-group-item-zuba .download {
        color: #090B22;
    }

/*====================================================================*/
/*material index/
/*====================================================================*/

.material-cover {
    width: 100%;
    height: 280px; /* Obrázok vyplní kontajner */
    object-fit: cover; /* Obrázok si zachová pomer strán */
    object-position: center; /* Zarovnanie na stred */
}
/*====================================================================*/
/*material detail/
/*====================================================================*/

.material-divider {
    margin: 1rem 10px 20px 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.custom-block {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
}
/* Thin out the marketing headings */
.material-heading {
    font-family: "OrganettoBoldSemiExt", sans-serif;
    font-weight: 300;
    font-size: xx-large;
    margin-top: 30px;
    line-height: 1;
    transform: scaleY(0.7); /* stlačenie */
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    color: #12214a;
}

.material-heading-small {
    font-family: "OrganettoBoldSemiExt", sans-serif;
    font-weight: 300;
    font-size: x-large;
    margin-top: 20px;
    line-height: 1;
    transform: scaleY(0.7); /* stlačenie */
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    color: #12214a;
}

.material-description {
    font-size: large;
    margin-top: 30px;
    letter-spacing: .07rem;
}


.material img {
    height: 400px; /* Nastavte požadovanú výšku */
    object-fit: cover; /* Zachová pomer strán obrázka */
}

#toolTextArea {
    min-height: 400px;
}

#map {
    height: 400px; /* Nastav výšku mapy */
    width: 100%; /* Nastav šírku mapy */
    border-radius: 10px; /* Zaoblené rohy */
}

.icon-pdf {
    color: #6D8EF7; /* ruzova */
}

.icon-xml {
    color: #6D8EF7; /* ruzova */
}

.icon-jpg {
    color: #6D8EF7; /* červená */
}

.icon-mp4 {
    color: #6D8EF7; /* červená */
}

.icon-word {
    color: #6D8EF7; /* modrá pre Word */
}

.icon-excel {
    color: #6D8EF7; /* zelená pre Excel */
}
/*
    =====================================================================   
    NEW STYLES
    =====================================================================   
*/

:root {
    --zuba-bg: #090B22;
    --zuba-bg-hero: #050a23;
    --zuba-bg-menu-left: #151A4C;
    --zuba-accent: #7b8dff;
    --zuba-text: #ffffff;
    --zuba-bg-dark: 090B22; /* tmavé pozadie (navy) */
    --zuba-bg-dark-alt: #071024; /* o tón svetlejšia */
    --zuba-bg-light: #f3f4fa; /* svetlé bloky */
    --zuba-primary: #2f6bff; /* sýta modrá (gombík, akcent) */
    --zuba-primary-soft: #3555ff33; /* jemná modrá s alpha */
    --zuba-text-main: #ffffff;
    --zuba-text-muted: #a8afc5;
    --zuba-text-dark: #0b1020;
    --zuba-text-dark-rgb: 11, 16, 32;
    --zuba-border-soft: #27314b;
    --bs-modal-color: black !important;
    --bs-modal-border-color: white !important;
    --bs-secondary-color: #80A0FF !important;
    --zuba-modal-bg: #070910; /* rovnaké ako modal-backdrop */
}
/* celá stránka */
    .zuba-body {
        background-color: var(--zuba-bg);
        color: var(--zuba-text);
    }
    /* výška headera – použijeme v padding-top */
    :root {
        --zuba-header-height: 30px;
    }
    /* STICKY HEADER */
    .zuba-header {
        background-color: var(--zuba-bg-hero);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        min-height: var(--zuba-header-height);
        display: flex;
        align-items: center;
    }

    .zuba-header-inner {
        max-width: none; /* nech ide cez celú šírku */
        width: 92%; /* 100% - 2×8% okraje */
        margin: 0 auto; /* vycentrovať medzi okraje */
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
    }

    .zuba-header-logo {
        margin-right: 0;
    }

        .zuba-header-logo img {
            max-height: 32px;
        }

    .zuba-header-menu-btn {
        font-size: 0.9rem;
        text-decoration: none;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        letter-spacing: 0.06em;
        font-size: 0.95rem;
    }
    /* aby obsah nezačínal pod headerom */
    .zuba-main {
        padding-top: var(--zuba-header-height);
    }
    /* --- FULLSCREEN MENU (z predchádzajúcej odpovede, mierne zladené) --- */

    .zuba-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 1050; /* nad headerom (Bootstrap navbar je 1030) */
        background: var(--zuba-bg);
        color: var(--zuba-text);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .zuba-menu-left {
        background-color: var(--zuba-bg-menu-left);
        padding: 2rem 2.25rem; /* doladíš */
    }

    .zuba-menu-center {
        border-right: 1px solid #80A0FF;
        padding-right: 1rem;
        justify-content: flex-end;
        padding: 2rem 2.25rem; /* doladíš */
    }

    .zuba-menu-right {
        padding: 2rem 0.25rem; /* doladíš */
        padding-right: 4.5rem;
    }

        .zuba-menu-left > *,
        .zuba-menu-center > *,
        .zuba-menu-right > * {
            position: relative;
            z-index: 1;
        }
    /* 2 jemné čiary */
    .zuba-menu-center::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* presne 2 čiary: 1/3 a 2/3 šírky TOHTO elementu */
        background-image: linear-gradient(to right, transparent calc(33.333% - .5px), rgba(123,141,255,0.15) calc(33.333% - .5px), rgba(123,141,255,0.15) calc(33.333% + .5px), transparent calc(33.333% + .5px) ), linear-gradient(to right, transparent calc(55% - .5px), rgba(123,141,255,0.15) calc(55% - .5px), rgba(123,141,255,0.15) calc(55% + .5px), transparent calc(55% + .5px) );
    }
    /* LEFT: 1 čiara na PRAVEJ hrane */
    .zuba-menu-left::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient( to right, transparent 5%, rgba(123,141,255,0.15) 5%, rgba(123,141,255,0.15) calc(5% + 1px), transparent calc(5% + 1px) );
    }
    /* RIGHT: 1 čiara na ĽAVEJ hrane */
    .zuba-menu-right::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: linear-gradient( to right, transparent 95%, rgba(123,141,255,0.15) 95%, rgba(123,141,255,0.15) calc(95% + 1px), transparent calc(95% + 1px) );
    }


    .zuba-menu-nav {
        max-width: 560px;
    }


    .zuba-menu-link {
        display: block;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-weight: 700;
        font-size: clamp(2.2rem, 4.2vw, 3.6rem); /* menšie než teraz */
        line-height: 0.60;
        transform: scaleY(0.7); /* stlačenie */
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        text-transform: uppercase;
        margin-bottom: 1.15rem; /* vo Figme sú riadky bližšie */
        text-decoration: none;
        color: var(--zuba-text);
    }

        .zuba-menu-link:hover,
        .zuba-menu-link.active {
            color: var(--zuba-accent);
        }

    .zuba-menu-bottom-link {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        margin-top: 0.25rem;
        font-size: 0.85rem;
    }

        .zuba-menu-bottom-link:hover {
            color: rgba(255,255,255,1);
        }

    .zuba-menu-logo img {
        max-width: 100%;
    }
    /* ✅ JEDEN FOOTER BLOK PRE MENU (SK/EN + credit) */
    .zuba-menu-lang-footer {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(128,160,255,0.65);
    }
    /* pill container */
    .zuba-lang-pill {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .35rem;
        border-radius: 999px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.10);
    }
    /* jednotlivé tlačidlá */
    .zuba-lang-btn {
        width: 44px;
        height: 44px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-size: .85rem;
        letter-spacing: .06em;
        color: rgba(255,255,255,0.75);
    }

        .zuba-lang-btn.is-active {
            background: #ffffff;
            color: #0B1230;
        }

        .zuba-lang-btn:not(.is-active):hover {
            color: rgba(255,255,255,0.95);
        }

    .zuba-menu-madeby {
        font-size: .75rem;
        color: rgba(128,160,255,0.9);
        white-space: nowrap;
    }


    .zuba-menu-close {
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        letter-spacing: 0.06em;
        font-size: 0.95rem;
        padding: 0;
    }

        .zuba-menu-close:hover {
            color: #fff;
        }


    @media (min-width: 768px) {
        .zuba-menu-lang-footer {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: .75rem;
            border-top: none; /* ❌ zruší modrú čiaru na desktope */
        }
        /* desktop môže byť jemnejší (voliteľné) */
        .zuba-lang-btn {
            width: 38px;
            height: 38px;
            font-size: .78rem;
        }

        .zuba-lang-pill {
            padding: .28rem;
        }
    }
    /* mobil */
    @media (max-width: 767.98px) {

        .zuba-menu-left::before,
        .zuba-menu-center::before,
        .zuba-menu-right::before {
            content: none; /* úplne vypne pseudo-element */
        }

        .zuba-header {
            --zuba-header-height: 64px; /* môžeš doladiť */
        }

        .zuba-main {
            padding-top: var(--zuba-header-height);
        }

        .zuba-menu-left {
            background-image: none;
            background-color: var(--zuba-bg-hero);
            padding: 2rem 2.25rem; /* doladíš */
        }

        .zuba-menu-center {
            background-image: none;
            border: none;
            background-color: var(--zuba-bg-hero);
            padding: 2rem 2.25rem; /* doladíš */
            justify-content: center;
        }

        .zuba-menu-right {
            background-image: none;
            background-color: var(--zuba-bg-hero);
            padding: 2rem 2.25rem; /* doladíš */
        }

        .zuba-menu-nav {
            margin-top: 2rem;
        }

        .zuba-menu-link {
            font-family: "OrganettoBoldSemiExt", sans-serif;
            font-weight: 700;
        }


        .zuba-header-inner {
            width: 100%;
            padding: 0 1.5rem;
        }

        .zuba-menu-madeby-left {
            display: none;
        }
        /* zobraz v right */
        /* aby to bolo naozaj "uplne dole" */
        .zuba-menu-right {
            min-height: 100%;
        }
        /* pill container */
        .zuba-lang-pill {
            display: inline-flex;
            align-items: center;
            gap: .35rem;
            padding: .35rem;
            border-radius: 999px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.10);
        }

        .zuba-menu-lang-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }
        /* jednotlivé tlačidlá */
        .zuba-lang-btn {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-family: "OrganettoBoldSemiExt", sans-serif;
            font-size: .85rem;
            letter-spacing: .06em;
            color: rgba(255,255,255,0.75);
        }

            .zuba-lang-btn.is-active {
                background: #ffffff;
                color: #0B1230; /* tmavé pozadie menu */
            }

            .zuba-lang-btn:not(.is-active):hover {
                color: rgba(255,255,255,0.95);
            }
    }
    /* ==========================
   HERO
   ========================== */
    /* základ hero sekcie */
    .zuba-hero {
        position: relative;
        background-color: #050a23;
        color: #ffffff;
        padding-top: 3rem;
        padding-bottom: 4rem;
        overflow: hidden;
    }
    /* jemné čiary v hero sekcii – zarovnané podľa návrhu */
    /* GRID LINES (Figma replica) */
    .zuba-grid-lines {
        position: absolute;
        top: var(--zuba-header-height); /* začne až pod horným menu */
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 0;
    }

        .zuba-grid-lines span {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 0;
            border-left: 0.75px solid #FFFFFF1A; /* rgba(255,255,255,0.1) */
        }
            /* okraj - blok - blok - blok - blok - okraj  */
            .zuba-grid-lines span:nth-child(1) {
                left: 4%;
            }
            /* začiatok prvého bloku */
            .zuba-grid-lines span:nth-child(2) {
                left: 25%;
            }
            /* 8% + 21% */
            .zuba-grid-lines span:nth-child(3) {
                left: 50%;
            }
            /* stred */
            .zuba-grid-lines span:nth-child(4) {
                left: 75%;
            }
            /* 8% + 3×21% */
            .zuba-grid-lines span:nth-child(5) {
                left: 96%;
            }
    /* koniec štvrtého bloku */
    /* HERO INNER */
    .zuba-hero-inner {
        position: relative;
        z-index: 2;
        max-width: 1400px;
        margin: 0 auto;
    }
    /* TEXT BLOCK (overlay root) */
    .home-hero-container {
        position: relative;
        width: 92%;
        margin: 0 auto;
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
        /* tuning variables */
        --sub-top: clamp(2.2rem, 10.1vw, 9.6rem); /* vertikálna pozícia subtitle */
        --sub-right: clamp(1.5rem, 4vw, 4.5rem); /* odsadenie od pravého okraja */
        --sub-width: 330px; /* šírka subtitle boxu */
    }
    /* TITLE */
    .hero-title {
        margin: 0;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: clamp(2.4rem, 3.6vw, 3.6rem);
        line-height: 1.2;
        letter-spacing: -0.03em;
        transform: scaleY(0.7);
        color: #ffffff;
        /* aby subtitle neprekrýval text tam, kde ho nechceš:
       dáme headline “rezervu” vpravo na veľkých obrazovkách */
        padding-right: clamp(13rem, 8vw, 10rem);
    }
    /* SUBTITLE (overlay) */
    .hero-subtitle {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1;
        color: #8fa4ff;
    }

    .hero-subtitle--overlay {
        position: absolute;
        top: var(--sub-top);
        right: var(--sub-right);
        width: var(--sub-width);
        max-width: 40vw; /* nech sa neprerazí na menších desktopoch */
    }
    /* VIDEO */
    .home-hero-video-wrapper {
        width: 100%;
        height: 75vh;
        max-height: 720px;
        overflow: hidden;
        position: relative;
    }

    .home-hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        filter: brightness(0.78);
    }
    /* MOLECULE */
    .zuba-hero-media {
        position: relative;
        margin-top: 2rem;
    }

    .zuba-hero-bubbles {
        position: absolute;
        right: 4%;
        bottom: -10%;
        width: 240px;
        opacity: 0.82;
        pointer-events: none;
        animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-18px);
        }

        100% {
            transform: translateY(0);
        }
    }


    @media (max-width: 1199.98px) {
        .hero-title {
            padding-right: 0;
        }

        .hero-subtitle--overlay {
            position: static;
            width: auto;
            max-width: 100%;
            margin-top: 1.2rem;
        }
    }
    /* MOBILE – overlay vypneme, nech ide pod title */
    @media (max-width: 767.98px) {
        .home-hero-container {
            width: 100%;
            padding: 3.5rem 1.5rem 2.5rem;
        }

        .hero-title {
            padding-right: 0; /* už netreba rezervu */
            font-size: 2rem;
            letter-spacing: 0.08em;
        }

        .hero-subtitle--overlay {
            position: static;
            width: auto;
            max-width: 100%;
            margin-top: 1.2rem;
        }

        .zuba-hero-bubbles {
            width: 150px;
            right: 0;
            bottom: 2%;
            opacity: 0.6;
        }
    }
    /* Chrome / Edge suppression of blue border around links wrapping block elements */
    a:focus,
    a:focus-visible {
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-focus-ring-color: transparent !important;
    }

    a:active {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }
    /* ==========================
   PÁS – 14 rokov / ISO / 5-osá CNC
   ========================== */


    .home-facts {
        background-color: var(--zuba-bg-light);
        color: var(--zuba-text-dark);
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .home-fact-label {
        font-size: 0.85rem;
        letter-spacing: 0.18em;
        color: #7b8095;
        margin-bottom: 0.75rem;
    }

    .home-fact-number {
        font-size: clamp(2.4rem, 3.6remvw, 3.6rem);
        font-weight: 700;
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
    }

    .home-fact-text {
        font-size: 0.95rem;
        color: #7b8095;
        max-width: 16rem;
    }
    /* ==========================
   HORIZONTAL SLIDER – FACTS
   ========================== */
    /* hlavná sekcia */
    .home-facts {
        background-color: var(--zuba-bg-light);
        color: var(--zuba-text-dark);
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    /* NEscrollujúci parent pre overlay (šípky, zóny, gradienty) */
    .facts-slider {
        position: relative;
    }
    /* scroll kontajner */
    .facts-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 1rem;
        cursor: grab;
        -webkit-overflow-scrolling: touch;
        /* DÔLEŽITÉ: nech je pod overlay prvkami */
        position: relative;
        z-index: 1;
    }

    .facts-scroll-wrapper {
        scroll-snap-type: x mandatory;
    }

    .fact-block {
        scroll-snap-align: start;
    }
    /* skryť scrollbar (Chrome, Safari, Edge) */
    .facts-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }
    /* Firefox */
    .facts-scroll-wrapper {
        scrollbar-width: none;
    }
    /* vnútorný pás */
    .facts-inner {
        position: relative;
        z-index: 1;
        padding-left: 1.5rem;
        display: flex; /* pre istotu */
    }
    /* jednotl. blok */
    .fact-block {
        flex-shrink: 0;
        padding: 2rem;
        transition: transform .2s ease, box-shadow .2s ease;
    }

        .fact-block:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 34px rgba(0,0,0,0.09);
            --fade: 1 !important;
        }
    /* typografia */
    .fact-label {
        font-family: 'Inter';
        font-weight: 500;
        font-style: normal;
        font-size: 22px;
        letter-spacing: -0.02em;
    }

    .fact-number {
        font-family: "OrganettoBoldSemiExt";
        font-size: 5.5rem;
        line-height: 0.9;
        transform: scaleY(0.7);
        letter-spacing: 0.08em;
        -webkit-text-stroke: 0;
        text-stroke: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .fact-text {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 22px;
        line-height: 130%;
        letter-spacing: -0.02em;
    }

    .fact-block .fact-label,
    .fact-block .fact-number,
    .fact-block .fact-text {
        color: rgba(var(--zuba-text-dark-rgb), var(--fade, 1));
        transition: color .25s ease;
    }
    /* ==========================
   OVERLAYS: šípky, zóny, fade
   ========================== */
    /* (Voliteľné) vizuálny hint: fade na krajoch – MUSÍ mať pointer-events:none */
    .facts-slider::before,
    .facts-slider::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 1rem; /* aby fade neprekrýval spodný padding */
        width: 70px;
        z-index: 2;
        pointer-events: none; /* dôležité – nesmie blokovať klik */
        opacity: 0;
        transition: opacity .15s ease;
    }

    .facts-slider::before {
        left: 0;
        background: linear-gradient(to right, var(--zuba-bg-light, #fff), rgba(255,255,255,0) );
    }

    .facts-slider::after {
        right: 0;
        background: linear-gradient(to left, var(--zuba-bg-light, #fff), rgba(255,255,255,0) );
    }

    .facts-slider:hover::before,
    .facts-slider:hover::after {
        opacity: 1;
    }
    /* ŠÍPKY – musia byť NAD všetkým */
    /* ==========================
   TECH SLIDER – ŠÍPKY (minimal)
   ========================== */

    .facts-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        /* bez kruhu */
        width: auto;
        height: auto;
        padding: 8px;
        background: transparent;
        border: none;
        font-size: 40px; /* väčšia šípka */
        line-height: 1;
        color: #5a5a5a;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, color .2s ease;
    }

    .facts-arrow-left {
        left: 8px;
    }

    .facts-arrow-right {
        right: 8px;
    }

    .facts-slider:hover .facts-arrow {
        opacity: 1;
        pointer-events: auto;
    }

    .facts-arrow:hover {
        color: #050a23;
        transform: translateY(-50%) scale(1.15);
    }
    /* click-zóny – iba ak ich chceš mať (pod šípkami!) */
    .facts-click-zone {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 12%;
        z-index: 5; /* pod šípkami (10) */
        cursor: pointer;
        background: transparent;
        /* ak nechceš aby blokovali karty na krajoch, vypni pointer events defaultne */
        pointer-events: none;
        opacity: 0;
        transition: opacity .15s ease;
    }

    .facts-slider:hover .facts-click-zone {
        /* keď chceš click-zóny aktívne len na hover */
        pointer-events: auto;
        opacity: 1;
    }

    .facts-click-zone-left {
        left: 0;
    }

    .facts-click-zone-right {
        right: 0;
    }

    .facts-click-zone.is-disabled {
        pointer-events: none !important;
    }
    /* oválne CTA pod faktami */
    .home-cta-pill {
        padding: 0.75rem 1.75rem;
        border-radius: 999px;
        border: 1px solid rgba(47, 107, 255, 0.3);
        background-color: #80A0FF;
        font-size: 0.95rem;
        color: var(--zuba-text-dark);
        text-decoration: none;
        position: relative;
        overflow: hidden;
        height: 73px;
    }

        .home-cta-pill:hover {
            background-color: #f5f7ff;
        }

    .home-cta-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 999px;
        background: radial-gradient(circle, #ffffff, var(--zuba-primary));
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
    }
    /* ==========================
   Spoločné pre sekcie
   ========================== */
    .home-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .home-section-dark {
        background-color: var(--zuba-bg-dark);
        color: var(--zuba-text-main);
    }

    .home-section-light {
        background-color: var(--zuba-bg-light);
        color: var(--zuba-text-dark);
    }

    .home-section-header {
        border-bottom: 0px solid var(--zuba-border-soft);
        padding-bottom: 1rem;
    }

    .home-section-title {
        color: #6D8EF7;
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-weight: 700;
        font-size: clamp(2.2rem, 4.2vw, 3.6rem); /* menšie než teraz */
        transform: scaleY(0.7); /* stlačenie */
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    }
    /* malé „pill“ linky (Všetky materiály / Všetky produkty) */
    .home-link-pill {
        font-size: 0.85rem;
        text-decoration: none;
        color: var(--zuba-text-main);
        padding: 0.4rem 0.9rem;
        border-radius: 999px;
        border: 1px solid var(--zuba-border-soft);
        height: 73px;
    }

    .home-section-light .home-link-pill {
        color: var(--zuba-text-dark);
        border-color: #d3d7e8;
    }

    .home-link-pill:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    /* ==========================
   NAŠE TECHNOLÓGIE – 4 karty
   ========================== */
    /* TECH slider overlay parent */
    .tech-slider {
        position: relative;
    }
    /* scroll */
    .tech-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        cursor: pointer;
        position: relative;
        z-index: 1;
        scrollbar-width: none;
    }

        .tech-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }
    /* padding ako container (Bootstrap-like) */
    .tech-scroll-inner {
        padding-left: clamp(12px, 3vw, 48px);
        padding-right: 0; /* vpravo až po okraj */
        gap: 0; /* ak chceš medzeru, nastav gap a odstráň marginy v HTML */
    }
        /* karta – fixná šírka/výška */
        .tech-scroll-inner .home-tech-card {
            flex: 0 0 360px;
            height: 260px;
        }
    /* menšie displeje */
    @media (max-width: 992px) {
        .tech-scroll-inner .home-tech-card {
            flex-basis: 320px;
            height: 230px;
        }
    }
    /* ==========================
   ŠÍPKY
   ========================== */
    /* ==========================
   TECH SLIDER – ŠÍPKY (minimal)
   ========================== */

    .tech-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        /* bez kruhu */
        width: auto;
        height: auto;
        padding: 8px;
        background: transparent;
        border: none;
        font-size: 40px; /* väčšia šípka */
        line-height: 1;
        color: rgba(255,255,255,0.75);
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, color .2s ease;
    }

    .tech-arrow-left {
        left: 8px;
    }

    .tech-arrow-right {
        right: 8px;
    }

    .tech-slider:hover .tech-arrow {
        opacity: 1;
        pointer-events: auto;
    }

    .tech-arrow:hover {
        color: #fff;
        transform: translateY(-50%) scale(1.15);
    }
    /* ==========================
   KARTA
   ========================== */

    .home-tech-card {
        position: relative;
        display: block; /* lepšie pre <a> */
        min-height: 260px;
        text-decoration: none;
        color: #ffffff;
        overflow: hidden;
        outline: none !important;
        box-shadow: none !important;
    }
    /* obrázok */
    .home-tech-image {
        position: absolute;
        inset: 0;
    }

        .home-tech-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* jemnejšie ako pôvodné brightness(0.65), stmavenie riešime overlayom */
            filter: brightness(0.88) contrast(1.05) saturate(0.90);
            transform: scale(1.02);
        }
    /* celoplošné stmavenie (Figma look) */
    .home-tech-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(5, 8, 25, 0.45);
        transition: opacity .25s ease;
    }
    /* spodný gradient pre text (ponechávame tvoju myšlienku, len jemne vylepšené) */
    .home-tech-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient( to top, rgba(5, 8, 25, 0.88) 0%, rgba(5, 8, 25, 0.22) 55%, rgba(5, 8, 25, 0.0) 100% );
        transition: opacity .25s ease;
    }
    /* wrapper pre texty */
    .home-tech-content {
        position: absolute;
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.15rem;
        z-index: 3;
    }
    /* TITLE (Organetto, stlačený ako figma) */
    .home-tech-caption {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 1.65rem;
        line-height: 1.05;
        letter-spacing: -0.02em;
        transform: scaleY(0.75);
        transform-origin: left bottom;
        text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    }
    /* DESCRIPTION (Inter, jemné, max 3 riadky) */
    .home-tech-text {
        margin-top: 0.75rem;
        font-family: "Inter", sans-serif;
        font-size: 0.95rem;
        line-height: 1.35;
        color: rgba(255,255,255,0.78);
        max-width: 24rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* hover efekt (jemne odhalí fotku + zvýrazní text) */
    .home-tech-card:hover::before {
        opacity: 0.25;
    }

    .home-tech-card:hover::after {
        opacity: 0.85;
    }

    .home-tech-card:hover .home-tech-text {
        color: rgba(255,255,255,0.88);
    }
    /* ==========================
   POUŽÍVANÉ MATERIÁLY
   ========================== */
    /* wrapper pre absolutne poziciovanie preview na desktop */
    .home-materials-wrap {
        position: relative;
    }
    /* Variant len pre HOME / Materials pill */
    .home-link-pill--materials {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: 999px;
        border: 1px solid rgba(120, 160, 255, 0.55); /* figma-ish modrý obrys */
        background: rgba(10, 18, 38, 0.35); /* jemný tmavý fill */
        color: rgba(205, 225, 255, 0.95);
        padding: 12px 22px;
        font-size: 0.95rem;
        letter-spacing: 0.06em;
        text-decoration: none;
        transition: opacity 180ms ease, background 180ms ease, border-color 180ms ease;
    }

        .home-link-pill--materials:hover {
            opacity: 0.9;
            border-color: rgba(150, 185, 255, 0.75);
            background: rgba(10, 18, 38, 0.45);
        }
    /* Mobile: button ako “full width” a viac odsadený dole */
    .home-link-pill--materials-mobile {
        padding: 16px 22px; /* na mobile väčší */
        font-size: 1rem;
    }
    /* LIST */
    .home-material-list {
        border-top: 1px solid var(--zuba-border-soft);
    }

    .home-material-item {
        position: relative;
        padding: 1.05rem 0;
        border-bottom: 1px solid var(--zuba-border-soft);
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-size: clamp(1.2rem, 2.4vw, 2.4rem); /* menšie než teraz */
        transform: scaleY(0.7); /* stlačenie */
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        text-transform: uppercase;
        color: var(--zuba-text-muted);
        cursor: pointer;
        transition: color 180ms ease, opacity 180ms ease;
    }
    /* jemne “ztlmenie” neaktívnych pri hover stave (Figmovejší look) */
    .home-material-list.is-hovering .home-material-item:not(.active) {
        opacity: 0.45;
    }

    .home-material-item.active,
    .home-material-item:hover {
        color: #ffffff;
        opacity: 1;
    }
        /* voliteľne: jemná bodka/indikátor aktívneho riadku (ako “focus”) */
        .home-material-item.active::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            width: 6px;
            height: 6px;
            transform: translateY(-50%);
            border-radius: 50%;
            background: currentColor;
            opacity: 0.9;
        }
    /* PREVIEW */
    .home-material-detail {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
    /* oválny obrázok */
    .home-material-image-wrapper {
        width: 340px;
        max-width: 100%;
        height: 190px;
        border-radius: 50% / 65%;
        background-color: #0f162d;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    }

        .home-material-image-wrapper img {
            width: 110%;
            height: auto;
            object-fit: cover;
        }
    /* “Zobraziť detail” – opravíme look + väčšia hit area */
    /* „Zobraziť detail“ – centrované + bodka */
    .home-material-actions {
        width: 340px;
        max-width: 100%;
        display: flex;
        justify-content: center; /* bolo flex-end */
    }

    .home-material-detail-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.9);
        padding-bottom: 2px;
        transition: opacity 180ms ease, border-color 180ms ease;
    }

        .home-material-detail-link::before {
            content: "•";
            opacity: 0.95;
        }


        .home-material-detail-link:hover {
            opacity: 0.8;
        }
    /* DESKTOP: preview “pláva” ponad konkrétny riadok */
    @media (min-width: 992px) {
        /* z col-lg-6 spravíme absolútne plávajúci panel v pravej polovici */
        #materialPreview.home-material-detail {
            position: absolute;
            left: calc(50% + (var(--bs-gutter-x) * 0.5));
            width: calc(50% - (var(--bs-gutter-x) * 0.5));
            top: 0; /* TS bude meniť */
            pointer-events: auto;
        }

        @media (max-width: 991.98px) {
            .home-material-list.is-hovering .home-material-item:not(.active) {
                opacity: 1;
            }
        }
    }
    /* ==========================
   NAŠE PRODUKTY – karty
   ========================== */
    .home-product-card {
        display: block;
        overflow: hidden;
        text-decoration: none;
        angle: 0 deg;
        opacity: 1;
        gap: 30px;
    }

    .home-section-light .home-product-card {
        color: #ffffff;
    }

    .home-product-image {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

        .home-product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .home-product-caption {
        padding: 1.1rem 1.25rem 1.25rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.16em;
    }

    .home-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
        transition: all 0.18s ease-out;
    }
    /* -------------------------
   SECTION: NAŠE PRODUKTY
   ------------------------- */

    .zuba-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    /* Produkty + CTA majú rovnaké svetlé pozadie */
    .zuba-products,
    .zuba-contact-cta {
        background-color: #f3f4ff;
    }
        /* rovnaký max-width kontajnera ako pri produktoch */
        .zuba-products .container-fluid,
        .zuba-contact-cta .container-fluid {
            max-width: 1200px;
        }
    /* Nadpis sekcie */

    .zuba-section-title {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        font-size: clamp(1.2rem, 3.6vw, 3.6rem); /* menšie než teraz */
        transform: scaleY(0.7); /* stlačenie */
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        text-transform: uppercase;
        color: #111320 !important;
    }
    /* Ghost button "Všetky produkty" */

    .zuba-ghost-button {
        position: relative;
        padding: 0.75rem 1.9rem 0.75rem 2.7rem;
        border-radius: 999px;
        border: 1px solid #111320;
        background: transparent;
        color: #111320;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        height: 73px;
    }

    .zuba-ghost-button-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background-color: #111320;
        display: inline-block;
    }

    .zuba-ghost-button:hover {
        background-color: #111320;
        color: #ffffff;
        text-decoration: none;
    }
    /* GRID produktov */

    .zuba-products-grid {
        border: none;
    }
    /* základ všetkých kariet */
    .zuba-product-card {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: 260px;
        padding: 1.75rem;
        text-decoration: none;
        color: #ffffff;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        aspect-ratio: 1 / 1;
        outline: none !important;
        box-shadow: none !important;
    }
        /* odstránenie modrých focus outline */
        .zuba-product-card:focus,
        .zuba-product-card:focus-visible,
        .zuba-product-card:active {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
            -webkit-focus-ring-color: transparent !important;
        }
        /* default: žiadny border */
        .zuba-product-card::after {
            content: "";
            position: absolute;
            inset: 0;
            border: none;
            pointer-events: none;
        }
    /* zvýraznená karta */
    .zuba-product-card--highlight::after {
        border: 2px solid var(--zuba-accent);
        box-shadow: 0 0 0 2px rgba(123, 141, 255, 0.4);
    }
    /* polopriesvitné tmavé overlay + jemná hranica */
    .zuba-product-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25) );
        transition: background 0.25s ease;
    }
    /* obsah (text) nad overlay */
    .zuba-product-card-content {
        position: relative;
        z-index: 1;
    }

    .zuba-product-title {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        margin: 0 0 0.4rem;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        line-height: 1.2;
        font-weight: 600;
    }

    .zuba-product-text {
        font-family: sans-serif;
        margin: 0;
        font-size: 0.85rem;
        opacity: 0.9;
        color: #FFFFFF80;
    }
    /* hover efekt */
    .zuba-product-card:hover::before {
        background: linear-gradient( to top, rgba(18, 30, 80, 0.9), rgba(18, 30, 80, 0.35) );
    }
    /* zvýraznená karta (stredná) */
    .zuba-product-card--highlight::after {
        border-color: var(--zuba-accent, #7b8dff);
        box-shadow: 0 0 0 1px rgba(123, 141, 255, 0.5);
    }
    /* mobilné správanie */

    @media (max-width: 767.98px) {
        .zuba-section {
            padding-top: 3rem;
            padding-bottom: 3rem;
        }

        .zuba-products-grid {
            border-width: 0; /* na mobile necháme len hranice kariet */
            border: none;
        }

        .zuba-product-card {
            min-height: 220px;
        }
    }
    /* ==========================
   CTA: Máte záujem o naše služby?
   ========================== */

    .zuba-interest-cta-light {
        padding-bottom: 4rem;
        border-top: none; /* remove full-width line */
        background-color: #f3f4ff;
    }

        .zuba-interest-cta-light .container-fluid {
            max-width: 1200px; /* rovnaké ako produkty */

            padding-top: 3rem; /* posunie obsah pod čiaru */
        }

        .zuba-interest-cta-light .zuba-interest-box {
            height: 480px;
        }

    .zuba-interest-cta-dark {
        padding-bottom: 4rem;
        border-top: none; /* remove full-width line */
        background-color: #090B22;
    }

        .zuba-interest-cta-dark .container-fluid {
            max-width: 1200px; /* rovnaké ako produkty */

            padding-top: 3rem; /* posunie obsah pod čiaru */
        }

        .zuba-interest-cta-dark .zuba-interest-box {
            height: 380px;
        }

    .zuba-interest-box {
        background: #80A0FF;
        border-radius: 0; /* ak chceš v dizajne rovné rohy */
        overflow: visible;
        position: relative;
        /*toto je test navyse*/
    }
    /* Textový blok vľavo */

    .zuba-interest-text {
        color: #111320 !important;
        z-index: 2;
        position: relative;
    }

    .zuba-interest-title {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        text-transform: uppercase;
        color: #111320 !important;
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        font-weight: 700;
        line-height: 1.2;
        transform: scaleY(0.7); /* stlačenie */
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .zuba-interest-lead {
        color: #111320;
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    /* Tlačidlo – štýl „pill“ s bodkou */
    .zuba-interest-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.7rem;
        padding: 0.8rem 1.6rem;
        background: #ffffff;
        color: #111320;
        border-radius: 999px;
        text-decoration: none;
        font-size: 0.95rem;
        border: 1px solid rgba(17,19,32,0.25);
        transition: background 0.2s ease;
        height: 73px;
    }

        .zuba-interest-btn:hover {
            background: #f5f5f5;
        }

        .zuba-interest-btn .dot {
            width: 10px;
            height: 10px;
            background: #111320;
            border-radius: 50%;
            display: inline-block;
        }
    /* Obrázok napravo */
    .zuba-interest-image-wrapper {
        position: absolute;
        right: 4%;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        overflow: visible;
    }

    .zuba-interest-bubble {
        width: 100%;
        height: 100%;
        top: -40px;
        left: -0.46px;
        angle: -7.96 deg;
        opacity: 1;
        mix-blend-mode: Screen;
    }
    /* -------------------
   Mobilná verzia
   ------------------- */

    @media (max-width: 767.98px) {
        .zuba-interest-box {
            border-radius: 0;
        }

        .zuba-interest-text {
            text-align: left;
            padding: 3rem 1.7rem;
        }

        .zuba-interest-image {
            transform: translateX(0);
            width: 100%;
        }
    }
    /* ==========================
   Responsivita
   ========================== */
    @media (max-width: 991.98px) {
        .home-hero {
            padding-top: 4rem;
        }

        .home-hero-title {
            font-size: 2.2rem;
        }

        .home-floating-btn {
            right: 6%;
            top: 62%;
            width: 56px;
            height: 56px;
        }
    }

    @media (max-width: 767.98px) {
        .home-hero-text {
            text-align: left;
            padding-top: 1rem;
            padding-bottom: 2rem;
        }

        .home-hero-title {
            font-size: 1.9rem;
        }

        .home-hero-media {
            margin-left: -1.5rem;
            margin-right: -1.5rem;
        }

        .home-floating-btn {
            display: none; /* ak chceš, skryť guličku na mobile */
        }

        .home-section-title {
            letter-spacing: 0.18em;
        }

        .home-material-image-wrapper {
            margin-top: 1.5rem;
            margin-left: auto;
        }
    }
    /* ==========================
   FOOTER
   ========================== */

    .zuba-footer {
        background-color: #050608;
        color: #ffffff;
        position: relative;
        overflow: hidden;
        padding-top: 3rem;
        padding-bottom: 6rem; /* ⬅ bolo 3rem, zväčšujeme */
    }

    .zuba-footer-inner {
        position: relative;
        max-width: 1200px; /* rovnaká šírka ako ostatné sekcie */
    }
    /* horný obsah – 3 stĺpce */
    .zuba-footer-top {
        position: relative;
        z-index: 2;
        margin-bottom: 10rem;
    }

    .zuba-footer-heading {
        font-family: "OrganettoBoldSemiExt";
        transform: scaleY(0.8);
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        margin-bottom: 0.75rem;
        color: #9fb7ff;
    }

    .zuba-footer-list {
        font-family: 'Inter';
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 0.8rem;
        line-height: 1.6;
    }

        .zuba-footer-list a {
            color: #ffffff;
            text-decoration: none;
        }

            .zuba-footer-list a:hover {
                text-decoration: underline;
            }
    /* meta info hore vpravo / dole vpravo */
    .zuba-footer-meta {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
    }

    .zuba-footer-madeby a {
        color: #7b8dff;
        text-decoration: none;
    }

        .zuba-footer-madeby a:hover {
            text-decoration: underline;
        }
    /* veľký nápis ZUBA v pozadí */
    .zuba-footer-word {
        position: absolute;
        left: 50%;
        bottom: 0;
        z-index: 1;
        pointer-events: none;
        font-family: "OrganettoBoldSemiExt";
        font-weight: 200;
        font-style: normal;
        white-space: nowrap;
        letter-spacing: -0.03em;
        line-height: 0.82;
        /* stabilná veľkosť bez extrémnych presahov */
        font-size: clamp(220px, 26vw, 480px);
        /* ⬇⬇⬇ KĽÚČOVÝ RIADOK – ZUBA IDE DOLE */

        transform: translate(-50%, 92%) scaleY(0.8);
        color: #7b8dff;
        opacity: 1;
    }
    /* mobilné úpravy */
    @media (max-width: 767.98px) {
        .zuba-footer {
            padding-top: 2.5rem;
            padding-bottom: 2.5rem;
        }

        .zuba-footer-top {
            margin-bottom: 2rem;
        }

        .zuba-footer-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

        .zuba-footer-word {
            font-size: 160px;
            transform: translate(-50%, 78%) scaleY(0.8);
        }
    }
    /* ==========================
   PRODUKTY
   ========================== */

    .produkty-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .produkty-section-title {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        font-size: clamp(2rem, 3vw, 2.6rem);
        transform: scaleY(0.7); /* stlačenie */
        text-transform: uppercase;
        line-height: 1.15;
        font-weight: 600;
        color: #111320 !important;
    }
    /* jemné čiary v hero sekcii – zarovnané podľa návrhu */
    /* GRID LINES (Figma replica) */
    .produkty-grid-lines {
        position: absolute;
        top: var(--zuba-header-height); /* začne až pod horným menu */
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 0;
    }

        .produkty-grid-lines span {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 0;
            border-left: 0.75px solid #090B2233; /* rgba(255,255,255,0.1) */
        }
            /* okraj - blok - blok - blok - blok - okraj  */
            .produkty-grid-lines span:nth-child(1) {
                left: 4%;
            }
            /* začiatok prvého bloku */
            .produkty-grid-lines span:nth-child(2) {
                left: 25%;
            }
            /* 8% + 21% */
            .produkty-grid-lines span:nth-child(3) {
                left: 50%;
            }
            /* stred */
            .produkty-grid-lines span:nth-child(4) {
                left: 75%;
            }
            /* 8% + 3×21% */
            .produkty-grid-lines span:nth-child(5) {
                left: 96%;
            }

    /* koniec štvrtého bloku */
    /* ==========================
   PRODUCTS POPUP (Figma lightbox)
   ========================== */

    .zuba-product-modal {
        /* jemné rozostrenie pozadia (podpora podľa browseru) */
        backdrop-filter: blur(4px);
    }

        .zuba-product-modal .modal-dialog {
            /* nech to nie je úplne cez celú šírku */
            max-width: 900px;
            padding: 0 16px;
        }

        .zuba-product-modal .modal-content {
            background: transparent;
            border: 0;
            box-shadow: none;
            color: white;
        }

        .zuba-product-modal .modal-body {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        /* modal nech je čistý a transparentný */
        .zuba-product-modal .modal-content {
            background: transparent;
            border: 0;
            box-shadow: none;
        }

        .zuba-product-modal .modal-body {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: transparent; /* dôležité */
            overflow: visible; /* dôležité - neodrezávaj close */
            padding: 0;
        }
    /* pevná výška viewportu pre obrázok */
    #productPopupCarousel {
        width: 100%;
    }

    #productPopupInner .carousel-item {
        width: 100%;
        height: min(72vh, 620px);
        overflow: hidden; /* overflow hidden iba tu! */
        background: transparent; /* nech nerobí čierne pásy */
    }
    /* "karta" je len wrapper – transparent */
    .zuba-product-modal-card {
        position: relative; /* dôležité: anchor pre absolute button */
        width: 100%;
        background: transparent;
        padding: 0;
        overflow: visible;
    }
    /* samotná "karta" */
    .zuba-product-modal-card {
        width: 100%;
        background: transparent;
        padding: 0;
    }
    /* TITLE */
    .zuba-product-modal-title {
        color: #e9ecff;
        font-size: 18px;
        letter-spacing: .08em;
        text-transform: uppercase;
        text-align: center;
        margin: 0 0 12px 0;
        user-select: none;
    }
    /* obrázok */
    .zuba-product-modal-img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        background: transparent;
    }
    /* spodný okrúhly close button */
    .zuba-product-modal-close {
        position: absolute;
        left: 50%;
        bottom: 10px; /* vnútri card */
        transform: translateX(-50%);
        width: 54px;
        height: 54px;
        border-radius: 999px;
        border: 0;
        background: #8ea3ff;
        color: #101427;
        font-size: 28px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 30px rgba(0,0,0,.35);
        cursor: pointer;
        z-index: 60;
    }

        .zuba-product-modal-close:hover {
            filter: brightness(0.95);
        }

    .modal-backdrop.show {
        opacity: 0.90;
        background-color: var(--zuba-modal-bg);
    }
    /* dots */
    .zuba-product-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 14px;
        padding-bottom: 70px; /* REZERVA pre close button */
        user-select: none;
    }


        .zuba-product-dots button {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            border: 0;
            opacity: .35;
            background: #cfd6ff;
            cursor: pointer;
        }

            .zuba-product-dots button.is-active {
                opacity: 1;
                transform: scale(1.05);
            }
    /* ==========================
   MATERIALY
   ========================== */

    .materialy-page {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    /* Produkty + CTA majú rovnaké svetlé pozadie */
    .zuba-materialy {
        background-color: #090B22;
    }
        /* rovnaký max-width kontajnera ako pri produktoch */
        .zuba-materialy .container-fluid {
            max-width: 1200px;
        }


    .materialy-page-title {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        font-size: clamp(2rem, 3vw, 2.6rem);
        transform: scaleY(0.7); /* stlačenie */
        text-transform: uppercase;
        line-height: 1.15;
        font-weight: 600;
        color: #FFFFFF !important;
    }
    /* jemné čiary v hero sekcii – zarovnané podľa návrhu */
    /* GRID LINES (Figma replica) */
    .materialy-grid-lines {
        position: absolute;
        top: var(--zuba-header-height); /* začne až pod horným menu */
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 1;
    }

        .materialy-grid-lines span {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 0;
            border-left: 0.75px solid #090B2233; /* rgba(255,255,255,0.1) */
        }
            /* okraj - blok - blok - blok - blok - okraj  */
            .materialy-grid-lines span:nth-child(1) {
                left: 4%;
            }
            /* začiatok prvého bloku */
            .materialy-grid-lines span:nth-child(2) {
                left: 25%;
            }
            /* 8% + 21% */
            .materialy-grid-lines span:nth-child(3) {
                left: 50%;
            }
            /* stred */
            .materialy-grid-lines span:nth-child(4) {
                left: 75%;
            }
            /* 8% + 3×21% */
            .materialy-grid-lines span:nth-child(5) {
                left: 96%;
            }
    /* koniec štvrtého bloku */
    /* GRID produktov */

    .zuba-materialy-grid {
        border: none;
    }
    /* základ všetkých kariet */
    .zuba-materialy-card {
        position: relative;
        display: flex;
        align-items: flex-end;
        min-height: 260px;
        margin: 5px;
        padding: 40px;
        text-decoration: none;
        color: #ffffff;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        aspect-ratio: 1 / 1;
        outline: none !important;
        box-shadow: none !important;
    }
        /* odstránenie modrých focus outline */
        .zuba-materialy-card:focus,
        .zuba-materialy-card:focus-visible,
        .zuba-materialy-card:active {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
            -webkit-focus-ring-color: transparent !important;
        }
        /* default: žiadny border */
        .zuba-materialy-card::after {
            content: "";
            position: absolute;
            inset: 0;
            border: none;
            pointer-events: none;
        }
    /* zvýraznená karta */
    .zuba-materialy-card--highlight::after {
        border: 2px solid var(--zuba-accent);
        box-shadow: 0 0 0 2px rgba(123, 141, 255, 0.4);
    }
    /* polopriesvitné tmavé overlay + jemná hranica */
    .zuba-materialy-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25) );
        transition: background 0.25s ease;
    }
    /* obsah (text) nad overlay */
    .zuba-materialy-card-content {
        font-family: "OrganettoBoldSemiExt", sans-serif;
        letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
        transform: scaleY(0.8); /* stlačenie */
        position: relative;
        z-index: 1;
    }

    .zuba-materialy-title {
        margin: 0 0 0.4rem;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 0.16em;
        line-height: 1.2;
        font-weight: 600;
    }

    .zuba-materialy-text {
        margin: 0;
        font-size: 0.85rem;
        opacity: 0.9;
    }
    /* hover efekt */
    .zuba-materialy-card:hover::before {
        background: linear-gradient( to top, rgba(18, 30, 80, 0.9), rgba(18, 30, 80, 0.35) );
    }
    /* zvýraznená karta (stredná) */
    .zuba-materialy-card--highlight::after {
        border-color: var(--zuba-accent, #7b8dff);
        box-shadow: 0 0 0 1px rgba(123, 141, 255, 0.5);
    }
    /* mobilné správanie */

    @media (max-width: 767.98px) {

        .zuba-materialy-grid {
            border-width: 0; /* na mobile necháme len hranice kariet */
            border: none;
        }

        .zuba-materialy-card {
            min-height: 220px;
        }
    }

    / /* ==========================
   MATERIAL DETAIL
   ========================== */
    .material-detail-view {
    color: black;
}

/* backdrop viac tmavý */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.65);
}

/* veľkosť a vzhľad modalu */
.zuba-material-modal .modal-dialog {
    max-width: 1100px;
    background-color: #f5f7ff; /* svetlé pozadie podľa Figma */
    color: #111320;
    border-left-color: #7b8dff;
    border-left-style: solid;
}

.zuba-material-content {
    position: relative;
    background-color: #f5f7ff;
    border: none;
    border-radius: 0;
    padding: 3rem 3rem 2.5rem;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

/* tlačidlo X – modrý kruh naľavo */
.zuba-material-close {
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: none;
    background: #6d8eff;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 0 0 8px rgba(109, 142, 255, 0.25);
    cursor: pointer;
}

/* texty */
.zuba-material-title {
    font-family: "OrganettoBoldSemiExt", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #111320;
}

.zuba-material-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3b4359;
    margin-bottom: 2rem;
}

.zuba-material-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #111320;
    margin-bottom: 0.75rem;
}

.zuba-material-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #3b4359;
    margin-bottom: 0.75rem;
}

.zuba-material-body strong {
    display: block;
    font-weight: 600;
    color: #111320;
}

/* downloads */
.zuba-material-download-title {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #090B22;
}

.zuba-material-downloads li + li {
    margin-top: 0.5rem;
}

.zuba-material-downloads a {
    font-size: 0.9rem;
    color: #090B22;
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 19, 32, 0.25);
    padding-bottom: 2px;
}

    .zuba-material-downloads a:hover {
        border-bottom-color: #6d8eff;
        color: #6d8eff;
    }

/* oválny obrázok */
.zuba-material-image-oval {
    width: 260px;
    height: 260px;
    border-radius: 50% / 60%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

    .zuba-material-image-oval img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

/* mobil – close button hore vpravo */
@media (max-width: 992px) {
    .zuba-material-content {
        padding: 2.3rem 1.8rem 2rem;
    }

    .zuba-material-close {
        position: absolute;
        left: auto;
        right: 1.5rem;
        top: 1.5rem;
        transform: none;
        width: 40px;
        height: 40px;
        box-shadow: none;
        z-index: 50; /* <- KĽÚČOVÉ: nad obsah */
        pointer-events: auto;
    }

    .zuba-material-image-oval {
        margin-top: 2rem;
    }
}


/* ==========================
   HEADLINE MODAL
   ========================== */

.zuba-headline-modal .modal-dialog {
    max-width: 1100px;
}

/* Najistejšie odstránenie ružového rámiku + nastavenie vzhľadu */
.zuba-headline-modal .modal-content {
    background-color: #f5f7ff;
    color: #111320;
    border: 0 !important; /* zabije bootstrap border */
    outline: 0 !important; /* zabije focus outline */
    box-shadow: none !important; /* ak je ružové/shadow */

    border-left: 6px solid #7b8dff; /* tvoj accent pás */
    border-radius: 0;
    /* modal sa natiahne podľa obsahu, ale nie viac než viewport */
    max-height: calc(100vh - 3rem);
    overflow: visible; /* aby scroll riešil len modal-body */
}

/* DÔLEŽITÉ: zrušiť flex centrovanie, to robilo "veľký" modal pri málo texte */
.zuba-headline-modal .modal-body {
    display: block;
    justify-content: initial;
    align-items: initial;
    /* auto výška podľa obsahu */
    padding: 3rem;
    /* scroll iba keď obsah prekročí max-height modal-content */
    overflow-y: auto;
    max-height: calc(100vh - 3rem);
}

/* Close button nech zostane ako máš */
.zuba-headline-close {
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: none;
    background: #6d8eff;
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 0 0 8px rgba(109, 142, 255, 0.25);
    cursor: pointer;
}

/* mobil – close button hore vpravo */
@media (max-width: 992px) {
    .zuba-headline-content {
        padding: 2.3rem 1.8rem 2rem;
    }

    .zuba-headline-close {
        position: absolute;
        left: auto;
        right: 1.5rem;
        top: 1.5rem;
        transform: none;
        width: 40px;
        height: 40px;
        box-shadow: none;
        z-index: 50; /* <- KĽÚČOVÉ: nad obsah */
        pointer-events: auto;
    }

    .zuba-headline-image-oval {
        margin-top: 2rem;
    }
}

/* ==========================
   FAQ / FORUM PAGE
   ========================== */

.zuba-faq-page {
    background-color: var(--zuba-bg-dark);
}

/* ľavý blok */
.zuba-faq-title {
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
    font-family: "OrganettoBoldSemiExt", sans-serif;
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    transform: scaleY(0.7); /* stlačenie */
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.zuba-faq-lead {
    font-size: 0.95rem;
    color: var(--zuba-text-muted);
    max-width: 260px;
    color: #80A0FF;
}

/* pravý blok – celé FAQ */
.zuba-faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.zuba-faq-accordion {
    border-radius: 0;
}

/* názov skupiny (tenké nadpisy nad akordeónom) */
.zuba-faq-group-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--zuba-text-muted);

    padding-top: 0.85rem;
    margin-bottom: 0.4rem;
}

/* jednotlivý záznam akordeónu */
.zuba-faq-item {
    background-color: transparent;
    border: none;

}


    /* header button – otázka */
    .zuba-faq-item .accordion-button {
        background-color: rgba(255, 255, 255, 0.06);
        border-radius: 0;
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        color: #ffffff;
        box-shadow: none;
        border: none;
        margin-bottom: 0.9rem;
        margin-top: 0.9rem;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .zuba-faq-item .accordion-button::before {
            content: "\f4fe"; /* bi-plus-circle */
            font-family: "Bootstrap-icons";
            font-size: 1.2rem;
            margin-right: 0.75rem;
            transition: transform 0.2s ease;
            order: 2;
            margin-left: auto;
            margin-right: 0;
        }

        /* ikona vpravo – kruh s plus/mínus, ako vo Figme */
        .zuba-faq-item .accordion-button::after {

            background-image: none;

        }
        /* zatvorený stav */
        .zuba-faq-item .accordion-button.collapsed {
            background-color: rgba(255, 255, 255, 0.03);            
        }

        .zuba-faq-item .accordion-button:not(.collapsed)::before {
            content: "\f2ea"; /* minus */
        }

        /* otvorený stav – jemný highlight */
        .zuba-faq-item .accordion-button:not(.collapsed) {
            color: #111613;
            background-color: #FFFFFF;
            margin-bottom: 0rem;
            font-size: 1.3rem;
        }
    /* telo akordeónu */
    .zuba-faq-item .accordion-body {
        color: #090B22;
        background-color: #FFFFFF;
        padding: 1rem 1.2rem 1.2rem;
        font-size: 0.9rem;

    }

/* CTA blok pod FAQ – veľmi zjednodušená verzia */
.zuba-contact-cta-wrapper {
    background-color: var(--zuba-bg-light);
    color: var(--zuba-text-dark);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.zuba-contact-cta {
    font-family: "OrganettoBoldSemiExt", sans-serif;
    font-size: clamp(1.2rem, 3.6vw, 3.6rem); /* menšie než teraz */
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 2.5rem 2.75rem;
    color: #ffffff;
}

.zuba-contact-cta-title {
    font-family: "OrganettoBoldSemiExt", sans-serif;
    font-size: clamp(1.2rem, 2.4rem, 3.6rem); /* menšie než teraz */
    transform: scaleY(0.7); /* stlačenie */
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.zuba-contact-cta-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.zuba-contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: 1px solid #111320;
    background-color: #ffffff;
    color: #111320;
    font-size: 0.95rem;
    text-decoration: none;
}

    .zuba-contact-cta-btn:hover {
        text-decoration: none;
        background-color: #f4f4ff;
    }
/* mobilné úpravy */
@media (max-width: 767.98px) {
    .zuba-faq-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .zuba-faq-title {
        margin-bottom: 0.75rem;
    }

    .zuba-faq-lead {
        max-width: none;
    }

    .zuba-contact-cta {
        padding: 2rem 1.8rem;
    }
}

}
/* ==========================
   CONTENT PAGE
   ========================== */

.zuba-content-page {
    background-color: var(--zuba-bg-dark);
}

/* title + lead */
.zuba-content-title {
    font-size: clamp(2.2rem, 3vw, 2.6rem);
    font-family: "OrganettoBoldSemiExt", sans-serif;
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    transform: scaleY(0.7); /* stlačenie */
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

/* text */
.zuba-content-text {
    font-size: clamp(1rem, 1vw, 1em);
    font-family: sans-serif;
    margin-bottom: 1.25rem;
}


/* ==========================
   CONTACT PAGE
   ========================== */

.zuba-contact-page {
    background-color: var(--zuba-bg-dark);
}
/* title + lead */
.zuba-contact-title {
    font-size: clamp(2.2rem, 3vw, 2.6rem);
    font-family: "OrganettoBoldSemiExt", sans-serif;
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    transform: scaleY(0.7); /* stlačenie */
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.zuba-contact-lead {
    font-size: 0.95rem;
    color: #80A0FF;
    max-width: 420px;
    margin-bottom: 2rem;
}
/* left grid */
.zuba-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2.2rem;
}

@media (max-width: 991.98px) {
    .zuba-contact-grid {
        grid-template-columns: 1fr;
    }
}

.zuba-contact-card {
    padding-top: 0.25rem;
}

.zuba-contact-name {
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: 0.1rem;
}

.zuba-contact-role {
    color: #80A0FF;
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.zuba-contact-line {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.55;
}
/* form wrapper */
.zuba-contact-form {
    border-left: 1px solid rgba(255,255,255,0.10);
    padding-left: 2.4rem;
}

@media (max-width: 991.98px) {
    .zuba-contact-form {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.10);
        padding-top: 2rem;
    }
}
/* labels */
.zuba-form-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #ffffff;    
    margin-bottom: 0.45rem;
}
/* inputs */
.zuba-form-control,
.zuba-form-select {
    width: 100%;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    border-radius: 0;
    padding: 0.85rem 1rem;
    outline: none;
    box-shadow: none;
}

    .zuba-form-control:focus,
    .zuba-form-select:focus {
        border-color: rgba(123,141,255,0.75);
        box-shadow: none;
        outline: none;
    }
    /* odstránenie modrého borderu/focus ring globálne pre tieto prvky */
    .zuba-form-control:focus-visible,
    .zuba-form-select:focus-visible {
        outline: none !important;
    }
/* submit button – pill */
.zuba-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: ##FFFFFF;
    color: #090B22;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    height:73px;
}

    .zuba-form-submit:hover {
        background-color: rgba(255,255,255,0.06);
    }

.zuba-turnstile {
    transform: scale(0.88);
    transform-origin: left center;
    filter: brightness(0.95) contrast(0.95);

}

.zuba-contact-form .zuba-turnstile {
    margin-left: 0.25rem;
}

.zuba-contact-form {
    position: relative;
}

.zuba-turnstile {
    align-self: flex-start;
}

/* Featurettes
------------------------- */

.featurette-divider {
    margin: 2rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

.featurette img {
    height: 400px; /* Nastavte požadovanú výšku */
    object-fit: cover; /* Zachová pomer strán obrázka */
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 1rem;
    }
}

/* ==========================
   ZUBA – Bootbox alert
   ========================== */


    .zuba-bootbox .modal-dialog {
        max-width: 420px;
    }

.zuba-bootbox .modal-content {
    background-color: var(--zuba-modal-bg);
    border: 1px solid rgba(0,0,0,.04);
    border-radius: 0px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    color: white;
}

    .zuba-bootbox .modal-body {
        padding: 28px 24px;
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* footer */
    .zuba-bootbox .modal-footer {
        justify-content: center;
        padding: 0 24px 24px;
        border-top: none;
    }

    /* OK button */
    .zuba-bootbox .btn-primary {
        background: #1f6bff; /* ZUBA blue */
        border: none;
        padding: 10px 26px;
        border-radius: 999px;
        font-weight: 600;
    }

        .zuba-bootbox .btn-primary:hover {
            background: #1858d6;
        }

.zuba-form-control,
.zuba-form-select {
    background-color: rgba(255,255,255,0.02);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

    .zuba-form-control:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.02) inset;
    }


.zuba-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none; /* ak máš vlastnú šípku */
}

.zuba-form-control::placeholder {
    color: rgba(255,255,255,0.45);
}

.zuba-form-control:focus,
.zuba-form-select:focus {
    background-color: rgba(255,255,255,0.02) !important;
    color: #fff;
    border-color: rgba(120,160,255,0.8);
    box-shadow: 0 0 0 1px rgba(120,160,255,0.35);
    outline: none;
}

.zuba-form-select {
    background-color: rgba(255,255,255,0.02);
    color: #fff;
}

    .zuba-form-select option {
        background-color: #0b1020; /* tmavé pozadie dropdownu */
        color: #fff;
    }


/* ==========================
   HEADLINE
   ========================== */

.headline-section {
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.headline-section-modal {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.headline-section-title {
    font-family: "OrganettoBoldSemiExt", sans-serif;
    letter-spacing: -0.03em; /* ✅ funkčné negatívne kerning */
    font-size: clamp(2rem, 3vw, 2.6rem);
    transform: scaleY(0.7); /* stlačenie */
    text-transform: uppercase;
    line-height: 1.15;
    font-weight: 600;
    color: #111320 !important;
}

.headline-body {
    border: none;
    color: black !important;
}


/* ==========================
   TinyMCE / Content images
   (frontend aj editor preview)
   ========================== */

.zuba-img-left {
    float: left;
    margin: 0.25rem 1.5rem 1rem 0;
    max-width: min(50%, 520px);
    height: auto;
}

.zuba-img-right {
    float: right;
    margin: 0.25rem 0 1rem 1.5rem;
    max-width: min(50%, 520px);
    height: auto;
}

.zuba-img-center {
    display: block;
    margin: 1.25rem auto;
    max-width: 100%;
    height: auto;
}

.zuba-img-full {
    display: block;
    margin: 1.25rem 0;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Keď máš floaty, občas sa hodí “vyčistiť” ďalší obsah
   – ak používaš bloky za sebou, zváž pridať <p class="clearfix">... */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* Mobile: float vypnúť, nech to nezúži text */
@media (max-width: 768px) {
    .zuba-img-left,
    .zuba-img-right {
        float: none;
        display: block;
        margin: 1rem auto;
        max-width: 100%;
    }
}
