body.menu-open {
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    background:rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    width: min(calc(100% - 64px), 1525px);
    min-height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header.is-scrolled
.site-header__inner {
    min-height: 76px;
}

.site-header__logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 52px;
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    width: auto;
    height: 52px;
    transition:opacity 0.3s ease;
}

.site-header__logo-light {
    opacity: 1;
}

.site-header__logo-dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.site-header__sygnet-light {
    display: none !important;
    opacity: 1;
}

.site-header__sygnet-dark {
    display: none !important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.site-header.is-scrolled
.site-header__logo-light {
    opacity: 0;
}

.site-header.is-scrolled
.site-header__logo-dark {
    opacity: 1;
}

.site-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item > a,
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:color 0.25s ease;
}

.site-header.is-scrolled
.nav-item > a,
.site-header.is-scrolled
.submenu-toggle {
    color: #202657;
}

.nav-item > a:hover,
.submenu-toggle:hover {
    color: #FFCC00;
}

.submenu-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition:transform 0.25s ease;
}

.has-submenu:hover
> .submenu-toggle
> .submenu-arrow,
.has-submenu:focus-within
> .submenu-toggle
> .submenu-arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

.has-submenu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 260px;
    height: 18px;
    transform:translateX(-50%);
    background:transparent;
}

.submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    min-width: 240px;
    margin: 0;
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: translateX(-50%) rotate(45deg);
}

.has-submenu:hover
> .submenu,
.has-submenu:focus-within
> .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform:translateX(-50%) translateY(0);
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu a {
    display: block;
    padding: 11px 22px;
    color: #202657;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.submenu a:hover {
    background:#f5f6f7;
    color:#FFCC00;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding:0 20px;
    border:2px solid transparent;
    border-radius:4px;
    box-sizing:border-box;
    font-size:14px;
    font-weight:700;
    line-height:1;
    text-align:center;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn.btn--primary {
    background:#FFCC00;
    border-color:#FFCC00;
    color:#000000;
    text-decoration:none;
}

.btn.btn--primary:hover {
    background:#E5B800;
    border-color:#E5B800;
    color:#000000;
    text-decoration: none;
}

.btn.btn--primary:active {
    background: #CCA300;
    border-color: #CCA300;
    color: #000000;
    transform: translateY(1px);
}

.btn.btn--primary:focus-visible {
    outline: 3px solid rgba(255, 204, 0, 0.35);
    outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    position: absolute;
    left: 9px;
    width: 24px;
    height: 1.5px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: 13px;
}

.menu-toggle span:nth-child(2) {
    top: 20px;
}

.menu-toggle span:nth-child(3) {
    top: 27px;
}

.site-header.is-scrolled
.menu-toggle span {
    background:#202657;
}
.menu-toggle.is-open
span:nth-child(1) {
    transform:translateY(7px) rotate(45deg);
}

.menu-toggle.is-open
span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open
span:nth-child(3) {
    transform:translateY(-7px) rotate(-45deg);
}

@media (max-width: 1200px) {

    /* Pełne logo ukryte */

    .site-header__logo-light,
    .site-header__logo-dark {

        display:
            none !important;
    }

    .site-header__sygnet-light {

        display:
            block !important;

        position:
            static;

        opacity:
            1;
    }

    .site-header__sygnet-dark {

        display:
            none !important;

        position:
            absolute;

        top:
            0;

        left:
            0;

        opacity:
            0;
    }

    .site-header.is-scrolled
    .site-header__sygnet-light {

        display:
            none !important;

        opacity:
            0;
    }


    .site-header.is-scrolled
    .site-header__sygnet-dark {

        display:
            block !important;

        opacity:
            1;
    }
}

@media (max-width: 900px) {
    .site-header__inner {

        width:
            calc(100% - 40px);

        min-height:
            76px;
    }


    .site-header.is-scrolled
    .site-header__inner {

        min-height:
            70px;
    }

    .site-header__logo {

        height:
            36px;
    }


    .site-header__logo img {

        height:
            36px;
    }

    .menu-toggle {

        display:
            block;
    }

    .site-nav {

        position:
            fixed;

        top:
            0;

        left:
            0;

        width:
            100%;

        height:
            100dvh;

        margin:
            0;

        padding:
            100px 20px 40px;

        box-sizing:
            border-box;

        background:
            #ffffff;

        overflow-y:
            auto;

        opacity:
            0;

        visibility:
            hidden;

        pointer-events:
            none;

        transform:
            translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index:
            1001;
    }

    .site-nav.is-open {

        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transform:
            translateY(0);
    }

    .nav-list {

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        width:
            100%;

        margin:
            0;

        padding:
            0;
    }

    .nav-item {

        position:
            relative;

        width:
            100%;

        border-bottom:
            1px solid
            rgba(16, 35, 63, 0.08);
    }

    .nav-item > a,
    .submenu-toggle {

        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        width:
            100%;

        margin:
            0;

        padding:
            17px 0;

        border:
            0;

        background:
            transparent;

        color:
            #10233f !important;

        font-size:
            17px;

        font-weight:
            500;

        line-height:
            1.3;

        text-align:
            left;
    }

    .site-nav .btn.btn--primary {

        display:
            inline-flex;

        width:
            auto;

        min-height:
            48px;

        margin-top:
            24px;

        padding:
            0 20px;

        background:
            #FFCC00;

        border:
            2px solid #FFCC00;

        color:
            #000000 !important;


        font-weight:
            700;

        text-align:
            center;
    }


    .site-nav .btn.btn--primary:hover {

        background:
            #E5B800;

        border-color:
            #E5B800;

        color:
            #000000 !important;
    }

    .submenu {

        position:
            static !important;

        top:
            auto !important;

        right:
            auto !important;

        bottom:
            auto !important;

        left:
            auto !important;

        width:
            100% !important;

        min-width:
            0 !important;

        max-width:
            none !important;

        margin:
            0 !important;

        padding:
            0 !important;

        background:
            transparent;

        box-shadow:
            none;

        list-style:
            none;

        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transform:none !important;
        transition:none;
        display:none;
        z-index:auto;
    }

    .has-submenu.is-open
    > .submenu {
        display:block;
    }

    .submenu li {
        width:100%;
        margin:0;
        padding:0;
    }

    .submenu a {
        display:block;
        width:100%;
        margin:0;
        padding:13px 0 13px 20px;
        color:#596579;
        font-size:15px;
        font-weight:400;
        line-height:1.4;
        text-decoration:none;
        white-space:normal;
        border-top:1px solidrgba(16, 35, 63, 0.06);
        background:transparent;
    }

    .submenu a:hover {
        background:transparent;
        color:#FFCC00;
    }

    .has-submenu.is-open
    > .submenu-toggle
    > .submenu-arrow {
        transform: rotate(225deg) translate(-2px, -2px);
    }

    .menu-toggle.is-open span {
        background-color: #000000;
    }

    .has-submenu::after {
        display:none;
    }

    .submenu::before {
        display:none;
    }

    .hero__content {
        width:calc(100% - 40px);
        padding-top:80px;
    }

    .hero h1 {
        font-size:clamp(48px,14vw,72px);
    }

    .hero__text {
        font-size:16px;
    }
}

@media (max-width: 480px) {
    .site-header__logo {
        height:32px;
    }

    .site-header__logo img {
        height:32px;
    }

    .site-header__inner {
        width:calc(100% - 32px);
    }

    .site-nav {
        padding: 92px 16px 30px;
    }

    .hero__content {
        width:calc(100% - 32px);
    }
}