/* Hero Section Home */
.hero-section--home {
    background-image: var(--hero-desktop);
    background-position: right center;
    background-size: cover;
}

.hero-mobile-media {
    display: none;
}

/* Hero Title Splitting */
.hero-title__p {
    /* Eran <p> dentro del <h1>, HTML invalido: el navegador cerraba el
       encabezado antes de tiempo. Ahora son <span> y este display
       conserva el salto de linea del titular. */
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 5.8vw, 4.8rem);
    line-height: 0.92;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-title__p--white {
    color: #FFFFFF;
    margin-bottom: 0.15rem;
}

.hero-title__p--red {
    color: var(--color-primary);
}

/* Sección: Ellos Nos Respaldan (Certificaciones) */
.trust-section {
    background-color: #F7F7F8;
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.trust-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    color: #111111;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-heading em {
    font-style: normal;
    color: var(--color-primary);
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 3.5rem);
    flex-wrap: wrap;
}

.trust-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.trust-logo {
    height: clamp(55px, 6vw, 75px);
    max-height: 75px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}
.trust-card:hover .trust-logo {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-section--home {
        background-image: var(--hero-mobile) !important;
        background-position: center top !important;
        background-size: cover !important;
        padding-top: 3rem;
        padding-bottom: 0 !important;
        min-height: auto;
    }

    .hero-section--home .hero-section__container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-mobile-media {
        display: block;
        margin-top: 1.8rem;
        margin-bottom: 0 !important;
        line-height: 0;
        width: 100%;
        text-align: center;
    }

    .hero-mobile-media__img {
        max-width: 100%;
        height: auto;
        margin-inline: auto;
        margin-bottom: 0 !important;
        vertical-align: bottom;
        display: block;
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
    }

    .trust-grid {
        gap: 1.5rem;
    }

    .trust-logo {
        height: clamp(45px, 11vw, 60px);
        max-width: 160px;
    }
}