*{
    margin:0;
    padding:0;
    box-sizing:border-box;

    
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
    outline:3px solid #e31b23;
    outline-offset:4px;
}

html{

    margin:0;
    padding:0;
    
    width:100%;
    
    overflow-x:hidden;

}



body{    
    margin:0;    
    padding:0;
    
    font-family:'Montserrat', sans-serif;
    
    background:#efedf2;    
    color:#333;

}


/* HEADER */

.topbar{
    background:white;
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;

    padding:20px 5%;

}

.contact{
    display:flex;
    gap:28px;
    font-size:16px;
    justify-self: start;

    align-items: center;
}

.contact-link{
    display:flex;
    align-items:center;
    gap:8px;

    color:#333;
    text-decoration:none;
    transition:.05s;
}

.contact-link i{
    color:#393185;
    font-size:.9rem;
    width:16px;
    text-align:center;
}



.contact-link:hover{
    color:#e31b23;
    font-weight: 500;
}
body.high-contrast .contact-link i{
    color: white;
}

/*----------kontrast i A+ */
.accessibility-tools{
    display:flex;
    align-items:center;
    gap:20px;
    margin-left:auto;
}

.accessibility-tools button{
    display:flex;    
    align-items:center;
    gap:6px;

    background:none;
    border:none;
    cursor:pointer;
    color:#393185;
    font:inherit;
    transition:.15s;
}

.accessibility-tools button:hover{
    color:#e31b23;
}

.accessibility-tools i{
    font-size:1rem;
    padding-left: 10px;
}

.font-tool{
    font-weight:700;
    font-size:1.1rem;
    color:inherit;
}

.font-tool span{
    font-size:.8em;
}
body.high-contrast .font-tool{
    color: #ffffff;
    }

body.high-contrast .accessibility-tools button.active .font-tool{
    color:#e31b23;
}

.font-tool sup{
    font-size:.6em;
    top:-.1em;
    position:relative;
}

.accessibility-tools button:hover,
.accessibility-tools button:focus-visible,
.accessibility-tools button.active{
    color:#e31b23;
}

/*tryb wysokiego kontrastu*/
body.high-contrast{
    background:#000;
    color:#fff;
}

