﻿/* ---------------------------------------------
   HERO CHI SIAMO – PARALLAX
--------------------------------------------- */

.cs-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: -116px;
    color: #ffffff;
    background-color: #f5f9fc;
    background-image: url('/images/wallpaper/chi-siamo-cestriecon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cs-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 100px;
    text-align: center;
}

.cs-hero-title {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.cs-hero-subtitle {
    font-size: 1.55rem;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ---------------------------------------------
   SEZIONI GENERALI
--------------------------------------------- */

.cs-section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #07020d;
}

.cs-section-intro {
    font-size: 1rem;
    color: #3b3542;
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

/* ---------------------------------------------
   CHI SIAMO
--------------------------------------------- */
.about-cestriecon {
    padding: 70px 0;
    margin: 5px 0;
}

/* ---------------------------------------------
   MISSION
--------------------------------------------- */

.cs-mission {
    padding: 100px 0;
    margin: 0;
    background: var(--brand-markedblue);
}

.cs-mission-cards {
    margin-top: 2.5rem;
    row-gap: 1.5rem;
}

.cs-mission-card {
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #dbdbdb;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .cs-mission-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        border-color: var(--brand-lightblue);
    }

.cs-mission-icon {
    font-size: 2.4rem;
    color: var(--brand-darkblue);
    margin-bottom: 12px;
}

.cs-mission-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #07020d;
}

.cs-mission-card p {
    font-size: 0.96rem;
    color: #3b3542;
    margin: 0;
}

/* ---------------------------------------------
   BIO
--------------------------------------------- */

.cs-bio {
    padding: 70px 0;
    margin: 100px 0;
    background: #ffffff;
}

.cs-bio-card {
    background: #f5f9fc;
    border-radius: 0;
    border: 1px solid #dbdbdb;
    padding: 30px 26px;
}

.cs-bio-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3b3542;
    margin-bottom: 12px;
}

.cs-bio-text {
    font-size: 0.98rem;
    color: #3b3542;
    margin-bottom: 10px;
}

/* ---------------------------------------------
   TIMELINE
--------------------------------------------- */

.cs-timeline {
    padding-left: 10px;
}

.cs-timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #07020d;
}

.cs-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #dbdbdb;
}

    .cs-timeline-list li {
        position: relative;
        padding-left: 60px;
        margin-bottom: 55px; /* aumenta lo spazio verticale */
    }

.cs-timeline-icon {
    position: absolute;
    background: #fff;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cs-timeline-icon i {
        font-size: 22px;
        color: #333;
    }

.cs-timeline-year {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.cs-timeline-list p {
    line-height: 1.7;
    font-size: 17px;
}


/* ---------------------------------------------
   CTA
--------------------------------------------- */

.cs-cta {
    padding: 70px 0;
    margin: 100px 0 0;
    background: var(--brand-middleblue);
}

.cs-cta-btn {
    margin-top: 10px;
}

/* ---------------------------------------------
   RESPONSIVE
--------------------------------------------- */

@media (max-width: 991px) {
    .cs-hero-section {
        min-height: 70vh;
        background-attachment: scroll;
        background-position: center top;
    }

    .cs-hero-content {
        padding: 100px 0 80px;
    }

    .cs-bio {
        padding: 60px 0;
    }

    .cs-timeline {
        margin-top: 20px;
        padding-left: 0;
    }

    .cs-timeline-list {
        border-left: none;
    }

        .cs-timeline-list li::before {
            left: 0;
        }
}

@media (max-width: 575px) {
    .cs-hero-content {
        padding: 90px 0 70px;
    }

    .cs-hero-title {
        font-size: 2rem;
    }

    .cs-hero-subtitle {
        font-size: 0.98rem;
    }

    .cs-section-title {
        font-size: 1.6rem;
    }
}
