/*
 * ============================================================
 *  step-0.css  —  Homepage / schermata iniziale
 * ============================================================
 */

.ctp-home {
    height: 100%;
    max-width: 1320px!important;
    width: 100%;
    display: flex;
    background: #fff;
    border-radius: 9px;
    padding: 0;
    @media (max-width: 768px) {
        flex-direction: column;
    }
}

/* ── colonna sinistra ── */
.ctp-home__content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60%;
    @media (max-width: 768px) {
        padding: 24px;
        width: 100%;
    }
}

.ctp-home__title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--dark-brown);
}

.ctp-home__desc {
    font-family: var(--font-ui);
    font-size: 18px; font-weight: 300;
    line-height: 1.78;
    margin-bottom: 32px;
    max-width: 100%;
    color: var(--brown-text-color);
    @media (max-width: 768px) {
        margin-bottom: 10px;
    }
}

.ctp-home__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}
.ctp-home__feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: #F5F0EA;
    transition: background 0.2s;
}
.ctp-home__feature-icon  { font-size: 18px; flex-shrink: 0; line-height: 1; }
.ctp-home__feature strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 16px; font-weight: 600;
    margin-bottom: 3px;
}
.ctp-home__feature p {
    font-family: var(--font-ui);
    font-size: 16px; font-weight: 300;
    opacity: 0.72; line-height: 1.5;
}

.ctp-home__disclaimer {
    font-family: var(--font-ui);
    font-size: 16px; font-weight: 300;
    opacity: 0.52;
    margin-top: 10px;
    text-align: center;
}

.ctp-home__stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
    @media (max-width: 768px) {
       gap: 10px;
    }
    .ctp-home__stat {
        width: 25%;
        border: 1px solid;
        padding: 10px 30px;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        @media (max-width: 768px) {
           width: 48%;
        }
    }
}
.ctp-home__stat { text-align: center; }
.ctp-home__stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 700;
}
.ctp-home__stat span {
    font-family: var(--font-ui);
    font-size: 9px; font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.58;
}

/* ── colonna destra: galleria ── */
.ctp-home__gallery {
    position: relative;
    overflow: hidden;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    margin-right: 30px;
    @media (max-width: 768px) {
        width: 95%;
        height: 400px;
        padding-left: 15px;
    }
    img.first, img.last {
        height: 260px;
        object-fit: cover;
        @media (max-width: 768px) {
            height: 130px;
        }
    }
    img.first{
        border-radius: 0 0 15px 15px;
    }
    img.last{
        border-radius: 15px 15px 0 0;
    }
    .center-box{
        height: 100%;
        img.center {
            width: 49%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px;
        }
    }
}

