/*
Author: dealdesign studio
Author URI: https://dealdesign.studio/
*/



/* ====== Reset CSS ====== */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}

* , *:before, *:after{ 
     box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; -ms-box-sizing:border-box;
}


/* ====== Variables ====== */
:root {
     --theme-brown: #876C4D;
     --theme-orange: #FB5F14;
     --theme-violet: #8E63B1;
     --theme-blue: #4A73A7;
     --theme-crimson: #D9353B;
     --theme-navy: #223365;
     --theme-gray: #A7ADC1;
     --theme-turq: #119387;
     --theme-turq-light: #A0D4CF;

     --theme-beige: #CFC4B8;
     
     --gray: #D2D2D2;
     --lightgray: #E9E9E9;
     --black: #000000;

     
     --text-white: #FFEFE7; 

    --card-1:#876C4D;
    --card-2:#FB5F14;
    --card-3:#8E63B1;
    --card-4:#223365;
    --card-5:#4A73A7;
    --card-6:#A7ADC1;
    --card-7:#E9E9E9;
    --card-8:#F8F8F8;


    --font-Editorial: 'PPEditorialOld';
    --font-Agrandir: 'PPAgrandir';
    --font-Fragment: 'PPFragment Sans';


}

    
h1,h2,h3,h4,h5,p{
    word-break: break-word;
}


.lang_switches a{
    color:#fff;
    text-transform: uppercase;
    text-decoration: unset;
    font-family: var(--font-Agrandir);
    font-size: 18.5px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.555px;
    padding: 10px 16px;
    min-width: 50px;
    min-height: 50px;
    aspect-ratio: 1/1;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    margin-left: 16px;
    display: inline-block;
    align-content: center;
    transition: .3s;
}
.lang_switches a:hover{
    background: rgba(120, 120, 120, 0.20);
}
.lang_switches a.active{
    background: rgba(0, 0, 0, 0.30);
}

.bg_color_1 { background-color: var(--card-1); }
.bg_color_2 { background-color: var(--card-2); }
.bg_color_3 { background-color: var(--card-3); }
.bg_color_4 { background-color: var(--card-4); }
.bg_color_5 { background-color: var(--card-5); }
.bg_color_6 { background-color: var(--card-6); }
.bg_color_7 { background-color: var(--card-7); }
.bg_color_8 { background-color: var(--card-8); }
.bg_color_9 { background-color: var(--card-9); }
.bg_color_10 { background-color: var(--card-10); }
.bg_color_11 { background-color: var(--card-11); }
.bg_color_12 { background-color: var(--card-12); }


.sub_card {
    background-color: var(--bg-light);
}

img{
    width: 100%;
    height: auto;
}

@media (prefers-color-scheme: dark) {
    .sub_card {
        background-color: var(--bg-dark);
    }
}

/* ====== Layout ====== */


/* ====== ICONS ====== */
.icon{
    display: inline-block;
    flex-shrink: 0;
    width: auto;
    height: auto;

}
.icon_arrow ,.icon_arrow_black {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M16 0C16 0.742 16.733 1.85 17.475 2.78C18.429 3.98 19.569 5.027 20.876 5.826C21.856 6.425 23.044 7 24 7M24 7C23.044 7 21.855 7.575 20.876 8.174C19.569 8.974 18.429 10.021 17.475 11.219C16.733 12.15 16 13.26 16 14M24 7H0' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 24px;
    height: 14px;
}
.icon_arrow_black {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14'%3E%3Cpath d='M16 0C16 0.742 16.733 1.85 17.475 2.78C18.429 3.98 19.569 5.027 20.876 5.826C21.856 6.425 23.044 7 24 7M24 7C23.044 7 21.855 7.575 20.876 8.174C19.569 8.974 18.429 10.021 17.475 11.219C16.733 12.15 16 13.26 16 14M24 7H0' stroke='black' stroke-width='3'/%3E%3C/svg%3E");
}


/* 27.06.2026 */

