/* =====================================================
   HERO
   ===================================================== */
.storia-hero {
    padding-bottom: 70px;
}

.storia-hero__inner {
    width: 82%;
    margin: 0 auto;
    padding-top: 60px;
    display: flex;
    align-items: center;
    gap: 72px;
}

.storia-hero__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.storia-hero__title {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0;
    color: var(--clr-dark);
}

.storia-hero__desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 480px;
    margin: 0;
}

.storia-hero__img {
    flex: 0 0 60%;
    border-radius: 20px;
    overflow: hidden;
}

.storia-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   STORIA ITEM (testo + immagine dentro section-block)
   ===================================================== */
.storia-item {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.storia-item:last-child {
    margin-bottom: 0;
}

.storia-item--img-left {
    flex-direction: row;
}

.storia-item--img-right {
    flex-direction: row-reverse;
}

.storia-item__image {
    flex: 0 0 42%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.storia-item__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.storia-item:hover .storia-item__image img {
    transform: scale(1.04);
}

/* =====================================================
   MOBILE
   ===================================================== */
@media screen and (max-width: 800px) {
    .storia-hero__inner {
        flex-direction: column;
        width: 90%;
        padding-top: 30px;
        gap: 32px;
    }

    .storia-hero__title {
        font-size: clamp(36px, 9vw, 48px);
    }

    .storia-hero__img {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

    .storia-item,
    .storia-item--img-left,
    .storia-item--img-right {
        flex-direction: column;
        gap: 20px;
    }

    .storia-item__image {
        flex: none;
        width: 100%;
    }
}