body.high-contrast .topbar,
body.high-contrast .content,
body.high-contrast .subpage-content,
body.high-contrast .legal-page,
body.high-contrast .contact-page{
    background:#000;
    color:#fff;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast p,
body.high-contrast a,
body.high-contrast label{
    color:#fff;
}

body.high-contrast a:hover,
body.high-contrast a:focus-visible{
    color:#ffeb00;
}

body.high-contrast input,
body.high-contrast textarea,
body.high-contrast .cookie-card,
body.high-contrast .legal-menu,
body.high-contrast .contact-form-box{
    background:#111;
    color:#fff;
    border-color:#fff;
}

/*powiększony tekst*/
html.large-text{
    font-size:120%;
    font-weight: bolder;
}

/*---------------------*/
.logo{
    justify-self:center;
}

.logo img{
    max-width:260px;
    height: auto;
}

    .logo-contrast{
       display:none;
    }

    body.high-contrast .logo-standard{
        display:none;
    }

    body.high-contrast .logo-contrast{
        display:block;
    }

.menu{
    display:flex;
    gap:40px;
    position:relative;
    justify-self: end;
}

.menu a{
    position:relative;
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.05s;
}

.menu a:hover{
    color:#e31b23;
}

.menu a.active{
    color:#e31b23;
}

.menu-indicator{
    position:absolute;
    bottom:-8px;
    height:2px;
    background:#e31b23;
    transition:
        left .25s ease,
        width .25s ease;
}

.menu-toggle{
    display:none;
    background:none;
    border:0;
    cursor:pointer;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:3px;
    background:#e31b23;
    margin:6px 0;
    transition:.25s;
}


.accessibility-menu{
    position:relative;
}

.accessibility-toggle{
    border:0;
    background:none;
    padding:0;

    font-family:inherit;
    font-size:inherit;
    font-weight:500;
    color:#333;

    cursor:pointer;
    transition:color .25s ease;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible{
    color:#e31b23;
}

.accessibility-panel{
    position:absolute;
    top:calc(100% + 8px);
    left:87%;
    transform:translateX(-50%);

    width:230px;
    padding:10px;

    background:#fff;
    /*border-top:4px solid #e31b23;*/
    box-shadow:0 12px 28px rgba(0,0,0,.18);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .2s ease,
        visibility .2s ease;

    z-index:200;
}

.accessibility-menu.open .accessibility-panel{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.accessibility-panel button,
.accessibility-panel a{
    display:block;
    width:100%;

    padding:8px 10px;

    border:0;
    background:none;

    color:#515151;
    font-family:inherit;
    font-size:.8rem;
    text-align:left;
    text-decoration:none;

    cursor:pointer;
    border-left:3px solid transparent;
    transition:.2s ease;
}

.accessibility-panel button:hover,
.accessibility-panel button:focus-visible,
.accessibility-panel a:hover,
.accessibility-panel a:focus-visible{
    color:#e31b23;
    border-left-color:#e31b23;
    background:#fafafa;
}

.accessibility-panel button.active{
    color:#e31b23;
    font-weight:600;
}

.accessibility-panel button.active i,
.accessibility-panel button.active .font-tool{
    color:#e31b23;
}

.accessibility-toggle{ /*strzałka do menu DOSTĘPNOŚĆ*/
    display:flex;
    align-items:center;
    gap:8px;
}

.accessibility-toggle i{
    font-size:.7rem;
    transition:transform .15s;
}

.accessibility-menu.open .accessibility-toggle i{
    transform:rotate(180deg);
}

body.high-contrast .accessibility-toggle{
    color:#fff;
}
body.high-contrast .accessibility-panel a{
    color:#fff;
}

body.high-contrast .accessibility-panel a{
    background:#000000;
}

body.high-contrast .accessibility-panel a:hover,
body.high-contrast .accessibility-panel a:focus-visible{
    color:#ffeb00;
}
.font-icon{ /*ikonka A+ */
    display:inline-block;
    width:27px;
    font-weight:700;
    font-size: medium;
    color:#393185;
}

body.high-contrast .font-icon{ /*ikonka A+ - większy kotrast*/
    color:#ffffff;
}
.font-icon span{
    font-size:.8em;
    vertical-align:top;
}

.accessibility-panel i{ /*inkonka kontrast*/
    width:22px;
    margin-right:8px;
    color:#393185;
}

body.high-contrast .accessibility-panel i{ /*ikonka kontrast - większy kotrast*/
    color:#ffffff;
}

body.high-contrast .accessibility-panel{
    background:#111;
    color:#fff;
}

body.high-contrast .accessibility-panel button{
    color:#fff;
}

body.high-contrast .accessibility-panel button:hover,
body.high-contrast .accessibility-panel button:focus-visible{
    color:#ffeb00;
    background:#222;
}
@media(max-width:1400px){
.menu{
    gap:30px;
}
}

@media (max-width:1335px){

    .contact{
        display:none;
    }

    .topbar{
        grid-template-columns:auto 1fr;
    }

    .logo{
        justify-self:start;
    }

    .menu{
        justify-self:end;
    }

}

@media(max-width:786px){

    .topbar{
        position:relative;
        display: flex;
        flex-direction: row;
        justify-content:space-between;
        align-items:center;
        padding:18px 24px;
    }

        .contact{
        display:none;
    }

    .logo img{
        max-width:170px;
        height: auto;
    }

    .menu-toggle{
        width:34px;
        height:28px;
        position:relative;
        display:block;
        background:none;
        border:0;
        cursor:pointer;
        padding:0;
        z-index:100;
    }

    .menu-toggle span{
        position:absolute;
        left:0;
    
        display:block;
    
        width:100%;
        height:3px;
        background:#2d2a7a;
        margin:6px 0;
        transition:.25s ease;
    }

    .menu-toggle span:nth-child(1){
        top:0;
    }

    .menu-toggle span:nth-child(2){
        top:12px;
    }

    .menu-toggle span:nth-child(3){
        top:24px;
    }
    
    .menu-toggle.active span:nth-child(1){

    transform:rotate(45deg);
    top:12px;

}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:rotate(-45deg);
    top:12px;
}

    .menu{
        display:none;

        position:absolute;
        top:100%;
        right:20px;

        width:300px;

        background:rgba(255,255,255,.96);
        border-top:4px solid #e31b23;
        box-shadow:
              0 10px 30px rgba(0,0,0,.18),
              inset 0 3px 0 rgba(255,255,255,.15);

        flex-direction:column;
        gap:5px;

        padding:12px 0;
        z-index:99;
    }

    .menu.open{
        display:flex;
    }

    .menu a{
        padding:14px 22px;
        border-bottom:1px solid #eee;
        color:#333;
        font-weight:600;
    }

    .menu a:last-child{
        border-bottom:none;
    }

    .menu a:hover,
    .menu a.active{
        color:#e31b23;
    }

    .menu-indicator{
        display:none;
    }

.accessibility-toggle {
    padding: 14px 22px;
    font-weight: 600;
} 


.accessibility-panel{
    position:static;
    width:100%;
    background:transparent;
    box-shadow:none;
    border:none;
    padding:0;
    margin:10px 0 0 0;
    display:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
}

   .accessibility-menu.open .accessibility-panel{
    display:block;
}
.accessibility-panel button,
.accessibility-panel a{
    padding:12px 0 12px 35px;
    background:none;
    border:none;
    border-left:2px solid transparent;
    font-size: 0.9rem;
}

.accessibility-toggle{
    padding:14px 22px;
    font-weight:600;

    width:100%;
    text-align:left;

    border:0;
    border-bottom:1px solid #eee;
    background:none;
}

/* TRYB WYSOKIEGO KONTRASTU - MOBILE */

body.high-contrast .menu{
    background:#000;
}

body.high-contrast .menu a,
body.high-contrast .accessibility-toggle{
    color:#fff;
}

body.high-contrast .menu a.active{
    color:#e31b23;
}

body.high-contrast .accessibility-panel{
    background:#111;
}

body.high-contrast .accessibility-panel button,
body.high-contrast .accessibility-panel a{
    color:#fff;
}

body.high-contrast .accessibility-panel button.active{
    color:#e31b23;
}

body.high-contrast .accessibility-toggle{
    border-bottom:1px solid #eee;
}

body.high-contrast .menu-toggle span{
    background:#fff;
}

}

/* HERO */

.hero{
    position:relative;
    background-image:url("img/tlo_start3.png");   
    background-repeat:no-repeat;    
    background-position:center bottom;   
    background-size:cover;    
    width:100%;    
    min-height:500px;    
    display:flex;    
    justify-content:center;    
    align-items:flex-end;
    padding-bottom:80px;

    filter:
        brightness(1.08)
        contrast(1.05);

    transition:filter .08s linear;
}

.hero.lightning{  /*piorun*/

    filter:
        brightness(1.15)
        contrast(1.08)
        saturate(1.08);

}
.clouds{
    position:absolute;
    inset:0;
    overflow: hidden;

    clip-path: inset(0);
    background-image:url("img/chmury.png");
    background-repeat:repeat;
    background-size:auto 100%;
    background-position:0 center;

    opacity:.55;

    animation:cloudsMove 250s linear infinite;

    pointer-events:none;
    z-index:1;
}

@keyframes cloudsMove{

    from{
        background-position:2000px center;
    }

    to{
        background-position:0 center;
    }

}

@media(max-width:1045px){
    .clouds{
        display:none;
    }
}
/*ANIMACJA TŁA

@keyframes heroMove{
    from{
        background-position:center bottom;
    }
    to{
        background-position:center top;
    }
}*/

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.15);

}