header{
    position: fixed;
    width:100%;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    z-index: 99;
}

    header .logo{
        text-decoration: unset;
        display: flex;
        flex-direction: column;
        transition: .2s;
        width: fit-content;
        font-family: var(--font-Agrandir);
    }
        header .logo:hover{
            transform: scale(1.03);
        }
        
    header span{
        color:#ffffff;
        text-transform: uppercase;
        display: block;
    }
        header span:nth-child(1){
            font-size: 32.1px;
            font-weight: 700;
        }
        header span:nth-child(2){
            font-size: 19.5px;
            font-weight: 400;
        }

    header .menu .menu_button{
        background:#FFFFFF33;
        height: 50px;
        width: 50px;
        padding:10px 16px;
        border-radius: 10px;
        display: grid;
        place-content: center;
        align-content: space-around;
        transition: .2s;
        cursor: pointer;
    }
    header .menu .menu_button:hover{
        transform: scale(1.03);
    }

        header .menu .menu_button .line{
            display: block;
            background:#FFFFFF;
            width: 24px;
            height: 2px;
        }

    header::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #000000dd 0%, rgba(128, 128, 128, 0) 0%, rgba(10, 10, 10, .6) 0%, rgba(128, 128, 128, 0) 100%);
        z-index: -1;
        max-height: 150px;
        
    }

.main_image{
    min-height: 90vh;
    z-index: 5;
}
    
    .main_image::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #000000, rgba(128, 128, 128, 0));
        z-index: 1;
        
    }

    .main_image img{
        display: block;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        object-position: bottom;
        position:fixed;
        pointer-events: none;
        top:0;
    }

.right_side_of_header{
    display: inline-flex;
    gap:16px;
    align-items: center;
}

.d-none{display: none;}

/* ====== CARDS ====== */
.cards{
    position: relative;
    top:0;
    z-index: 10;
    
}
.card{
    position: sticky;
    top: 0;
    transform: translateY(calc(5vh * var(--index)));
     /* każda karta dostaje index przez CSS var */
    overflow: visible;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    z-index: calc(10 + var(--index));
    transition: all 0.3s ease;
}

.card.expanded {
  position: relative;
  top: auto;
}



.card::before {
    content: "";
    display: block;
    width: 100%;
    height: 140px;
    position: absolute;
    bottom: -90px;
    z-index: -1;
}



.bottom_overlay{
    visibility: hidden;
    position: fixed;
    z-index: 10;
    height: 25vh;
    width: 100%;
    top: 0;
}

.sub_card{
    border-radius: 40px;
    min-height: auto;
    padding:144px 120px;
}
.card_lead{
    padding:144px 120px;
}

.card_lead p {
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 620px;
    float: right;
    margin-right: 90px;
}

.card_lead .subtitle{
    font-family: var(--font-Editorial);
    font-size: clamp(72px, 150px, 150px);
}
.card_lead button {
    all: unset;
    font-family: var(--font-Agrandir);
    display: inline-flex;
    padding: 4px 20px;
    outline: solid;
        outline-width: 1px;
        outline-color: #fff;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    border-radius: 60px;
    pointer-events: all;
    cursor: pointer;
    margin: 32px 0;
    float: right;
    align-items: center;
    gap: 16px;
    transition: 
        transform 0.4s ease,
        gap 0.4s ease,
        opacity 0.1s ease,
        margin 0.4s ease,
        padding 0.4s ease;
}
.card_lead button span{
    transition: 
        transform 0.4s ease,
        gap 0.4s ease,
        opacity 0.1s ease,
        margin 0.4s ease,
        padding 0.4s ease, 
        gap 0.3s ease;
}
.card_lead button:hover{
    gap:24px;
}
.card_lead button:hover span{
    transform: rotate(90deg);
}
.card_lead button.readmore_2:hover span{
    transform: rotate(-45deg);
}

.card_lead button.black{
    filter: brightness(0);
}

.card_lead button.hidden, .card_lead button.hidden span {
    pointer-events: none;
    opacity: 0;
    position: absolute;
}

.card_lead button.visible {
  display: inline-flex;
  transition: unset;
}

/* ====== CARD_1 ====== */
.card_1,.card_1::before{
    background-color:var(--card-1);
}

.card_1 .card_lead{
    display: flex;
    flex-direction: column;
    gap: 48px;
}  

