
:root {
    --primary-color: #4A40D8;
    --secondary-color: #CEFF70;
    --text-color: #2b2b2b;
    --light-text-color: #707070;
    --bg-color: #fff;
    --section-bg-light: #fafaff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: linear-gradient(110deg, #fdfdff 0%, #f0f4f8 100%);
    letter-spacing: -0.5px;

}

.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    margin-bottom: 0.8em;
    color: var(--primary-color);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; color: var(--text-color); }

h1, h2, h3 {
    font-family: "Syne", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

header {
    background-color: var(--bg-color);
    background-image: linear-gradient(110deg, #fdfdff 0%, #f0f4f8 100%);
    padding-top:0;
    margin-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 40px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--text-color);
    /*font-weight: 600;*/
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info .phone-number {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
}


.contact-info .working-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 8px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
}

.btn-primary:hover {
    background-color: #b0e060;
}


#hero {
    padding: 40px 0;
    background-color: var(--section-bg-light);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: var(--text-color);
    margin-bottom: 0.5em;
}

.hero-text p {
    margin-bottom: 3px;
    color: var(--light-text-color);
}

.hero-text .small-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 8px;
}

.hero-image-area {
    flex: 1;
    text-align: center;
}

.hero-image-area h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.image-container {
    position: relative;
    display: inline-block;
}
.image-container img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.etapa {
    position: absolute;
    /*background-color: rgba(255, 255, 255, 0.9);*/
    background-color: #F3FFD8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    color: var(--text-color);
}
.etapa small {
    display: block;
    font-weight: normal;
    color: var(--light-text-color);
    font-size: 0.9em;
}

.etapa-3 {
    top: 20px;
    left: -30px;
    border: 4px solid #CEFF70;
}
.etapa-1-2 {
    top: 20px;
    right: -30px;
    border: 4px solid #efefef;
}
.etapa-4 {
    bottom: 20px;
    right: -30px;
    border: 4px solid rgba(74, 64, 216, 0.73);
}



#why-invest {
    padding: 32px 0;
    text-align: center;
    background-color: #efefef;
}

#why-invest h2 {
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.feature-item {
    padding: 8px;
    text-align: center;

}

.feature-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;

}

.feature-item h3 {
    font-size: 1.0rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--light-text-color);
}


#guarantee {
    padding: 60px 0;
    background-color: var(--section-bg-light);
}

.guarantee-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.guarantee-text {
    flex: 1.5;
}
.guarantee-text h2 {
    color: var(--text-color);
}
.guarantee-text .highlight-text {
    background-color: var(--secondary-color);
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 20px;
    border-radius: 3px;
    font-weight: 600;
}

.guarantee-text p {
    margin-bottom: 1em;
    color: var(--light-text-color);
}
.guarantee-text p strong {
    color: var(--text-color);
}

.guarantee-image {
    flex: 1;
}
.guarantee-image img {
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
    max-height: 450px;
}


#funds-usage {
    background-color: var(--primary-color);
    color: #fff;
    padding: 32px 0;
    text-align: center;
    font-weight: 600;
}

#funds-usage h2 {
    color: #CEFF70;
    margin-bottom: 16px;
    font-weight: 700;
}

#funds-usage p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1em auto;
}

footer {
    background-color: #efefef;
    padding: 50px 0;

}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

}

.footer-text h2 {
    font-size: 2.2rem;
    color: white;
    line-height: 1.2;
}

.footer-logos {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.footer-logos img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.footer-logos img:hover {
    opacity: 1;
}
.hero-content {
    display: flex;
    align-items: flex-start;
}


#bq, .bq {
    position: relative;
}

#bq::before, .bq::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 5px;
    background-color: #CEFF70;
}

.scrolled {
    padding: 0.32rem 0;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.scrolled img {
    max-height: 32px;
    width: auto;
    object-fit: contain;

}

.bolder {
    font-weight: 700;
}

.bbb {
    border: 1px solid red;
}

.gbr {
    background: linear-gradient(to right, #ffffff 0%, #ffffff 45%, rgba(112,112,112,0.16) 55%, rgba(112,112,112,0.32) 100%);
    margin-top: 8px;
    display: none;
}



@media (max-width: 992px) {
    .hero-content,
    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-area,
    .guarantee-image {
        margin-top: 30px;
        width: 100%;
    }
    .etapa {
        position: absolute;
        display: block;
        width: fit-content;
    }

    .etapa-3 {
        top: 10px;
        left: 10px;
    }
    .etapa-1-2 {
        top: 10px;
        right: 10px;
    }
    .etapa-4 {
        bottom: 10px;
        right: 10px;
    }
    .hero-image-area .image-container {
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    header nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    header nav.active {
        display: block;
    }
    header nav ul {
        flex-direction: column;
    }
    header nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    .contact-info {
        order: 2;
    }
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }

    header .logo { flex-basis: auto; }
    .contact-info { flex-basis: 100%; order: 3; justify-content: center; margin-top: 10px;} /* Kontakt info pod logo a toggle */
    header nav { order: 4; }


    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-image-area h2 { font-size: 2.0rem; }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 576px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-info .phone-number {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-logos {
        gap: 16px
    }
}

