.acerca-container {
    width: 1300px;
    max-width: 90%;
    margin: 0 auto;
    padding: 60px 0;
    color: #fff;
}

.bloque {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.18);
}

.bloque:last-child {
    border-bottom: 0;
}

.bloque.invertido {
    grid-template-columns: .9fr 1.1fr;
}

.texto {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.texto h1,
.texto h2 {
    margin: 0 auto;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: center;
}



.texto p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 640px;
    width: 90%;
    margin:  0 auto;
}

.imagen {
    margin: 0 auto;
    width: 90%;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.22);
    background: #080808;
}

.imagen img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}

.bloque:nth-child(odd) .imagen {
    border-color: rgba(255, 193, 7, 0.3);
}

.bloque:nth-child(even) {
    background: rgba(255, 193, 7, 0.025);
    padding-inline: 28px;
}

.bloque:not(:has(.imagen)) {
    display: block;
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    padding: 40px;
    background: transparent;
}

.bloque:not(:has(.imagen)) .texto p {
    max-width: 900px;
}

@media (max-width: 850px) {
    .acerca-container {
        width: min(100% - 24px, 640px);
        padding: 36px 0;
    }

    .bloque,
    .bloque.invertido {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0;
    }

    .bloque.invertido .imagen {
        order: 2;
    }

    .bloque.invertido .texto {
        order: 1;
    }

    .bloque:nth-child(even) {
        padding-inline: 20px;
    }

    .imagen img {
        height: 260px;
    }

    .bloque:not(:has(.imagen)) {
        padding: 28px 22px;
    }
    
    h2{
        font-size: 20px;
    }
}

@media (max-width: 850px) {
    h1{
        font-size:17px;
    }
    h2{
        font-size: 10px;
    }
    
}