.card_1 .card_lead .subtitle{
    color: var(--theme-beige);
    font-style: italic;
    font-weight: 700;
    line-height: 110px;
    display: flex;
    flex-direction: column;
    gap:48px;
    font-size: clamp(32px, 10vw, 150px);
}
.card_1 .card_lead .subtitle span{
    font-size: clamp(48px, 62px, 62px);
}
.card_1 .card_lead p{
    color: var(--black);
}

.card_1 .sc_1 h3{
    font-family: var(--font-Agrandir);
    font-size: clamp(32px, 10vw, 92px);
    font-style: normal;
    font-weight: 700;
    line-height: 116px;
    word-break: keep-all;
}

.card_1 .sc_2 {
    min-height: 922px;
    padding: 0 120px;
    display: grid;
    align-items: end;
    position: relative;
    top: calc(-48px - 6px);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0) 28.5%, rgba(135, 108, 77, 1) 90%), url(/assets/img/card_1_sc_2.webp) lightgray 50% / cover no-repeat;
}
.card_1 .sub_card.sc_2::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, var(--theme-brown), transparent);
}
.card_1 .sc_2 h3{
    color:var(--theme-beige);
    font-family: var(--font-Agrandir);
    font-size: clamp(32px, 10vw, 92px);
    font-style: normal;
    font-weight: 700;
    line-height: 105px;
    display: block;
    z-index: 3;
    padding: 72px 0 20px 0;
}


.card_1 .sc_3 {
    background-image: url(/assets/img/card_1_sc_3.jpg);
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 80px 50px 72px 50px;
    display: grid;
    align-items: end;
    position: relative;
    aspect-ratio: 1440 / 1511;
    border-radius: 40px 40px 0 0;

}
.card_1 .sc_3 span{
    color: #534132;
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    padding: 6px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background:#FCFAF1;
    border-radius: 10px;
    max-width: 360px;
}

.card_1 .sc_4{
    position: relative;
    top: calc(-24px - 12px);

}
.card_1 .sc_4 .timeline{
    display: flex;
    flex-direction: column;
    gap: 112px;
}
.card_1 .sc_4 .timeline_section {
    padding-top: 24px;
    border-top: 1px solid var(--black);
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 72px;
}
.card_1 .sc_4 .timeline_section:nth-child(odd){
    margin-right: 19vw;
}
.card_1 .sc_4 .timeline_section:nth-child(even){
    margin-left: 19vw;
}
.card_1 .sc_4 .year {
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(40px, 7vw, 80px);
    font-style: normal;
    font-weight: 400;
    width: 100%;
    position: relative;
    top: -20px;
    word-break: normal;
}
.card_1 .sc_4 p {
    color: var(--black);
    font-family: var(--font-Fragment);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    word-break: normal;
}



.card_1 .sc_5 div{
    z-index: 10;
    position: relative;
}


.card_1 .sc_5 summary{
    color: var(--theme-beige);
    font-family: var(--font-Agrandir);
    font-size: 62px;
    font-style: normal;
    font-weight: 700;
    line-height: 105px;
    border-top: 1px solid var(--theme-beige);
}


.card_1 .sc_5 h3{
    color: #FFEFE7;
    font-family: var(--font-Editorial);
    font-size: clamp(32px,10vw,160px);
    font-style: italic;
    font-weight: 400;
    line-height: 180px; /* 118.75% */
}
.card_1 .sc_5 details{
    margin-top: 90px;
}
.card_1 .sc_5 details summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding-right: 1.5em;
  outline: 0;
  display: inline-flex;
  align-items: center;
    padding: 48px 0;
    width: 100%;
}
.card_1 .sc_5 details div{
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    align-items: flex-end;
    
}
.card_1 .sc_5 details div > p{
    max-width: 800px;
}