/*BŁYSKAWICE*/

.hero::after{

    content:"";

    position:absolute;

    right:0;
    top:0;

    width:45%;
    height:100%;

    background:
        radial-gradient(
        ellipse 350px 500px at 70% 25%,
        rgba(255,255,255,.45),
        rgba(255,255,255,.15) 35%,
        transparent 80%);

    opacity:0;

    transition:opacity .08s linear;

    pointer-events:none;

    z-index:2;

}

.hero.lightning::after{

    opacity:1;

}

/*-----------------*/

.tiles{
    position:relative;
    z-index:10;
    display:flex;
    gap:35px;
    flex-wrap:wrap;
    justify-content:center;
    
    transform:translateY(160px);
    z-index: 10;
}

.tile{
    position:relative;
    width:320px;
    height:320px;
    overflow:hidden;
    text-decoration:none;
    /*transition:all .25s ease;*/
    
     transition:
       
        transform .25s ease,
        
        box-shadow .25s ease,
        
        border-color .25s ease;
    
    border:4px solid transparent;

}

.tile img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.tile-content{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-start;
    padding:85px 35px;
}

.tile-content h2{
    color:white;
    font-size:2rem;
    line-height:1.2;
}


.tile:hover{
    border:4px solid red;
    transform:translateY(-8px);
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.tile:hover img{
    transform:scale(1.02);
}

.tile:active{
    transform:scale(0.96);
}

@media(max-width:1045px){

    .hero{
        background:none;
        min-height:auto;
        padding:0 0 30px;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .hero::before{
        content:"";
        display:block;
        width:100%;
        height:220px;

        background:url("img/tlo.jpg") center center/cover no-repeat;
        margin-bottom:35px;
    }

 .hero-overlay{
        display:none;
    }

    .tiles{
        transform:none;
        flex-direction:column;
        align-items:center;
        gap:30px;
    }

    .tile{
        width:85%;
        max-width:360px;
        height:auto;
        aspect-ratio:1 / 1;
        border-radius:6px;
    }

    /* WYŁĄCZENIE PIORUNÓW NA MOBILE */

.hero.lightning{
    filter:
        brightness(1.08)
        contrast(1.05);
}

.hero.lightning::after{
    opacity:0;
}
}

@media (min-width:787px) and (max-width:1045px){

    .tiles{
        flex-direction:row;
        justify-content:center;
        align-items:stretch;
        gap:20px;
        padding:0 25px;
        width:100%;
    }

    .tile{
        width:30%;
        max-width:260px;
        height:auto;
        aspect-ratio:1 / 1;
    }

    .tile img{
        width:100%;
        height:100%;
        object-fit:cover;
        display:block;
    }

    .tile-content{
        padding:75px 28px;
    }

    .tile-content h2{
        font-size:1.55rem;
        line-height:1.25;
    }
}

@media (max-width:786px){

    .tiles{
        transform: none;
        flex-direction:column;
        align-items:center;
        gap:30px;
    }

    .tile{
        width:85%0px;
        max-width: 360px;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 6px;
    }
}

/* ALERT */

.alert-box{
    padding:120px 20px 30px;
    display:flex;
    justify-content:center;
}

.alert-content{

    
    width:100%;
   
    max-width:1025px;
    height:101px;
    
    background-image:url("img/awaria.png");
    
    background-repeat:no-repeat;
    
    background-position:center;
    
    background-size:cover;

    
    display:flex;
    
    align-items:center;
    
    justify-content:space-between;

    
    padding:0 45px;

}

.alert-content span{    
    color:#fff;    
    font-size:2rem;    
    font-weight:700;
    margin-left:280px;
}




.alert-phone{
    color:#ff0000;
    font-size:2.6rem;
    font-weight:800;
    text-decoration:none;

    display:inline-block;
    margin-left: 40px;
    margin-right:auto;      /* zamiast padding */

    transition:
        color .25s ease,
        transform .25s ease,
        text-shadow .25s ease;
}

.alert-phone:hover{
    
    transform:translateY(-2px);

    
    text-shadow:
       
            0 0 6px rgba(255,255,255,.8),
    
            0 0 6px rgba(255,255,255,.7),
            0 2px 6px rgba(0,0,0,.25);
}

@media(max-width: 1045px){

    .alert-box{
        padding:55px 20px 0px;        
        position:relative;
        padding-top:65px;        
    }

.alert-box::after{

    content:"";
    display:none;

    position:absolute;

    left:50%;
    bottom:15px;
 
    transform:translateX(-50%);
    width:85%;
        
    max-width:360px;
    height:2px;
   
    background:#e31b23;       
}    

.alert-box::before{

    content:"";

    position:absolute;

    top:25px;
    left:50%;

    transform:translateX(-50%);

    width:100%;
    /*max-width:360px;*/

    height:2px;

    background:#e11b22;
} 



    .alert-content{
        width:100%;
        max-width:360px;
        aspect-ratio:auto;
        
        height:auto;
        min-height:100px;

        background-image:none;
        background:#efedf2;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:16px;

        padding:10px 20px;
        text-align:center;
        border-radius:4px;
    }

    body.high-contrast .alert-content{
    background:#000000;
}

    .alert-content span{
        padding:0;
        margin:0;

        font-size:1.85rem;
        line-height:1.2;
        text-align:center;
        color: rgb(0, 0, 102);
    }

    body.high-contrast .alert-content span{
    color:#fffb00
}

    .alert-phone{
        padding:0;
        margin:0;

        font-size:2rem;
        font-weight: 800;
        letter-spacing: 1px;
        line-height:1.1;
        text-align:center;
    }
}

@media (max-width: 786px) {
    .alert-box::before {
        content: "";
        position: absolute;
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        max-width: 360px;
        height: 2px;
        background: #e11b22;
    }

    .alert-box {
        padding: 50px 20px 30px;
        position: relative;
        padding-top: 60px;
    }
}

/* CONTENT */

.content{
    width: 100%;
    max-width:1045px;
    margin:auto;
    padding:0px;
    box-sizing: border-box;
    text-align:left;
}

.content h2{
    text-align:center;

    font-size:1.2rem;

    font-weight:700;

    margin-bottom:25px;

    color:#3d3d3d;
}

.content p{
    width: 100%;
    text-align:left;

    font-size:1.05rem;

    line-height:1.8;

    color:#5d5d5d;

    margin-bottom:30px;
}

.content-wrapper{

    max-width:955px;
    margin:0 auto 20px;
}

.section-line{

    width:100%;
    height:2px;

    background:#e11b22;

    margin:50px 0 50px;
}

.content .section-line:last-child{
    margin-top:50px;
    margin-bottom:0;
}

    @media(max-width:1000px){
    .content-wrapper {
    max-width: 750px;
    margin: 0 auto 20px;
}
}

@media(max-width:786px){

    .content{
        padding:0px 22px 45px;
    }

    .content .section-line{
        width:100%;
        max-width:360px;
        margin:0 auto 55px;
    }

    .content .section-line:last-child{
        margin:50px auto 0;
    }

    .content-wrapper{
        max-width:460px;
        margin:0 auto;
    }

    .content h2{
        font-size:1.35rem;
        text-align:center;
        margin-bottom:28px;
        line-height:1.25;
    }

    .content p{
        font-size:1rem;
        line-height:1.65;
        text-align:left;
        margin-bottom:26px;
    }
}


/* DOCUMENTS */

.documents{
    display:flex;
    justify-content:center;
    gap:100px;
    flex-wrap:wrap;
    padding:100px 20px 40px;
}

.doc{
    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.doc img{
    width:90px;
}


.doc-title{
    background:none;
    border:0;
    font-family:inherit;
    font-size:1rem;
    font-weight: 700;
    color:#515151;
    cursor:pointer;
    transition:.05s;

    display:flex;
    align-items:center;
    gap:8px;
}

.doc-title::after{
    content:"";

    width:7px;
    height:7px;

    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;

    transform:rotate(45deg) translateY(-2px);

    transition:.05s;
}

.doc.open .doc-title{
    color:#e31b23;
}

.doc.open .doc-title::after{
    transform:rotate(-135deg) translateY(-1px);
}

.doc-title:hover{
    color:#e31b23;
}

body.high-contrast .doc-title{
    color:#ffffff;
}

body.high-contrast .doc-title:hover{
    color:#ffeb00;
}

.arrow{
    margin-left:4px;
    font-size:1.2rem;
}

.doc-menu{
    position:absolute;
    top:140px;
    left:50%;
    transform:translateX(-50%);

    display:none;

    width:250px;
    background:rgba(255,255,255,.96);
    padding:10px 15px;
    box-shadow:7px 8px 13px 0px rgba(0, 0, 0, 0.441);

    border-radius:5px;

    z-index:50;

    max-height:200px;
    overflow-y:auto;
    overflow-x:hidden;
}

body.high-contrast .doc-menu{
    background:#000000;
}

.doc.open .doc-menu{
    display:block;
}

.doc.open .arrow{
    display:inline-block;
    transform:rotate(180deg);
}


.doc-menu a{
    display:block;
    padding:8px 5px 8px 5px;
    color:#666;
    text-decoration:none;

    border-left:3px solid transparent;

    transition:.2s;

    line-height:1.5;

    font-size:.8rem;

}

body.high-contrast .doc-menu a{
    background:#000000;
}

.doc-menu a:hover{
    border-left-color:#e31b23;
    color:#e31b23;
    background:#fafafa;
    font-weight: 500;
}

@media(max-width:768px){

    .documents{
        max-width:360px;
        margin:0 auto;
        padding:55px 20px 70px;

        display:grid;
        grid-template-columns:repeat(2, 1fr);
        column-gap:20px;
        row-gap:55px;

        justify-items:center;
        align-items:start;
    }

    .doc{
        width:120px;
        align-items:center;
        gap:14px;
    }

    .doc img{
        width:86px;
    }

    .doc-title{
        justify-content:center;
        font-size:1rem;
        text-align:center;
    }
    .doc-menu{
        left:0;
        transform:none;
        width:260px;
    }

    .documents .doc:nth-child(even) .doc-menu{
        left:auto;
        right:0;
    }   
}

/* FOOTER */

.footer{
    margin-top:80px;

    background-image:url("img/footer-bg.jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;

    color:#fff;
}

.footer-map{
    color:#fff;
    text-decoration:none;
    
    transition:.25s;
}

.footer-map:hover{
    color:#e31b23;
}

.footer-overlay{
    background:rgba(0,0,0,.58);
    padding: 30px 20px;
}

.footer-wrapper{
    max-width:1045px;
    margin:0 auto;

    display:flex;
    justify-content:space-between;
    align-items: flex-start;
    gap:70px;
}

.footer-column{
    flex:1;
}
.footer-emergency{
    display:flex;
    align-items:center;
    gap:10px;
}

.footer-emergency i{
    color:#e31b23;
    font-size:1.25rem;
}

.footer-emergency a{
    color:#e31b23;
    font-size:1.35rem;
    font-weight:800;
    letter-spacing:.5px;
    display:inline-block;

    transition:
        transform .25s ease,
        text-shadow .25s ease;
}

.footer-emergency a:hover{
    transform:translateY(-2px);

    text-shadow:
        0 4px 8px rgba(0,0,0,.3),
        0 0 8px rgba(227,27,35,.25);
}

.footer-brand{
    display:flex;
    flex-direction:column;
}
.footer-logo{
    max-width:190px;
    margin-bottom:22px;
}

.footer h3{
    font-size:1.15rem;
    font-weight:800;
    margin-bottom:22px;
    white-space: nowrap;
}

.footer-brand p{
    font-style:italic;
    line-height:1.7;
}

.footer p{
    font-size:.95rem;
    line-height:1.4;
    margin-bottom:15px;
}

.footer a{
    color:#fff;
    text-decoration:none;
    transition:.25s;
}

.footer a:hover{
    color:#ff2020;
}

.footer-contact-link{
    display:flex;
    align-items:center;
    gap:10px;
}

.footer-contact-link i{
    width:18px;
    color:#fff;
    text-align:center;
}

@media(max-width:820px){
    
    .footer{
        margin-top: 20px;
    }
    .footer-overlay{
        padding:35px 25px;
    }

    .footer-wrapper{
        max-width:360px;
        margin:0 auto;

        flex-direction:column;
        align-items:center;
        justify-content:center;

        gap:30px;
        text-align:center;
    }

    .footer-column,
    .footer-brand{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-logo{
        margin:0 auto 22px;
        max-width:170px;
    }

    .footer h3{
        text-align:center;
        white-space:normal;
        margin: 2px;
    }

    .footer p{
        text-align:center;
        margin-bottom: 10px;
    }
}


/* COPYRIGHT */


.copyright{
    background:#070b14;
    color:#adadad;
    text-align:center;
    padding:13px 20px;
    font-size:.7rem;
}

/* ==========================================
   COOKIES
========================================== */

.cookie-banner{

    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;

    padding:25px;

    background:rgba(7,11,20,.72);
    backdrop-filter:blur(3px);

    opacity:0;
    visibility:hidden;

    transition:
        opacity .35s ease,
        visibility .35s ease;

    z-index:2000;
}

.cookie-banner.show{

    opacity:1;
    visibility:visible;

}

.cookie-card{
    width:100%;
    max-width:520px;

    background:#fff;
    border-top:2px solid #e31b23;
    border-radius:0 0 4px 4px;

    padding:34px 38px 30px;

    box-shadow:0 20px 55px rgba(0,0,0,.35);

    transform:translateY(25px) scale(.96);
    opacity:0;
    transition:
        transform .35s ease,
        opacity .35s ease;
}

.cookie-banner.show .cookie-card{

    transform:translateY(0) scale(1);

    opacity:1;

}

.cookie-card h2{
    color:#393185;
    font-size:1.35rem;
    font-weight:700;
    margin-bottom:16px;
}

.cookie-card p{
    color:#515151;
    font-size:.95rem;
    line-height:1.7;
    margin:0;
}

.cookie-card a{
    color:#e31b23;
    font-weight:600;
    text-decoration:none;
}

.cookie-card a:hover{
    text-decoration:underline;
}

.cookie-actions{
    display:flex;
    justify-content:center;
    gap:12px;

    margin-top:26px;
}

.cookie-button{
    min-width:120px;

    padding:11px 20px;

    font-family:inherit;
    font-size:.9rem;
    font-weight:600;

    border:2px solid #e31b23;
    cursor:pointer;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.cookie-accept{
    background:#e31b23;
    color:#fff;
}

.cookie-accept:hover{
    background:#c5161d;
    border-color:#c5161d;
    transform:translateY(-2px);
}

.cookie-reject{
    background:#fff;
    color:#e31b23;
}

.cookie-reject:hover{
    background:#f9e8e9;
    transform:translateY(-2px);
}

.cookie-button:focus-visible,
.cookie-card a:focus-visible{
    outline:3px solid #393185;
    outline-offset:3px;
}


@media(max-width:768px){

    .cookie-banner{
        padding:20px;
    }

    .cookie-card{
        max-width:420px;
        padding:28px 22px 24px;
    }

    .cookie-card h2{
        font-size:1.2rem;
    }

    .cookie-actions{
        flex-direction:column-reverse;
    }

    .cookie-button{
        width:100%;
    }
}



/* PODSTRONA - DUŻE KAFELKI */
/* SUBPAGE */

.subhero{
    height:400px;
    background-size:cover;
    background-position:top;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:0 20px 55px;
    position:relative;
}

.subhero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.10);
}

.subhero h1{
    position:relative;
    z-index:1;
    color:#fff;
    font-size:3.4rem;
    text-transform:uppercase;
    letter-spacing:2px;
    text-align:center;
}

.subhero h1 span{

    display:block;
    font-size:4rem;
    font-weight:800;
    letter-spacing:6px;
        text-shadow:
        0 2px 6px rgba(0,0,0,.45),
        0 6px 18px rgba(0,0,0,.55);
}

.subhero h1 small{
    display:block;
    margin-top:10px;
    font-size:2.3rem;
    font-weight:500;
    text-transform:none;
        text-shadow:
        0 2px 6px rgba(0,0,0,.45),
        0 6px 18px rgba(0,0,0,.55);
}


.subhero-sales{ /*tło - sprzedaż*/
    background-image:url("img/sprzedaz-bg6.jpeg");
}

.subhero-sales-dystrybucja{ /*tło - dystrybucja*/
    background-image:url("img/dystrybucja-bg5.jpeg");
}

.subhero-sales-info { /*tło - informacje*/
    background-image:url("img/info-bg.jpg");
}

.subhero-sales-kontakt { /*tło - kontakt*/
    background-image:url("img/kontakt-bg.jpg");
}

.subpage-content{
    padding:70px 20px 90px;
}

.subpage-wrapper{
    max-width:955px;
    margin:0 auto;
}

.subpage-wrapper h2{
    text-align:center;
    font-size:1.25rem;
    text-transform:uppercase;
    margin-bottom:28px;
    color:#3d3d3d;
}

.download-list{
    list-style:none;
    margin-bottom:45px;
}

.download-list li{
    margin-bottom:12px;
}

.download-list a{

    display:block;
    padding:5px 18px;
    border-left:3px solid transparent;
    color:#555;
    text-decoration:none;
    transition:.05s;

}

.download-list a:hover{

    color:#02073c; /* kolor tekstu po najechaniu na link */
    font-weight: 600;
    border-left:3px solid #e31b23; /*czerwona kreska z lewej - pojawia się po najechaniu na link*/
    padding-left:24px;
    /*background:#ffffff65; /*pasek, który pojawia się po najechaniu na link*/
}

.section-line2{

    width:100%;
    height:0.1px;

    background:#d8d8d8;

    margin:25px 0 25px;
}

.info-center{  /* edycja <p> w informacje*/
    text-align:center;
    margin-top: 50px;
    margin-bottom:100px;
}

/*wersja na telefon dla zdjęcia*/
@media (max-width:1000px){

    .subhero{
        min-height:220px;
        height:220px;
        padding:0;
        display:block;
        background-position:center;
    }

    .subhero h1{
        position:absolute;
        top:100%;
        left:0;

        width:100%;
        margin:0;
        padding:18px 20px 40px;

        background:#efedf2;
        color:#393185;
        text-align:center;
        text-shadow:none;
    }

    .subhero h1 span{
        font-size:2.8rem;
        color:#1b145a;
        text-shadow: none;
        letter-spacing: 3px;
    }

    .subhero h1 small{
        font-size:1.5rem;
        color:#1b145a;
        text-shadow: none;
        margin-top: 1px;
        letter-spacing: normal;
    }

    .subpage-content{
        padding-top:170px;
    }
}
/*---------------*/

/* ==========================================
   PODSTRONA RODO
========================================== */

html{
    scroll-behavior:smooth;
}

.legal-page{
    background:#efedf2;
}

.legal-header{
    padding:10px 20px 55px;
    text-align:center;
}

.legal-header-wrapper{
    width:100%;
    max-width:955px;
    margin:0 auto;
}

.legal-header h1{
    color:#393185;
    font-size:3rem;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:18px;

    color:#393185;
    font-size:1.45rem;
    font-weight:700;
    margin-bottom:24px;
}

.legal-header p{
    color:#5d5d5d;
    font-size:1.05rem;
    line-height:1.7;
}

.legal-content{
    padding:0 20px 90px;
}

.legal-wrapper{
    width:100%;
    max-width:1045px;
    margin:0 auto;

    display:grid;
    grid-template-columns:260px 1fr;
    gap:60px;
    align-items:start;
}


/* MENU WEWNĘTRZNE */

.legal-menu{
    position:sticky;
    top:25px;

    background:#fff;
    border-top:4px solid #e31b23;
    box-shadow:0 10px 25px rgba(0,0,0,.10);

    padding:22px 0;
}

.legal-menu h2{
    color:#393185;
    font-size:1.1rem;
    font-weight:700;
    padding:0 22px 18px;
}

.legal-menu a{
    display:block;

    padding:12px 22px;

    color:#515151;
    font-size:.95rem;
    line-height:1.4;
    text-decoration:none;

    border-left:3px solid transparent;

    transition:
        color .25s ease,
        border-color .25s ease,
        padding-left .25s ease,
        background .25s ease;
}

.legal-menu a:hover,
.legal-menu a:focus-visible{
    color:#e31b23;
    border-left-color:#e31b23;
    padding-left:27px;
    background:#fafafa;
}

.legal-menu a.active{
    color:#e31b23;
    border-left-color:#e31b23;
    padding-left:27px;
    background:#fafafa;
    font-weight:600;
}


/* TREŚĆ */

.legal-sections{
    min-width:0;
}

.legal-section{
    scroll-margin-top:40px;
    padding:0 0 45px;
    margin-bottom:45px;

    border-bottom:2px solid #e31b23;
}

.legal-section:last-child{
    margin-bottom:0;
}

.legal-section h1{
    color:#393185;
    font-size:1.45rem;
    font-weight:700;
    margin-bottom:24px;
}


.legal-section h2{
    color:#393185;
    font-size:1.45rem;
    font-weight:700;
    margin-bottom:24px;
}

.legal-section p{
    color:#5d5d5d;
    font-size:1rem;
    line-height:1.8;
    margin-bottom:18px;
}

.legal-section p:last-child{
    margin-bottom:0;
}

.legal-list{

    margin:18px 0;
    padding-left:22px;

}

.legal-list li{

    margin-bottom:10px;
    line-height:1.8;

}

.legal-list li::marker{

    color:#333;

}

.legal-subtitle{
    margin:28px 0 10px;
    font-size:1.15rem;
    font-weight:700;
    color:#393185;
}

/* ===========================
   LINKI W SEKCJI RODO
=========================== */

.legal-link{

    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-top:18px;

    color:#393185;
    font-weight:600;
    text-decoration:none;

    transition:
        color .15s ease,
        transform .15s ease;

}

.legal-link::before{

    content:"\f15c";
    font-family:"Font Awesome 6 Free";
    font-weight:900;

    color:#e31b23;

}

.legal-link:hover{

    color:#e31b23;
    transform:translateX(4px);

}

.legal-link2{

    display:inline-flex;
    align-items:center;


    color:#393185;
    font-weight:500;
    text-decoration:none;

    transition:
        color .15s ease,
        transform .15s ease;

}


.legal-link2:hover{

    color:#e31b23;
    transform:translateX(0px);

}

@media(max-width:768px){

    .legal-header{
        padding:45px 22px 35px;
    }

    .legal-header h1{
        font-size:2.2rem;
        letter-spacing:2px;
    }

    .legal-content{
        padding:0 22px 60px;
    }

    .legal-wrapper{
        display:block;
        max-width:520px;
    }

    .legal-menu{
        position:relative;
        top:auto;
        margin-bottom:45px;
    }

    .legal-menu a{
        padding:13px 20px;
    }

    .legal-menu a:hover,
    .legal-menu a:focus-visible{
        padding-left:25px;
    }

    .legal-section{
        scroll-margin-top:20px;
        padding-bottom:35px;
        margin-bottom:35px;
    }

    .legal-section h2{
        font-size:1.25rem;
        line-height:1.3;
    }

    .legal-section p{
        font-size:1rem;
        line-height:1.7;
    }
}


/* ==========================================
   KONTAKT
========================================== */

.contact-page{
    background:#efedf2;
}

.contact-header{
    padding:65px 20px 45px;
    text-align:center;
}

.contact-header-wrapper{
    width:100%;
    max-width:955px;
    margin:0 auto;
}

.contact-header h1{
    color:#393185;
    font-size:2.5rem;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:16px;
}

.contact-header p{
    color:#5d5d5d;
    font-size:1.05rem;
    line-height:1.7;
}

.contact-section{
    padding:70px 20px 90px;
}

.contact-wrapper{
    width:100%;
    max-width:1045px;
    margin:0 auto;

    display:grid;
    grid-template-columns:45% 1fr;
    gap:60px;
    align-items:start;
}


/* DANE KONTAKTOWE */

.contact-details{

    padding:30px 28px;
}

.contact-details h2{
    color:#393185;
    font-size:1.15rem;
    line-height:1.4;
    margin-bottom:20px;
}

.contact-details h3{
    color:#393185;
    font-size:1.15rem;
    line-height:1.4;
    margin-bottom:20px;
}

.contact-details p{
    color:#515151;
    font-size:.95rem;
    line-height:1.7;
    margin-bottom:14px;
}

.contact-details a{
    color:#515151;
    font-weight:600;
    text-decoration:none;
    transition:.15s;
}

.contact-details a:hover{
    color:#e31b23;
}

.contact-line{
    width:100%;
    height:2px;
    background:#e31b23;
    margin:55px 0 25PX;
}
.contact-emergency a{
    display:inline-block;
    color:#e31b23;
    font-size:1.5rem;
    font-weight:800;
    text-decoration:none;

    transition:
        transform .25s ease,
        color .25s ease,
        text-shadow .15s ease;
}

.contact-emergency a:hover{
    color:#ff0008;
    transform:translateY(-2px);

    text-shadow:
        0 5px 5px rgba(165, 5, 5, 0.25),
        0 5px 5px rgba(129, 0, 0, 0.2);
}


/*ikonki*/
.contact-details i{
    width:22px;
    color:#393185;
    margin-right:10px;
    text-align:center;
}

.contact-emergency i{
    color:#e31b23;
    font-size:1.3rem;
}


/* FORMULARZ */

.contact-form-box{
    background:#fff;
    border-top:3px solid #e31b23;
    padding:24px 30px;
    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.contact-form-box h2{
    color:#393185;
    font-size:1.4rem;
    margin-bottom:28px;
}

.contact-form{
    display:grid;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.form-group label{
    color:#3d3d3d;
    font-size:.95rem;
    font-weight:600;
}

.form-group input,
.form-group textarea{
    width:100%;

    padding:8px 14px;

    font-family:inherit;
    font-size:1rem;
    color:#333;

    background:#fff;
    border:1px solid #cfcfcf;
    border-radius:3px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.form-group textarea{
    resize:vertical;
    min-height:100px;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:#393185;
    box-shadow:0 0 0 3px rgba(57,49,133,.12);
    outline:none;
}


/* CHECKBOX */

.form-consent{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:start;
}

.form-consent input{
    width:18px;
    height:18px;
    margin-top:3px;

    accent-color:#e31b23;
    cursor:pointer;
}

.form-consent label{
    color:#5d5d5d;
    font-size:.82rem;
    line-height:1.6;
}

.form-consent a{
    color:#e31b23;
    font-weight:600;
    text-decoration:none;
}

.form-consent a:hover{
    text-decoration:underline;
}


/* PRZYCISK */

.form-submit{
    justify-self:start;

    padding:10px 18px;

    font-family:inherit;
    font-size:.95rem;
    font-weight:700;

    color:#fff;
    background:#e31b23;
    border:2px solid #e31b23;

    cursor:pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.form-submit:hover{
    background:#cb0c13;
    border-color:#cb0c13;
    transform:translateY(-2px);
    box-shadow:0 8px 8px rgba(0,0,0,.18);
}

.form-submit:focus-visible,
.form-consent input:focus-visible{
    outline:3px solid #393185;
    outline-offset:3px;
}

/* "nie wypełniaj tego pola" */

.form-honeypot{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

/*informacja o wysłanym mailu*/

.form-status{
    display:none;
    margin:0 0 24px;
    padding:14px 18px;
    font-size:.9rem;
    line-height:1.5;
    border-left:4px solid;
}

.form-status.success{
    display:block;
    color:#256029;
    background:#f1f8f2;
    border-left-color:#3b8f40;
}

.form-status.error{
    display:block;
    color:#a4151b;
    background:#fff2f2;
    border-left-color:#e31b23;
}

@media(max-width:1000px){

    .contact-section{
        padding:120px 22px 60px;
    }
}

@media(max-width:768px){

    .contact-header{
        padding:45px 22px 35px;
    }

    .contact-section{
        padding:0 22px 90px;
    }

    .contact-wrapper{
        display:flex;
        flex-direction:column;
        max-width:520px;
        gap:35px;
    }

    .contact-details,
    .contact-form-box{
        width:100%;
    }

    .contact-form-box{
        padding:28px 22px;
    }

    .form-submit{
        width:100%;
    }

   .contact-details h2 {
    margin-top: 100px;
}

    .contact-details h3 {
        margin-bottom: 15px;
        margin-top: 50px;
    }
}

body.high-contrast .accessibility-panel button.active{
    color:#e31b23;
    font-weight:600;
}

body.high-contrast .accessibility-panel button.active i,
body.high-contrast .accessibility-panel button.active .font-tool{
    color:#e31b23;
}
/* RESPONSIVE

@media(max-width:918px){


    nav{
        flex-wrap:wrap;
        justify-content:center;
    }


    .tiles{
        flex-direction:column;
        align-items:center;
    }

    .alert-content{
        flex-direction:column;
        gap:20px;
        text-align:center;
        font-size:1.5rem;
    }

    footer{
        flex-direction:column;
    }
}


@media(max-width:576px){

    .tile{
        width:90%;
        height:280px;
    }

    .tile-content h2{
        font-size:1.5rem;
    }

}*/
