/* Pagine legali statiche: Privacy / Termini — hero allineato a Contatti / Chi siamo */

.legal-page .about-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #527cb5 50%, #7ba3d4 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.legal-page .about-hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-page .about-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.legal-page .about-hero__shape--1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.legal-page .about-hero__shape--2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -60px;
}

.legal-page .about-hero__shape--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}

.legal-page .about-hero__breadcrumb .breadcrumb {
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
}

.legal-page .about-hero__breadcrumb .breadcrumb-item,
.legal-page .about-hero__breadcrumb .breadcrumb-item.active {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.legal-page .about-hero__breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-page .about-hero__breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.legal-page .about-hero__breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.legal-page .about-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.legal-page .about-hero__title {
    color: white;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.legal-page .about-hero__subtitle {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.legal-doc-section {
    padding: 60px 0 100px;
    background: #f8fafb;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.legal-doc {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06);
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
}

.legal-doc__titolo,
.legal-doc__section {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.legal-doc__titolo:first-child,
.legal-doc__section:first-child {
    margin-top: 0;
}

.legal-doc__article {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #2b4458;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.legal-doc__label {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #2b4458;
    font-size: 16px;
    font-weight: 700;
}

.legal-doc p {
    margin-bottom: 0.85rem;
}

.legal-doc__list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.legal-doc__list li {
    margin-bottom: 0.35rem;
}

.legal-doc__defs {
    margin: 0 0 1.25rem;
}

.legal-doc__defs dt {
    margin-top: 0.85rem;
    color: #2b4458;
    font-weight: 700;
}

.legal-doc__defs dd {
    margin-left: 0;
    margin-bottom: 0.35rem;
}

@media (max-width: 767.98px) {
    .legal-page .about-hero {
        padding: 80px 0 60px;
        min-height: 300px;
    }

    .legal-doc-section {
        padding: 48px 0 72px;
        margin-top: -24px;
    }

    .legal-doc {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .legal-doc__titolo,
    .legal-doc__section {
        font-size: 22px;
    }

    .legal-doc__article {
        font-size: 17px;
    }
}
