/* Metalogix.ai — Enterprise legal / trust page heroes */

.mx-legal-hero {
    position: relative;
    min-height: 420px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #050c1e;
}

.mx-legal-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    animation: mxLegalHeroMotion 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes mxLegalHeroMotion {
    from { transform: scale(1.03); }
    to   { transform: scale(1.06); }
}

.mx-legal-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(5, 12, 30, 0.72),
        rgba(5, 12, 30, 0.78)
    );
    z-index: 1;
}

.mx-legal-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 56px 15px;
    text-align: left;
}

.mx-legal-hero__breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.mx-legal-hero__breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.mx-legal-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mx-legal-hero__breadcrumb a:hover {
    color: #F5B301;
}

.mx-legal-hero__title {
    font-size: clamp(30px, 4.2vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    max-width: 720px;
}

.mx-legal-hero__subtitle {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 600px;
}

@media (max-width: 767px) {
    .mx-legal-hero {
        min-height: 300px;
    }

    .mx-legal-hero .container {
        padding: 40px 15px;
    }

    .mx-legal-hero__breadcrumb {
        margin-bottom: 14px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mx-legal-hero__bg {
        animation: none;
        transform: scale(1.03);
    }
}