.card_1 .sc_5 p{
    color: var(--theme-beige);
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.card_1 .sc_5 details summary::-webkit-details-marker,
.card_1 .sc_5 details summary::-webkit-details-marker,
.card_1 .sc_5 details summary::marker {
  display: none;
}

.card_1 .sc_5 details summary:after {
  content: url('/assets/img/gg_chevron-up-o.svg');
  color: var(--theme-beige);
  position: absolute;
  font-size: 3rem;
  line-height: 0;
  right: 0;
  font-weight: 200;
  transform-origin: center;
  transition: 200ms linear;
  transform: rotate(0deg);
}

.card_1 .sc_5 details[open] summary:after{
    transform: rotate(180deg);
}


.card_1 .sc_5{
    background-image: url('/assets/img/card_1_sc_5.webp');
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: bottom ;
    min-height: 100vh;
    position: relative;
    padding-bottom: 0;
}
.card_1 .sc_5::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #876C4D 0%, 56%, rgba(0, 0, 0, 0.00) 60%, rgba(0, 0, 0, 0.00) 100%);
    left: 0;
}
.card_1 .sc_5 .bg_space {
    min-height: 95vh;
}





/* ====== CARD_2 ====== */
.card_2, .card_2::before{
    background-color:var(--card-2);
}

.card_2 .subtitle{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card_2 .subtitle,
.card_2 .lead p{
    color: var(--text-white);

}
.card_2 .card_lead {
    padding-bottom: 80px;
}
.card_2 .lead_text {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    align-items: flex-end;
    margin-top: 64px;
}
.card_2 .lead_text p{
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 710px;
    align-items: flex-end;
    
}

.card_2 .dashed_line > span{
    background-color: var(--text-white);
}
.card_2 .sub_card.lead{
    padding-top: 10px;
}
.card_2 .sc_1 img{
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;    
}
.card_2 .sc_1 .gal_1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.card_2 .sc_1 .gal_1 .col {
    display: flex;
    flex-direction: column;
    gap: 70px;
    justify-content: space-between;
}

.card_2 .sc_1 .gal_2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px 48px;
    padding-top: 70px;
}


/* ====== CARD_3 ====== */
.card.card_3, .card_3::before{
    background-color:var(--card-3);
}

.card_3 .subtitle{
    color: #000;
    font-family: var(--font-Editorial);
    font-size: 160px;
    font-style: italic;
    font-weight: 400;
    line-height: 190px;
    display: inline-flex;
    flex:1 0 0;
}
.card_3 .subtitle2{
    color: #000;
    font-family: var(--font-Agrandir);
    font-size: 62px;
    font-style: normal;
    font-weight: 700;
    line-height: 110px; /* 177.419% */
}


.card_3 .card_lead {
    padding-bottom: 80px;
}
.card_3 .lead_text {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    align-items: flex-end;
    margin-top: 64px;
    margin-right: 90px;
}
.card_3 .lead_text p{
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width: 710px;
    align-items: flex-end;  
    
}
.card_3 .dashed_line > span{
    background-color: var(--black);
}
.card_3 .sub_card.lead{
    padding-top: 10px;
}

.card_3 .sc_1 .column_gallery {
    column-count: 3;
    column-gap: 48px;
}
.card_3 .sc_1 .column_gallery img {
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: 48px;
    break-inside: avoid;
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 36/28;
}
.card_3 .sc_1 .column_gallery img.col-img-1,
.card_3 .sc_1 .column_gallery img.col-img-3,
.card_3 .sc_1 .column_gallery img.col-img-10,
.card_3 .sc_1 .column_gallery img.col-img-12,
.card_3 .sc_1 .column_gallery img.col-img-15{
    aspect-ratio: 36/52;
}

.card_3 .sc_3 .column_gallery {
    column-count: 3;
    column-gap: 48px;
}
.card_3 .sc_3 .column_gallery img {
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: 48px;
    break-inside: avoid;
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 36/28;
}
.card_3 .sc_3 .column_gallery img.col-img-1,
.card_3 .sc_3 .column_gallery img.col-img-4,
.card_3 .sc_3 .column_gallery img.col-img-10,
.card_3 .sc_3 .column_gallery img.col-img-12,
.card_3 .sc_3 .column_gallery img.col-img-14{
    aspect-ratio: 36/52;
}

.card_3 .sc_2 .dashed_line > span {
    background: unset;
}
.card_3 .sc_2 .dashed_line > span > span {
    background: var(--black);
    rotate:(-4deg);
    margin-top: 24px;
}

