.contenedor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Para que se acomoden en móviles */
    gap: 20px;
    text-align: center;
    margin: 20px;
}

.bloque {
    flex: 1 1 300px;
    /* mínimo 300px y luego se expande */
    max-width: 400px;
}

.bloque img {
    width: 100%;
    height: auto;
}

.bloque h2 {
    margin-top: -2rem;
    /* Ajusta superposición */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    transform: translateY(-140px);
}

.bloque h2.azul {
    color: #4169E1;
    letter-spacing: 8px;
    font-size: 1.8rem;
}

/* 📱 Ajustes para móviles */
@media (max-width: 768px) {
    .bloque h2 {
        margin-top: -1rem;
        font-size: 1rem;
        transform: translateY(-60px);
    }


    .bloque h2.azul {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
}


.menu-sub {

    background-color: rgb(250, 247, 230);
    position: relative;
    overflow: hidden;

}

.menu-sub {
    position: relative;
    min-height: 500px;
    max-height: 500px;
    /* Ajusta al contenido real */
    overflow: hidden;
}

/* Estilo general */
.menu-sub svg {
    position: absolute;
    opacity: 0.7;
    fill: currentColor;
}

/* Triángulo */
.triangle {
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    color: transparent;
    opacity: 0.2;
    transform: rotate(12deg);
}

/* Cuadrados */
.square {
    width: 220px;
    height: 220px;
    color: red;

    transform: rotate(45deg);
}

.square.s1 {
    bottom: 20px;
    left: -120px;
    /* height: 400px; */
    transform: rotate(85deg);
}

.square.s2 {
    bottom: -100px;
    left: -30px;
    transform: rotate(85deg);

}



.square.s3 {
    bottom: -120px;
    left: 145px;
    transform: rotate(85deg);
    color: #4169E1;

}


/* Círculo */
.circle {
    bottom: -50px;
    right: -30px;
    width: 60px;
    height: 60px;
    color: #fbcfe8;
    /* rosado */
    opacity: 0.4;
    transform: rotate(6deg);
}