/* general CSS */

:root
{
    --white--: #FFF;
    --blue--: #1567C4;
    --green--: #00B4A0;
    --lightgray--: #EEE;
    --gray--: #757575;
    --black--: #000;
}

body
{
    font-family: 'Manrope', sans-serif;
    background-color: var(--white--);
    color: var(--black--);
    text-align: center;
    font-weight: 400;
    margin: 0;
    padding:0;
}




/* Logo CSS*/

.logo
{
    padding: 1rem 0 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    cursor: pointer;
}

.logo-single
{
    padding: 1rem 0 1.25rem;
    text-align: center;
}

.logo-single .logo-brand-img
{
    display: block;
    width: auto;
    max-width: 100%;
    max-height: clamp(38px, 10vw, 68px);
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px)
{
    .logo-single .logo-brand-img
    {
        max-height: clamp(44px, 6vw, 78px);
    }
}

.logo div > *
{
    margin: 0;
    
}

.logo h1
{
    font-size: calc(1.25rem + 1.56vw);
    letter-spacing: 0;
}

@media (min-width: 768px)
{
    .logo h1
    {
        letter-spacing: 1px;
        font-size: 2rem;
    }
}


.logo h2
{
    font-style: italic;
    font-weight: 400;
    font-size: calc(1rem + 1.04vw);
}

@media (min-width: 768px)
{
    .logo h2
    {
        font-size: 1.5rem;
    }
}

.logo-image
{
    display: none;
    float:left;
}

.logo-text
{
    margin-left: 1rem;
    float:left;
}


/* Nagłówek — pełna szerokość, sticky */

.site-header
{
    font-family: 'Jost', sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
    transition: box-shadow 0.25s ease;
    overflow: visible;
}