/* ====== CARD_4 ====== */
.card_4, .card_4::before{
    background-color:var(--card-4);
}

.card_4 h2.subtitle{
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(44px,8vw,96px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.card_4 h3.subtitle{
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(44px,8vw,96px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.card_4 h3.subtitle span{
    font-family: var(--font-Editorial);
    margin-right: 10px;
    font-style: italic;
    font-weight: 400;   
}

.download_buttons {
    display: inline-flex;
    gap: 48px;
    margin-top: 64px;
}
.download_buttons a{
    display: inline-flex;
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-items: center;
    padding: 4px 20px;
    outline: solid;
    outline-width: 1px;
    outline-color: var(--black);
    color: var(--black);
    border-radius: 60px;
    pointer-events: all;
    cursor: pointer;
    margin: 32px 0;
    gap:16px;
    transition: .4s;
    text-decoration: unset;
}
.download_buttons a:hover{
    gap: 24px;
}

a.button{
    display: inline-flex;
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-items: center;
    padding: 4px 20px;
    outline: solid;
    outline-width: 1px;
    outline-color: var(--black);
    color: var(--black);
    border-radius: 60px;
    pointer-events: all;
    cursor: pointer;
    margin: 32px 0;
    gap:16px;
    transition: .4s;
    text-decoration: unset;
}
a.button:hover{
    gap: 24px;
}


/* ====== CARD_5 ====== */
.card_5, .card_5::before{
    background-color:var(--card-5);
}
.card_5 h2.subtitle{
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(44px,8vw,96px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.card_5 h3.subtitle{
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(44px,8vw,96px);
    font-style: normal;
    font-weight: 400;
    line-height: 93px;
}
.card_5 h3.subtitle span{
    font-family: var(--font-Editorial);
    margin-right: 10px;
    font-style: italic;
    font-weight: 400;   
}


/* ====== CARD_6 ====== */
.card_6, .card_6::before{
    background-color:var(--card-6);
}
.card_6 h2.subtitle{
    color: var(--black);
    font-family: var(--font-Agrandir);
    font-size: clamp(44px,8vw,96px);
    font-style: normal;
    font-weight: 700;
    line-height: 96px;
}
.card_6 .lead {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-end;
}
.card_6 .lead p{
    margin-top: 48px;
}

.card_6 .lead div{
    max-width: 70vw;
    display: flex;
    flex-direction: column;
}
.card_6 a.button{
    width: max-content;
}


/* ====== CARD_7 ====== */
.card_7, .card_7::before{
    background-color:var(--card-7);
}
/* ====== CARD_8 ====== */
.card_8, .card_8::before{
    background-color:var(--card-8);
}

.dashed_line {
    display: block;
    position: relative;
    width: 100%;
    padding: 48px 0;
}
.dashed_line > span {
    height: 6px;
    background-color: #CFC4B8;
    width: 100%;
    transform: rotate(-7deg);
    display: block;
}



.hidden_part {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
}

.hidden_part.visible {
    max-height: 99999px; /* dopasuj do realnej wysokości lub daj dużą wartość */
    opacity: 1;
    overflow: visible;
    pointer-events: unset;
}

.lead_title{
    font-size:160px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    line-height: .8;

}
.lead_title span{
    display: block;
    position: relative;
    left: 50px;
}


/* 03.07.2025 */

.background_CFC4B8{
    background-color: #CFC4B8
}

.text_color_876C4D{
    color:#876C4D;
}

@media (prefers-color-scheme: dark) {
    .background_dark_000000{
        background-color:#000000;
    }
}






.card_7{
    transform: translateY(10vh);
}

.card_7 .subtitle{
    font-family: var(--font-Agrandir);
    font-size: 96px;
    font-style: normal;
    font-weight: 400;
    line-height: 175px;
}

.card_7 .kontakt{
    display: flex;
    flex-direction: column;
    gap: 72px;
    width: 100%;
    margin-top: 36px;
}
.card_7 .kontakt > div:nth-child(1){
    display: flex;
    flex-direction: column;
    gap:5px;
    font-size: 24px;
    font-family: var(--font-Agrandir);
    font-weight: 700;
    width: max-content;
    
}
.card_7 .kontakt > div:nth-child(1) a{
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--black);
    cursor: pointer;
    transition: .3s;
}
.card_7 .kontakt > div:nth-child(1) a:hover{
    letter-spacing: 2px;
}

.card_7 .kontakt h3{
    color: #000;
    font-family: var(--font-Agrandir);
    font-size: 96px;
    font-weight: 400;
    display: block;
}
.card_7 .kontakt img {
    display: block;
    aspect-ratio: 232 / 237;
    object-fit: cover;
    object-position: 0 60%;
    width: 100%;
    max-width: 232px;
    border-radius: 16px;
}

.card_7 .kontakt > div:nth-child(4) p {
    float: left;
}

.card_7 button{
    filter: brightness(0);
    width: max-content;
    float:left;
}

.card_8{
    transform: translateY(0vh);
}

.card_8 .card_lead{
    display: flex;
    flex-direction: column;
    gap: 72px;
}
.card_8 .subtitle{
    font-family: var(--font-Agrandir);
    font-size: 96px;
    font-style: normal;
    font-weight: 400;
    line-height: 175px; 
}
.card_8 button{
    filter: brightness(0);
    width: max-content;
    float:left;
}

.card_8 .content{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 72px;
    align-items: flex-start;
}

.card_8::before{
    height: 0;
    display: none;
    bottom: 0;
}

.card_8 .partner_1,
.card_8 .partner_2{
    display: inline-flex;
    gap: 6%;
}
.card_8 .partner_2{
    margin-left: 1%;
}

.card_8 img{
    max-height: 64px;
}


.card_8 footer{
    min-height: 130px;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 0 130px;
    align-items: flex-end;
    justify-content: center;
    z-index: 999
    ;
}
.card_8 footer a{
    color: #FB5F14;
    font-family: var(--font-Agrandir);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.06px;
    text-decoration: unset;
    transition: .2s;
}
.card_8 footer a:hover{
    letter-spacing: .5px;
}









/* 17.08.2025 */

.menu{
    position: relative;
}

.openmenuhidden{
    opacity: 0;
    pointer-events: none;
}
.menu_sections {
    position: absolute;
    background: #FFFFFF33;
    padding: 16px 16px 32px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    top: 0;
    right: 0;
    width: 365px;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(20px);
}
.menu_sections.active{
    opacity: 1;
    pointer-events: unset;
}
.menu_sections a{
    font-family: var(--font-Agrandir);
    font-weight: 700;
    font-style: Bold;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    color:#fff;
    text-decoration: unset;
}
.menu_sections a:hover{
    text-decoration: underline;  
}

.menu_button_close {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    cursor: pointer;
    margin-bottom: 16px;
}

.menu_button_close img {
    display: block;
    aspect-ratio: 1 / 1;
    max-width: 24px;
}

html { scroll-behavior: smooth; }

/* kompensata wprost z Twojej transformacji: translateY(5vh * var(--index)) */
.card { 
  scroll-margin-top: calc(5vh * var(--index) + var(--anchor-offset));
}


.card_3 .sc_4 .lead_text{
    align-items: flex-start;
}
.card_3 .sc_4 .lead_text p{
    align-self: flex-end;
}
.card_3 .sc_4 .dashed_line > span{
    background-color: #00000000;
    margin: 36px 0;
    transform:rotate(-5deg);
}
.card_3 .sc_4 .dashed_line > span > span{
    background-color: #000000;
}

.sc_4 .subtitle4_2{
    line-height: 10px;
    margin: 48px 0 12px 0;
}
.sc_4 .subtitle4_3{
    font-weight: 400;
}

.remix_gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 48px;
}
.remix_gallery img {
    display: block;
    aspect-ratio: 200/291;
    border-radius: 16px;
}
.remix_gallery div{
    display: flex;
    flex-direction: column;
    gap:30px;
}
.remix_button{
    font-size:24px;
    font-family: var(--font-Agrandir);
    font-weight: 700;
    color:#000;
    padding: 4px 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 60px;
    border: 1px solid #000;
    width: fit-content;
}

.menu_lang_switch{display: none;}
/* ***************************************************************** */
@media (max-width:764px){
/* ***************************************************************** */

.remix_button{
    font-size:14px;
}

.card {
    transform: translateY(calc(3.6vh * var(--index)));
    scroll-margin-top: calc(3.6vh * var(--index) + var(--anchor-offset));
}
.card_lead {
    padding: 86px 32px;
}
.sub_card {
    padding: 86px 32px;
}

.card_1 .card_lead .subtitle{
        font-size: min(11vw,86px);
}
.card_1 .card_lead .subtitle span {
    font-size: min(8vw, 62px);
    font-style:normal;
    font-weight: 700;
}
.card_1 .card_lead{
    gap:24px;
}
.dashed_line {
    margin: 0 0 64px 0;
}
.card_1 .sc_1 h3 {
    font-size: min(10vw, 72px);
}
.card_1 .sc_2{
    padding: 0 32px;
}
.card_1 .sc_2 h3 {
    font-size: min(10vw, 72px);
    padding: 32px 0 8px 0;
}


.card_1 .sc_4 .timeline_section {
    padding-top: 12px;
    border-top: 1px solid var(--black);
    display: flex;
    flex-direction: column;
}
.card_1 .sc_4 .timeline_section:first-child{
    border-top:unset;
}
.card_1 .sc_4 .year {
    font-size: min(10vw,80px);
    width: 100%;
    position: relative;
    top: 4px;
    margin-bottom: 32px;
}
.card_1 .sc_4 .timeline_section:nth-child(even) {
    margin-left: unset;
}
.card_1 .sc_4 .timeline_section:nth-child(odd) {
    margin-right: unset;
}

.card_lead .subtitle {
    font-size: clamp(72px, 112px, 112px);
    line-height: 144px;
}

.sub_card.sc_1{
    border-radius: 0;
    padding: 120px 32px;
}


.download_buttons {
    gap: 24px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
}
.download_buttons a {
    max-width: 33vw;
}

.card_6 .lead div{
    max-width: 99%;
}
.card_6 a.button{
    position:relative;
    left:24vw;
}

.card_7 .kontakt > div:nth-child(1) a {
    margin-top: 48px;
}

.card_8 footer{
    min-height: 80px;
}

/* ***************************************************************** */
}
/* ***************************************************************** */



/* ***************************************************************** */
@media(max-width:520px){
/* ***************************************************************** */
header .lang_switches{
display: none;
}
.menu_lang_switch{display: flex;gap:24px;}
.menu_lang_switch a {
    border: 1px solid #333;
    padding: 12px;
    border-radius: 14px;
}
.menu_lang_switch a.active{
    background:#333333cc;
}
header span:nth-child(1) {
    font-size: 20px;
}
header span:nth-child(2) {
    font-size: 12.2px;
    font-weight: 400;
}

header {
    padding: 40px 16px;
}

.card {
    transform: translateY(calc(2.4vh * var(--index)));
    scroll-margin-top: calc(2.4vh * var(--index) + var(--anchor-offset));
}
.card_lead {
    padding: 48px 16px;
}
.sub_card {
    padding: 48px 16px;
}

.card_1 .card_lead .subtitle {
    font-size: min(10vw, 41px);
}


.menu_sections {
    position: fixed;
    padding: 16px 16px 32px 16px;
    border-radius: 0;
    gap: 24px;
    width: 100%;
    height: 100%;
}
.menu_button_close {
    margin-bottom: 8px;
}

.menu_sections a {
    font-size: 22px;
    line-height: 100%;
}

.card_1 .card_lead .subtitle{
    line-height: 100%;
    gap: 16px;
}
.card_1 .card_lead .subtitle span {
    font-size: min(8vw, 32px);
}
.dashed_line {
    width: calc(100% + 32px);
    padding: 24px 0;
    left: -16px;
    margin-bottom: 16px;
}
.card_lead p {
    max-width: calc(100% - 16px);
    margin-right: unset;
    float: left;
}

.card_1 .sc_1 h3 {
    font-size: min(12vw, 48px);
    line-height: 120%;
    padding-bottom: 38px;
}
.sub_card.sc_1 {
    padding: 48px 16px;
}
.card_1 .sc_2 {
    min-height: 600px;
}
.card_1 .sc_2 h3 {
    font-size: min(13vw, 56px);
    padding: 8px 0 8px 0;
    line-height: 1;
}
.card_1 .sc_3 {
    background-image: url(/assets/img/card_1_sc_3.jpg);
    background-size: 110%;
    padding: 48px 16px 72px 16px;
}
.card_1 .sc_3 span{
    font-size: 16px;
    max-width: 64vw;
}
.card_1 .sc_4 .year {
    font-size: min(12vw, 48px);
    margin-bottom: 16px;
}
.card_1 .sc_4 .timeline {
    gap: 72px;
}
.sub_card.sc_4::after {
    position: absolute;
    bottom: -86px;
    width: 100%;
    height: calc(86px + 32px);
    background: #c1b3a2;
    content: "";
    left: 0;
}

.card_lead .subtitle {
    font-size: min(12vw, 48px);
    line-height: 1;
}
.card_lead button {
    padding: 4px 16px;
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0;
    gap: 12px;
}
.card_2 .sc_1 .gal_1 {
    grid-template-columns: 1fr;
    gap: 16px;
}
.card_2 .sc_1 .gal_2 {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
}
.card_2 .sc_1 .gal_1 .col {
    gap: 16px;
}
.card_2 .sub_card.sc_1::after{
    position: absolute;
    bottom: -86px;
    width: 100%;
    height: calc(86px + 32px);
    background: #fed9c6;
    content: "";
    left: 0;
}
.card_3 .subtitle2 {
    font-size: min(10vw, 32px);
    line-height: 1;
    margin-top: 24px;
}

.card_3 .sc_1 .column_gallery {
    column-count: 1;
}
.card_3 .sc_1 .column_gallery img {
    margin-bottom: 16px;
}
.card_3 .sc_3 .column_gallery {
    column-count: 1;
    column-gap: 16px;
}
.card_3 .sc_3 .column_gallery img {
    margin-bottom: 16px;
}
.sc_4 .dashed_line {
    padding: 24px 0;
    left: -16px;
    margin-bottom: 8px;
}
.card_3 .sc_4 .dashed_line > span {
    margin: 12px 0;
}
.card_3 .sc_4 .lead_text {
    align-items: flex-start;
    margin-top: 24px;
    margin-right: unset;
    gap: 12px;
}
.card_3 .subtitle2 {
    font-size: min(10vw, 32px);
    line-height: 1;
    margin-top: 8px;
}
.sc_4 .subtitle4_2 {
    line-height: 1;
    margin: 32px 0 1px 0;
}
.remix_gallery {
    grid-template-columns: 1fr;
    gap: 32px 32px;
}
.remix_gallery div {
    flex-direction: column;
    gap: 16px;
}
.card_4 h2.subtitle, .card_5 h2.subtitle {
    font-size: min(10vw,48px);
}
.card_4 h3.subtitle {
    font-size: min(10vw, 48px);
}
.card_4 h3.subtitle span, .card_5 h3.subtitle span {
    font-size: min(10vw, 48px);
    margin-right: 1px;
}
.download_buttons {
        gap: 12px;
        margin-top: 18px;
    }
.download_buttons a {
    max-width: 80vw;
}
.download_buttons a.button {
    margin:16px 0;
}
.card_5 h3.subtitle {
    line-height: 1;
}

.card_6 h2.subtitle {
    font-size: min(10vw, 48px);
    font-style: normal;
    line-height: 1;
}
.card_6 .lead p {
    margin-top: 24px;
    font-size:16px;
}
a.button {
    font-size: 18px;
    margin: 24px 0;
}
.card_7 .kontakt h3 {
    font-size: min(10vw, 48px);
    line-height: 1;
}
.card_8 .partner_1, .card_8 .partner_2 {
    display: inline-flex;
    gap: 24px;
    flex-wrap: wrap;
}
.card_8 img {
    max-height: 60px;
}
.card_8 .content {
    gap: 48px;
    align-items: flex-start;
}


.card_8 footer a {
    font-size: 18px;
}
.card_8 footer {
    padding: 0 16px;
}
/* ***************************************************************** */
}
/* ***************************************************************** */