.site-header.is-scrolled
{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.site-header__inner
{
    box-sizing: border-box;
    width: 100%;
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

@media (min-width: 1024px)
{
    .site-header__inner
    {
        padding-left: 32px;
        padding-right: 32px;
        gap: 32px;
        min-height: 88px;
    }
}

.site-header__brand
{
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.site-header__logo-link
{
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    background-color: transparent;
    max-width: 100%;
    overflow: hidden;
}

.site-header__logo-link:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 3px;
    border-radius: 6px;
}

.site-header .logo.logo-single
{
    margin: 0;
    padding: 0;
    cursor: default;
    text-align: left;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.site-header__brand .logo-brand-img,
.site-header .logo.logo-single .logo-brand-img
{
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 46px;
    margin: 0;
    /* allow shrinking when the brand container is constrained */
    flex-shrink: 1;
}

@media (min-width: 1024px)
{
    .site-header__brand
    {
        flex: 0 0 auto;
        overflow: visible;
    }

    .site-header__brand .logo-brand-img,
    .site-header .logo.logo-single .logo-brand-img
    {
        max-height: 48px;
        flex-shrink: 0;
    }
}

/* Mobilna szuflada pod sticky headerem */

.site-header__nav-shell
{
    display: none;
    /* fixed keeps it anchored to the viewport, guaranteeing full-width
       regardless of any ancestor's max-width or flex container */
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    gap: 8px;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.menu-toggler[aria-expanded="true"] ~ .site-header__nav-shell
{
    display: flex;
}

@media (max-width: 1023.98px)
{
    .site-header__nav-shell
    {
        max-height: calc(100vh - 68px);
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

@media (min-width: 1024px)
{
    .site-header__nav-shell
    {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        padding: 0;
        gap: 0;
        background-color: transparent;
        border-bottom: none;
        box-shadow: none;
        overflow: visible;
    }
}

.site-header__nav
{
    width: 100%;
}

@media (min-width: 1024px)
{
    .site-header__nav
    {
        display: flex;
        justify-content: center;
        width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .site-header__nav .menu
    {
        width: auto;
        max-width: 100%;
    }
}

/* Telefon — belka desktop */

.site-header__phone
{
    box-sizing: border-box;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header__phone:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 6px;
}

.header-phone
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    line-height: 1;
    flex-shrink: 0;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.header-phone__label
{
    display: none !important;
}

.header-phone__icon
{
    font-size: 20px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue--);
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.header-phone__number
{
    font-size: 18px;
    font-weight: 700;
    color: var(--blue--);
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.site-header__phone--bar:hover .header-phone__number
{
    color: var(--green--);
}

.site-header__phone--bar
{
    flex-shrink: 0;
}

@media (max-width: 1023.98px)
{
    .site-header__phone--bar
    {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1199.98px)
{
    .header-phone__label
    {
        display: none;
    }

    .header-phone
    {
        gap: 8px;
    }
}

.site-header__phone--in-drawer
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--white--);
    background-color: var(--blue--);
    border-radius: 10px;
}

.site-header__phone--in-drawer:hover
{
    color: var(--white--);
    background-color: #0D5AAF;
}

@media (min-width: 1024px)
{
    .site-header__phone--in-drawer
    {
        display: none;
    }
}
/* Menu */

.menu
{
    background-color: transparent;
    color: var(--black--);
}

.menu ul,
.menu__list
{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    text-align: left;
}

.menu ol
{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    text-align: left;
}

/* MOBILE — pionowa lista pod paskiem */
@media (max-width: 1023.98px)
{
    .menu__list
    {
        display: flex;
        flex-direction: column;
    }

    .menu__list > li
    {
        position: relative;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .menu__list > li:first-child
    {
        border-top: none;
    }

    .menu__list > li > a,
    .menu ol > li > a
    {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        padding: 14px 4px;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.3;
        color: #333;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .menu__list > li:hover > a,
    .menu__list > li > a:hover
    {
        color: var(--blue--);
    }

    .menu__list > li.active > a
    {
        color: var(--blue--);
    }

    .menu__list > li > ol
    {
        padding: 0.25rem 0 0.5rem 0.75rem;
        margin: 0 0 0.5rem 0.5rem;
        border-left: 2px solid rgba(21, 103, 196, 0.22);
        background-color: rgba(21, 103, 196, 0.04);
    }

    .menu ol > li > a
    {
        padding: 10px 4px;
        font-size: 14px;
    }
}

@media (min-width: 1024px) and (max-width: 1279.98px)
{
    .menu__list
    {
        column-gap: 22px !important;
    }

    .menu__list > li > a,
    .menu__locations-btn
    {
        font-size: 15px;
        padding: 12px 0;
    }

    .header-phone__number
    {
        font-size: 16px;
    }
}

/* DESKTOP — jeden poziomy wiersz, brak zawijania */
@media (min-width: 1024px)
{
    .menu__list
    {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        column-gap: 30px;
        white-space: nowrap;
    }

    .menu__list > li
    {
        position: relative;
        margin: 0;
        border: none;
    }

    .menu__list > li > a
    {
        box-sizing: border-box;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 14px 0;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.2;
        color: #0f172a;
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .menu__list > li > a::after
    {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--blue--);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .menu__list > li > a:hover
    {
        color: var(--blue--);
    }

    .menu__list > li > a:hover::after,
    .menu__list > li.active > a::after
    {
        opacity: 1;
    }

    .menu__list > li.active > a
    {
        color: var(--blue--);
    }

    /* Submenu — karta z cieniem pod „Ważne informacje" */
    .menu__list > li > ol
    {
        display: none;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + 6px);
        z-index: 1050;
        min-width: 15.5rem;
        margin-top: 0;
        padding: 0.35rem 0;
        background-color: var(--white--);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .menu__list > li > ol > li
    {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .menu__list > li > ol > li:first-child
    {
        border-top: none;
    }

    .menu__list > li > ol > li > a
    {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        text-align: center;
        white-space: nowrap;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .menu__list > li > ol > li > a:hover
    {
        color: var(--blue--);
        background-color: rgba(21, 103, 196, 0.06);
    }
}

.menu__list > li > a:focus-visible,
.menu__list > li > ol > li > a:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 4px;
}

.active
{
    cursor: default;
}

.active > a
{
    cursor: default;
}

li .icon-down-open
{
    font-size: 1rem;
    opacity: 0.85;
    position: relative;
    bottom: 0.05rem;
}

/* Hamburger */

.menu-toggler
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background-color: var(--white--);
    color: var(--black--);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.menu-toggler:hover
{
    border-color: rgba(21, 103, 196, 0.35);
    color: var(--blue--);
    background-color: rgba(21, 103, 196, 0.05);
}

.menu-toggler:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
}

.icon-menu:before
{
    font-size: 1.35rem;
}

@media (min-width: 1024px)
{
    .menu-toggler
    {
        display: none;
        margin-left: 0;
    }

    .site-header__phone--bar
    {
        margin-left: auto;
    }
}

/* Rezerwacja wizyty — przyklejony pasek etapów pod nagłówkiem (nie osobne „menu” przy scrollu) */

.book-visit-progress.menu-sticky
{
    position: fixed;
    left: 0;
    right: 0;
    z-index: 980;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--lightgray--) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}


/* Footer — wide split layout */

.footer-main
{
    background-color: #ffffff;
    border-top: 1px solid #E5E7EB;
    padding: 5rem 0 4.5rem;
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.footer-main__inner
{
    box-sizing: border-box;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 767.98px)
{
    .footer-main__inner
    {
        padding: 0 1.5rem;
    }
}

/* Split: brand left / link-columns right */

.footer-split
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
}

/* Brand block */

.footer-brand
{
    flex: 0 0 auto;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 767.98px)
{
    .footer-brand
    {
        flex-basis: 100%;
    }
}

.footer-brand__logo-link
{
    display: inline-block;
    line-height: 0;
    margin: 0 0 1.5rem 0;
    padding: 0;
    text-decoration: none;
}

.footer-brand__logo-link:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 4px;
    border-radius: 6px;
}

.footer-brand__logo-img
{
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 64px;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.footer-brand__tagline
{
    font-size: 1.1rem;
    line-height: 1.75;
    color: #6B7280;
    max-width: 300px;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

/* Link columns grid */

.footer-links
{
    flex: 0 0 auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 767.98px)
{
    .footer-brand
    {
        max-width: 100%;
        flex-basis: 100%;
    }

    .footer-links
    {
        flex-basis: 100%;
        margin-left: 0;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 479.98px)
{
    .footer-links
    {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-links__col
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column__title
{
    color: #111827;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

.footer-nav__list
{
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-nav__list li
{
    margin-bottom: 1rem;
}

.footer-nav__list a
{
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.footer-nav__list a:hover
{
    color: var(--blue--);
    transform: translateX(4px);
}

.footer-nav__list a:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-contact__item
{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.footer-contact__item:last-child
{
    margin-bottom: 0;
}

.footer-contact__item i
{
    font-size: 28px;
    color: var(--blue--);
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact__link
{
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-contact__item a[href^="tel:"]
{
    color: var(--blue--);
}

.footer-contact__link:hover
{
    color: var(--blue--);
}

.footer-contact__link:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Bottom bar */

.footer-bottom
{
    background-color: #F8F9FA;
    border-top: 1px solid #E5E7EB;
    padding: 1.5rem 0;
}

.footer-bottom p
{
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
}



/* Mega menu — Lokalizacje (klik, 4 kolumny: 5+5+5+4) */

.menu__item--locations
{
    position: relative;
}

.menu__locations-btn
{
    box-sizing: border-box;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-family: inherit;
    text-align: left;
    color: inherit;
}

@media (min-width: 1024px)
{
    .menu__locations-btn
    {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        padding: 14px 0;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.2;
        color: #0f172a;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .menu__locations-btn::after
    {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--blue--);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .menu__locations-btn:hover,
    .menu__item--locations.active .menu__locations-btn
    {
        color: var(--blue--);
    }

    .menu__locations-btn:hover::after,
    .menu__item--locations.active .menu__locations-btn::after,
    .menu__item--locations.is-mega-open .menu__locations-btn::after
    {
        opacity: 1;
    }

    .menu__item--locations.is-mega-open .menu__locations-btn
    {
        color: var(--blue--);
    }
}

.menu__locations-chevron
{
    font-size: 0.65rem;
    margin-left: -0.02em;
    opacity: 0.85;
    transition: transform 0.22s ease;
}

.menu__item--locations.is-mega-open .menu__locations-chevron
{
    transform: rotate(180deg);
}

.locations-mega[hidden]
{
    display: none !important;
}

.locations-mega
{
    box-sizing: border-box;
}

@media (max-width: 1023.98px)
{
    .locations-mega
    {
        width: 100%;
        margin-top: 0.25rem;
        padding: 0 0 0.75rem 0;
        margin-left: 0;
    }

    .locations-mega__inner
    {
        padding: 0.75rem 0 0;
    }

    .locations-mega__main
    {
        padding: 0;
        margin: 0;
        border: none;
    }

    .locations-mega__dict
    {
        column-count: 1;
        column-gap: 0;
        column-rule: none;
    }

    .locations-mega__dict li
    {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .locations-mega__dict li:first-child
    {
        border-top: none;
    }

    .locations-mega__dict a
    {
        display: block;
        padding: 10px 4px;
        font-size: 14px;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
    }

    .locations-mega__dict a:hover
    {
        color: var(--blue--);
    }
}

@media (min-width: 640px) and (max-width: 1023.98px)
{
    .locations-mega__dict
    {
        column-count: 2;
        column-gap: 1.5rem;
        column-rule: 1px solid rgba(15, 23, 42, 0.07);
    }
}

@media (min-width: 1024px)
{
    .locations-mega
    {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + 10px);
        z-index: 1100;
        width: min(880px, calc(100vw - 40px));
        padding: 0;
        margin: 0;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 24px 56px rgba(15, 23, 42, 0.12);
        animation: mpo-mega-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes mpo-mega-in
    {
        from
        {
            opacity: 0;
            transform: translate(-50%, 8px);
        }

        to
        {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    @media (prefers-reduced-motion: reduce)
    {
        .locations-mega
        {
            animation: none;
        }
    }

    .locations-mega__inner
    {
        display: block;
        padding: 1.2rem 1.4rem 1.35rem;
    }

    .locations-mega__main
    {
        padding: 0;
        margin: 0;
        border: none;
    }

    .locations-mega__dict
    {
        column-count: 4;
        column-gap: 1.75rem;
        column-rule: 1px solid rgba(15, 23, 42, 0.08);
    }

    .locations-mega__dict a
    {
        display: block;
        padding: 0.38rem 0.2rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        border-radius: 6px;
        transition: color 0.15s ease, background-color 0.15s ease;
    }

    .locations-mega__dict a:hover
    {
        color: var(--blue--);
        background-color: rgba(21, 103, 196, 0.06);
    }
}

.locations-mega__dict
{
    list-style: none;
    margin: 0;
    padding: 0;
    column-fill: balance;
}

.locations-mega__dict li
{
    margin: 0;
    padding: 0;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.menu__locations-btn:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 3px;
    border-radius: 6px;
}

.locations-mega a:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 1023.98px)
{
    .menu__locations-btn
    {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.2rem;
        width: 100%;
        padding: 14px 4px;
        font-size: 15px;
        font-weight: 500;
        color: #333;
    }

    .menu__item--locations.active .menu__locations-btn
    {
        color: var(--blue--);
    }
}



/* Dropdown — Zarezerwuj wizytę (desktop); osobne pozycje na mobile */

.menu__item--book-desktop
{
    display: none;
}

.menu__item--book-mobile
{
    display: list-item;
}

@media (min-width: 1024px)
{
    .menu__item--book-desktop
    {
        display: list-item;
    }

    .menu__item--book-mobile
    {
        display: none;
    }
}

.menu__item--book
{
    position: relative;
}

.menu__book-btn
{
    box-sizing: border-box;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-family: inherit;
    text-align: left;
    color: inherit;
}

@media (min-width: 1024px)
{
    .menu__book-btn
    {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        padding: 14px 0;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.2;
        color: #0f172a;
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .menu__book-btn::after
    {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--blue--);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .menu__book-btn:hover,
    .menu__item--book.active .menu__book-btn
    {
        color: var(--blue--);
    }

    .menu__book-btn:hover::after,
    .menu__item--book.active .menu__book-btn::after,
    .menu__item--book.is-dropdown-open .menu__book-btn::after
    {
        opacity: 1;
    }

    .menu__item--book.is-dropdown-open .menu__book-btn
    {
        color: var(--blue--);
    }
}

.menu__book-chevron
{
    font-size: 0.65rem;
    margin-left: -0.02em;
    opacity: 0.85;
    transition: transform 0.22s ease;
}

.menu__item--book.is-dropdown-open .menu__book-chevron
{
    transform: rotate(180deg);
}

.book-dropdown[hidden]
{
    display: none !important;
}

.book-dropdown
{
    box-sizing: border-box;
}

.book-dropdown__list
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.book-dropdown__list li
{
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px)
{
    .book-dropdown
    {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + 10px);
        z-index: 1100;
        min-width: 240px;
        padding: 0.5rem 0;
        margin: 0;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 16px 40px rgba(15, 23, 42, 0.12);
        animation: mpo-mega-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .book-dropdown__list a
    {
        display: block;
        padding: 0.55rem 1.1rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        transition: color 0.15s ease, background-color 0.15s ease;
    }

    .book-dropdown__list a:hover
    {
        color: var(--blue--);
        background-color: rgba(21, 103, 196, 0.06);
    }
}

.menu__book-btn:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 3px;
    border-radius: 6px;
}

.book-dropdown a:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 2px;
    border-radius: 4px;
}



/* Sections headers CSS */

.section-header
{
    display: block;
    margin: 0 0 2rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    text-transform: uppercase;
}

body.cookie-consent-open
{
    overflow: hidden;
    padding-right: var(--cookie-consent-scrollbar, 0px);
}

.cookie-consent[hidden]
{
    display: none !important;
}

.cookie-consent
{
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.cookie-consent__overlay
{
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-consent__dialog
{
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    text-align: center;
}

.cookie-consent__dialog:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 4px;
}

.cookie-consent__content
{
    display: grid;
    gap: 14px;
}

.cookie-consent__eyebrow
{
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue--);
}

.cookie-consent__title
{
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    line-height: 1.08;
    color: #0f172a;
}

.cookie-consent__text,
.cookie-consent__note
{
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.cookie-consent__note
{
    color: #0f172a;
    font-weight: 600;
}

.cookie-consent__details
{
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookie-consent__details summary
{
    display: inline-block;
    cursor: pointer;
}

.cookie-consent__details-content
{
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.cookie-consent__details-content p
{
    margin: 0;
}

.cookie-consent__link
{
    color: var(--blue--);
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 0.18em;
}

.cookie-consent__link:hover
{
    color: var(--green--);
    text-decoration: underline;
}

.cookie-consent__link:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 3px;
    border-radius: 4px;
}

.cookie-consent__actions
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cookie-consent__button
{
    flex: 1 1 180px;
    min-width: 150px;
    border-radius: 999px;
    padding: 14px 24px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.cookie-consent__button:hover
{
    transform: translateY(-1px);
}

.cookie-consent__button:focus-visible
{
    outline: 2px solid var(--green--);
    outline-offset: 3px;
}

.cookie-consent__button--primary
{
    color: var(--white--);
    background: linear-gradient(135deg, var(--blue--) 0%, #0d5aaf 100%);
    box-shadow: 0 14px 28px rgba(21, 103, 196, 0.24);
}

.cookie-consent__button--primary:hover
{
    background: linear-gradient(135deg, #0d5aaf 0%, #0a4c95 100%);
    box-shadow: 0 18px 34px rgba(13, 90, 175, 0.26);
}

.cookie-consent__button--secondary
{
    color: #0f172a;
    background-color: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.cookie-consent__button--secondary:hover
{
    border-color: rgba(21, 103, 196, 0.25);
    color: var(--blue--);
    background-color: rgba(21, 103, 196, 0.04);
}

@media (max-width: 639.98px)
{
    .cookie-consent
    {
        padding: 16px;
        align-items: center;
    }

    .cookie-consent__dialog
    {
        width: 100%;
        padding: 24px 20px;
        border-radius: 18px;
    }

    .cookie-consent__text,
    .cookie-consent__note
    {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .cookie-consent__actions
    {
        flex-direction: column;
    }

    .cookie-consent__button
    {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce)
{
    .cookie-consent__button
    {
        transition: none;
    }

    .cookie-consent__button:hover
    {
        transform: none;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}
/* Komunikat o pracach konserwacyjnych na podstronach zamówień klientów. */
.customer-maintenance-popup {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.customer-maintenance-popup.is-closed {
    display: none;
}

.customer-maintenance-popup-open {
    overflow: hidden;
}

.customer-maintenance-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(3px);
}

.customer-maintenance-popup__dialog {
    position: relative;
    width: min(100%, 32rem);
    padding: 2.25rem 2rem 2rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.28);
    text-align: center;
}

.customer-maintenance-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.customer-maintenance-popup__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff3cd;
    color: #9a6700;
    font-size: 1.8rem;
    font-weight: 700;
}

.customer-maintenance-popup__eyebrow {
    margin: 0 0 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-maintenance-popup__title {
    margin: 0 0 0.75rem;
    color: var(--green--, #176b58);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.customer-maintenance-popup__description {
    margin: 0 auto 1.5rem;
    max-width: 26rem;
    color: #334155;
    font-size: 1rem;
    line-height: 1.55;
}

.customer-maintenance-popup__button {
    min-width: 9rem;
    padding: 0.7rem 1.5rem;
    border: 0;
    border-radius: 0.45rem;
    background: var(--blue--, #1769aa);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.customer-maintenance-popup__button:hover,
.customer-maintenance-popup__button:focus-visible {
    background: var(--green--, #176b58);
}

@media (max-width: 30rem) {
    .customer-maintenance-popup__dialog {
        padding: 2rem 1.25rem 1.5rem;
    }
}
